
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original name: write<64, false>
   DWARF original prototype: section_offset_type write<64,_false>(Cie * this, uchar * oview,
   section_offset_type output_offset, section_offset_type offset, uint64_t address, uint addralign,
   Eh_frame_hdr * eh_frame_hdr, Post_fdes * post_fdes) */

section_offset_type __thiscall
gold::Cie::write<64,_false>
          (Cie *this,uchar *oview,section_offset_type output_offset,section_offset_type offset,
          uint64_t address,uint addralign,Eh_frame_hdr *eh_frame_hdr,Post_fdes *post_fdes)

{
  uint uVar1;
  uchar *puVar2;
  uchar fde_encoding;
  size_t __n;
  Fde *this_00;
  int offset_00;
  uint uVar3;
  pointer ppFVar4;
  Post_fde local_28 [2];
  
  if ((addralign - 1 & offset) != 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/ehframe.cc",0x1e4,"write");
  }
  __n = (this->contents_)._M_string_length;
  uVar1 = __n + 8;
  if (addralign == 0) {
    *(size_t *)(oview + offset) = __n + 4;
    puVar2 = oview + offset + 4;
    puVar2[0] = '\0';
    puVar2[1] = '\0';
    puVar2[2] = '\0';
    puVar2[3] = '\0';
    memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);
    uVar3 = uVar1;
  }
  else {
    uVar3 = -addralign & __n + 7 + addralign;
    puVar2 = oview + offset + 4;
    puVar2[0] = '\0';
    puVar2[1] = '\0';
    puVar2[2] = '\0';
    puVar2[3] = '\0';
    *(uint *)(oview + offset) = uVar3 - 4;
    memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);
    if (uVar1 < uVar3) {
      memset(oview + uVar1 + offset,0,(uVar3 - __n) - 8);
    }
  }
  fde_encoding = this->fde_encoding_;
  offset_00 = offset + uVar3;
  ppFVar4 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.
            _M_start;
  if (ppFVar4 !=
      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish) {
    do {
      while ((this_00 = *ppFVar4, this_00->object_ == (Relobj *)0x0 &&
             ((this_00->u_).from_linker.post_map != false))) {
        ppFVar4 = ppFVar4 + 1;
        local_28[0].cie_offset = offset;
        local_28[0].fde = this_00;
        local_28[0].fde_encoding = fde_encoding;
        std::vector<gold::Post_fde,_std::allocator<gold::Post_fde>_>::emplace_back<gold::Post_fde>
                  (post_fdes,local_28);
        if ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.
            _M_finish == ppFVar4) {
          return offset_00;
        }
      }
      ppFVar4 = ppFVar4 + 1;
      offset_00 = Fde::write<64,_false>
                            (this_00,oview,output_offset,offset_00,address,addralign,offset,
                             fde_encoding,eh_frame_hdr);
    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.
             _M_finish != ppFVar4);
  }
  return offset_00;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_00150a20(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,
                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)

{
  uint uVar1;
  undefined1 uVar2;
  size_t __n;
  int *piVar3;
  int iVar4;
  uint uVar5;
  int *piVar6;
  int *local_28;
  uint local_24;
  undefined1 local_20;
  
  if ((param_7 - 1U & param_4) != 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);
  }
  __n = *(size_t *)(param_1 + 0x38);
  uVar1 = __n + 8;
  if (param_7 == 0) {
    *(size_t *)(param_2 + param_4) = __n + 4;
    *(undefined4 *)(param_2 + 4 + param_4) = 0;
    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);
    uVar5 = uVar1;
  }
  else {
    uVar5 = -param_7 & __n + 7 + param_7;
    *(undefined4 *)(param_2 + 4 + param_4) = 0;
    *(uint *)(param_2 + param_4) = uVar5 - 4;
    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);
    if (uVar1 < uVar5) {
      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);
    }
  }
  uVar2 = *(undefined1 *)(param_1 + 0xc);
  iVar4 = param_4 + uVar5;
  piVar6 = *(int **)(param_1 + 0x28);
  if (piVar6 != *(int **)(param_1 + 0x2c)) {
    do {
      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {
        piVar6 = piVar6 + 1;
        local_24 = param_4;
        local_28 = piVar3;
        local_20 = uVar2;
        FUN_001505e0(param_9,&local_28);
        if (*(int **)(param_1 + 0x2c) == piVar6) {
          return;
        }
      }
      piVar6 = piVar6 + 1;
      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,
                           param_8);
    } while (*(int **)(param_1 + 0x2c) != piVar6);
  }
  return;
}


CALL 0x0004fb76
ADD EAX,0x1b15db
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x3c
MOV EDX,dword ptr [ESP + 0x64]
MOV EDI,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x60]
MOV ESI,dword ptr [ESP + 0x50]
MOV dword ptr [ESP + 0xc],EDX
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x68]
SUB EAX,0x1
TEST EAX,EDI
JNZ 0x00150bc4
MOV EBP,dword ptr [ESI + 0x38]
MOV EBX,dword ptr [ESP + 0x68]
MOV ECX,dword ptr [ESP + 0x68]
LEA EDX,[EBP + 0x8]
MOV dword ptr [ESP + 0x18],EDX
MOV EAX,EDX
TEST EBX,EBX
JNZ 0x00150b50
MOV EDX,dword ptr [ESP + 0x54]
LEA EAX,[EBP + 0x4]
SUB ESP,0x4
MOV dword ptr [EDX + EDI*0x1],EAX
LEA EAX,[EDX + EDI*0x1 + 0x8]
MOV dword ptr [EDX + EDI*0x1 + 0x4],0x0
PUSH EBP
PUSH dword ptr [ESI + 0x34]
PUSH EAX
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x000265c0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x18]
MOVZX EDX,byte ptr [ESI + 0xc]
LEA EAX,[EDI + ECX*0x1]
MOV EBP,dword ptr [ESI + 0x28]
MOV byte ptr [ESP + 0x18],DL
CMP EBP,dword ptr [ESI + 0x2c]
JZ 0x00150b41
MOVZX EBX,DL
LEA EDX,[ESP + 0x24]
MOV dword ptr [ESP + 0x1c],EDX
MOV EDX,EBX
MOV EBX,EBP
MOV EBP,EDX
JMP 0x00150aff
SUB ESP,0x8
ADD EBX,0x4
PUSH dword ptr [ESP + 0x74]
PUSH EBP
PUSH EDI
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x24]
PUSH EAX
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x7c]
PUSH ECX
CALL 0x0014f120
ADD ESP,0x30
CMP dword ptr [ESI + 0x2c],EBX
JZ 0x00150b41
MOV ECX,dword ptr [EBX]
MOV EDX,dword ptr [ECX]
TEST EDX,EDX
JNZ 0x00150ad0
CMP byte ptr [ECX + 0x8],0x0
JZ 0x00150ad0
MOV dword ptr [ESP + 0x14],EAX
MOVZX EAX,byte ptr [ESP + 0x18]
SUB ESP,0x8
ADD EBX,0x4
MOV dword ptr [ESP + 0x2c],ECX
MOV dword ptr [ESP + 0x30],EDI
MOV byte ptr [ESP + 0x34],AL
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x7c]
CALL 0x001505e0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x14]
CMP dword ptr [ESI + 0x2c],EBX
JNZ 0x00150aff
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EAX,-0x1
MOV EBX,dword ptr [ESP + 0x54]
ADD EAX,ECX
NEG ECX
SUB ESP,0x4
AND ECX,EAX
MOV dword ptr [EBX + EDI*0x1 + 0x4],0x0
LEA EAX,[ECX + -0x4]
MOV dword ptr [ESP + 0x20],ECX
MOV dword ptr [EBX + EDI*0x1],EAX
LEA EAX,[EBX + EDI*0x1 + 0x8]
PUSH EBP
PUSH dword ptr [ESI + 0x34]
PUSH EAX
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x000265c0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
MOV ECX,dword ptr [ESP + 0x1c]
CMP EDX,ECX
JNC 0x00150aa6
MOV EAX,ECX
MOV dword ptr [ESP + 0x18],ECX
ADD EDX,EDI
SUB ESP,0x4
SUB EAX,EBP
ADD EDX,dword ptr [ESP + 0x58]
SUB EAX,0x8
PUSH EAX
PUSH 0x0
PUSH EDX
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x000262f0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x18]
JMP 0x00150aa6
PUSH ESI
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xfff338dc]
PUSH EAX
LEA EAX,[EBX + 0xfff337df]
PUSH 0x1e4
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00150a20(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  size_t __n;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *local_28;\n  uint local_24;\n  undefined1 local_20;\n  \n  if ((param_7 - 1U & param_4) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }\n  __n = *(size_t *)(param_1 + 0x38);\n  uVar1 = __n + 8;\n  if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }\n  uVar2 = *(undefined1 *)(param_1 + 0xc);\n  iVar4 = param_4 + uVar5;\n  piVar6 = *(int **)(param_1 + 0x28);\n  if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00150a20(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  size_t __n;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *local_28;\n  uint local_24;\n  undefined1 local_20;\n  \n  if ((param_7 - 1U & param_4) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }\n  __n = *(size_t *)(param_1 + 0x38);\n  uVar1 = __n + 8;\n  if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }\n  uVar2 = *(undefined1 *)(param_1 + 0xc);\n  iVar4 = param_4 + uVar5;\n  piVar6 = *(int **)(param_1 + 0x28);\n  if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00150a20(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined1 uVar2;\n  size_t __n;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *local_28;\n  uint local_24;\n  undefined1 local_20;\n  \n  if ((param_7 - 1U & param_4) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }\n  __n = *(size_t *)(param_1 + 0x38);\n  uVar1 = __n + 8;\n  if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }\n  uVar2 = *(undefined1 *)(param_1 + 0xc);\n  iVar4 = param_4 + uVar5;\n  piVar6 = *(int **)(param_1 + 0x28);\n  if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "undefined1 local_20;" type_identifier identifier ;) (if_statement "if ((param_7 - 1U & param_4) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }" if (parenthesized_expression "((param_7 - 1U & param_4) != 0)" ( (binary_expression "(param_7 - 1U & param_4) != 0" (parenthesized_expression "(param_7 - 1U & param_4)" ( (binary_expression "param_7 - 1U & param_4" (binary_expression "param_7 - 1U" identifier - number_literal) & identifier) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }" { comment (expression_statement "FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);" (call_expression "FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1)" identifier (argument_list "("../../gold/ehframe.cc",0x1e4,"write",param_1)" ( (string_literal ""../../gold/ehframe.cc"" " string_content ") , number_literal , (string_literal ""write"" " string_content ") , identifier ))) ;) })) (expression_statement "__n = *(size_t *)(param_1 + 0x38);" (assignment_expression "__n = *(size_t *)(param_1 + 0x38)" identifier = (pointer_expression "*(size_t *)(param_1 + 0x38)" * (cast_expression "(size_t *)(param_1 + 0x38)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = __n + 8;" (assignment_expression "uVar1 = __n + 8" identifier = (binary_expression "__n + 8" identifier + number_literal)) ;) (if_statement "if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }" { (expression_statement "*(size_t *)(param_2 + param_4) = __n + 4;" (assignment_expression "*(size_t *)(param_2 + param_4) = __n + 4" (pointer_expression "*(size_t *)(param_2 + param_4)" * (cast_expression "(size_t *)(param_2 + param_4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_4)" ( (binary_expression "param_2 + param_4" identifier + identifier) )))) = (binary_expression "__n + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_2 + 4 + param_4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4 + param_4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4 + param_4)" * (cast_expression "(undefined4 *)(param_2 + 4 + param_4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4 + param_4)" ( (binary_expression "param_2 + 4 + param_4" (binary_expression "param_2 + 4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);" (call_expression "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" identifier (argument_list "((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" ( (cast_expression "(void *)(param_2 + 8 + param_4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8 + param_4)" ( (binary_expression "param_2 + 8 + param_4" (binary_expression "param_2 + 8" identifier + number_literal) + identifier) ))) , (pointer_expression "*(void **)(param_1 + 0x34)" * (cast_expression "(void **)(param_1 + 0x34)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "uVar5 = uVar1;" (assignment_expression "uVar5 = uVar1" identifier = identifier) ;) }) (else_clause "else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }" else (compound_statement "{\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }" { (expression_statement "uVar5 = -param_7 & __n + 7 + param_7;" (assignment_expression "uVar5 = -param_7 & __n + 7 + param_7" identifier = (binary_expression "-param_7 & __n + 7 + param_7" (unary_expression "-param_7" - identifier) & (binary_expression "__n + 7 + param_7" (binary_expression "__n + 7" identifier + number_literal) + identifier))) ;) (expression_statement "*(undefined4 *)(param_2 + 4 + param_4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4 + param_4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4 + param_4)" * (cast_expression "(undefined4 *)(param_2 + 4 + param_4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4 + param_4)" ( (binary_expression "param_2 + 4 + param_4" (binary_expression "param_2 + 4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(uint *)(param_2 + param_4) = uVar5 - 4;" (assignment_expression "*(uint *)(param_2 + param_4) = uVar5 - 4" (pointer_expression "*(uint *)(param_2 + param_4)" * (cast_expression "(uint *)(param_2 + param_4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_4)" ( (binary_expression "param_2 + param_4" identifier + identifier) )))) = (binary_expression "uVar5 - 4" identifier - number_literal)) ;) (expression_statement "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);" (call_expression "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" identifier (argument_list "((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" ( (cast_expression "(void *)(param_2 + 8 + param_4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8 + param_4)" ( (binary_expression "param_2 + 8 + param_4" (binary_expression "param_2 + 8" identifier + number_literal) + identifier) ))) , (pointer_expression "*(void **)(param_1 + 0x34)" * (cast_expression "(void **)(param_1 + 0x34)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) , identifier ))) ;) (if_statement "if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }" if (parenthesized_expression "(uVar1 < uVar5)" ( (binary_expression "uVar1 < uVar5" identifier < identifier) )) (compound_statement "{\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }" { (expression_statement "memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);" (call_expression "memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8)" identifier (argument_list "((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8)" ( (cast_expression "(void *)(uVar1 + param_4 + param_2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar1 + param_4 + param_2)" ( (binary_expression "uVar1 + param_4 + param_2" (binary_expression "uVar1 + param_4" identifier + identifier) + identifier) ))) , number_literal , (binary_expression "(uVar5 - __n) - 8" (parenthesized_expression "(uVar5 - __n)" ( (binary_expression "uVar5 - __n" identifier - identifier) )) - number_literal) ))) ;) })) }))) (expression_statement "uVar2 = *(undefined1 *)(param_1 + 0xc);" (assignment_expression "uVar2 = *(undefined1 *)(param_1 + 0xc)" identifier = (pointer_expression "*(undefined1 *)(param_1 + 0xc)" * (cast_expression "(undefined1 *)(param_1 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = param_4 + uVar5;" (assignment_expression "iVar4 = param_4 + uVar5" identifier = (binary_expression "param_4 + uVar5" identifier + identifier)) ;) (expression_statement "piVar6 = *(int **)(param_1 + 0x28);" (assignment_expression "piVar6 = *(int **)(param_1 + 0x28)" identifier = (pointer_expression "*(int **)(param_1 + 0x28)" * (cast_expression "(int **)(param_1 + 0x28)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }" if (parenthesized_expression "(piVar6 != *(int **)(param_1 + 0x2c))" ( (binary_expression "piVar6 != *(int **)(param_1 + 0x2c)" identifier != (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }" { (do_statement "do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);" do (compound_statement "{\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    }" { (while_statement "while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }" while (parenthesized_expression "((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0')))" ( (parenthesized_expression "(piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))" ( (comma_expression "piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0')" (assignment_expression "piVar3 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) , (binary_expression "*piVar3 == 0 && ((char)piVar3[2] != '\0')" (binary_expression "*piVar3 == 0" (pointer_expression "*piVar3" * identifier) == number_literal) && (parenthesized_expression "((char)piVar3[2] != '\0')" ( (binary_expression "(char)piVar3[2] != '\0'" (cast_expression "(char)piVar3[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )))) )) )) (compound_statement "{\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }" { (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "local_24 = param_4;" (assignment_expression "local_24 = param_4" identifier = identifier) ;) (expression_statement "local_28 = piVar3;" (assignment_expression "local_28 = piVar3" identifier = identifier) ;) (expression_statement "local_20 = uVar2;" (assignment_expression "local_20 = uVar2" identifier = identifier) ;) (expression_statement "FUN_001505e0(param_9,&local_28);" (call_expression "FUN_001505e0(param_9,&local_28)" identifier (argument_list "(param_9,&local_28)" ( identifier , (pointer_expression "&local_28" & identifier) ))) ;) (if_statement "if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }" if (parenthesized_expression "(*(int **)(param_1 + 0x2c) == piVar6)" ( (binary_expression "*(int **)(param_1 + 0x2c) == piVar6" (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);" (assignment_expression "iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8)" identifier = (call_expression "FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8)" identifier (argument_list "(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier )))) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0x2c) != piVar6)" ( (binary_expression "*(int **)(param_1 + 0x2c) != piVar6" (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original name: write<64, false>\n   DWARF original prototype: section_offset_type write<64,_false>(Cie * this, uchar * oview,\n   section_offset_type output_offset, section_offset_type offset, uint64_t address, uint addralign,\n   Eh_frame_hdr * eh_frame_hdr, Post_fdes * post_fdes) */\n\nsection_offset_type __thiscall\ngold::Cie::write<64,_false>\n          (Cie *this,uchar *oview,section_offset_type output_offset,section_offset_type offset,\n          uint64_t address,uint addralign,Eh_frame_hdr *eh_frame_hdr,Post_fdes *post_fdes)\n\n{\n  uint uVar1;\n  uchar *puVar2;\n  uchar fde_encoding;\n  size_t __n;\n  Fde *this_00;\n  int offset_00;\n  uint uVar3;\n  pointer ppFVar4;\n  Post_fde local_28 [2];\n  \n  if ((addralign - 1 & offset) != 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/ehframe.cc",0x1e4,"write");\n  }\n  __n = (this->contents_)._M_string_length;\n  uVar1 = __n + 8;\n  if (addralign == 0) {\n    *(size_t *)(oview + offset) = __n + 4;\n    puVar2 = oview + offset + 4;\n    puVar2[0] = '\0';\n    puVar2[1] = '\0';\n    puVar2[2] = '\0';\n    puVar2[3] = '\0';\n    memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);\n    uVar3 = uVar1;\n  }\n  else {\n    uVar3 = -addralign & __n + 7 + addralign;\n    puVar2 = oview + offset + 4;\n    puVar2[0] = '\0';\n    puVar2[1] = '\0';\n    puVar2[2] = '\0';\n    puVar2[3] = '\0';\n    *(uint *)(oview + offset) = uVar3 - 4;\n    memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);\n    if (uVar1 < uVar3) {\n      memset(oview + uVar1 + offset,0,(uVar3 - __n) - 8);\n    }\n  }\n  fde_encoding = this->fde_encoding_;\n  offset_00 = offset + uVar3;\n  ppFVar4 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_start;\n  if (ppFVar4 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish) {\n    do {\n      while ((this_00 = *ppFVar4, this_00->object_ == (Relobj *)0x0 &&\n             ((this_00->u_).from_linker.post_map != false))) {\n        ppFVar4 = ppFVar4 + 1;\n        local_28[0].cie_offset = offset;\n        local_28[0].fde = this_00;\n        local_28[0].fde_encoding = fde_encoding;\n        std::vector<gold::Post_fde,_std::allocator<gold::Post_fde>_>::emplace_back<gold::Post_fde>\n                  (post_fdes,local_28);\n        if ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish == ppFVar4) {\n          return offset_00;\n        }\n      }\n      ppFVar4 = ppFVar4 + 1;\n      offset_00 = Fde::write<64,_false>\n                            (this_00,oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr);\n    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar4);\n  }\n  return offset_00;\n}\n\n" comment comment (declaration "section_offset_type __thiscall\ngold::Cie::write<64,_false>\n          (Cie *this,uchar *oview,section_offset_type output_offset,section_offset_type offset,\n          uint64_t address,uint addralign,Eh_frame_hdr *eh_frame_hdr,Post_fdes *post_fdes)\n\n{\n  uint uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Cie::" identifier : : identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>\n          (Cie *this,uchar *oview,section_offset_type output_offset,section_offset_type offset,\n          uint64_t address,uint addralign,Eh_frame_hdr *eh_frame_hdr,Post_fdes *post_fdes)\n\n{\n  uint" (function_declarator "_false>\n          (Cie *this,uchar *oview,section_offset_type output_offset,section_offset_type offset,\n          uint64_t address,uint addralign,Eh_frame_hdr *eh_frame_hdr,Post_fdes *post_fdes)" identifier (ERROR ">" >) (parameter_list "(Cie *this,uchar *oview,section_offset_type output_offset,section_offset_type offset,\n          uint64_t address,uint addralign,Eh_frame_hdr *eh_frame_hdr,Post_fdes *post_fdes)" ( (parameter_declaration "Cie *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uchar *oview" type_identifier (pointer_declarator "*oview" * identifier)) , (parameter_declaration "section_offset_type output_offset" type_identifier identifier) , (parameter_declaration "section_offset_type offset" type_identifier identifier) , (parameter_declaration "uint64_t address" primitive_type identifier) , (parameter_declaration "uint addralign" type_identifier identifier) , (parameter_declaration "Eh_frame_hdr *eh_frame_hdr" type_identifier (pointer_declarator "*eh_frame_hdr" * identifier)) , (parameter_declaration "Post_fdes *post_fdes" type_identifier (pointer_declarator "*post_fdes" * identifier)) ))) { identifier) identifier ;) (declaration "uchar *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uchar fde_encoding;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "Fde *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "int offset_00;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "pointer ppFVar4;" type_identifier identifier ;) (declaration "Post_fde local_28 [2];" type_identifier (array_declarator "local_28 [2]" identifier [ number_literal ]) ;) (if_statement "if ((addralign - 1 & offset) != 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/ehframe.cc",0x1e4,"write");\n  }" if (parenthesized_expression "((addralign - 1 & offset) != 0)" ( (binary_expression "(addralign - 1 & offset) != 0" (parenthesized_expression "(addralign - 1 & offset)" ( (binary_expression "addralign - 1 & offset" (binary_expression "addralign - 1" identifier - number_literal) & identifier) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/ehframe.cc",0x1e4,"write");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/ehframe.cc",0x1e4,"write");" (call_expression "do_gold_unreachable("../../gold/ehframe.cc",0x1e4,"write")" identifier (argument_list "("../../gold/ehframe.cc",0x1e4,"write")" ( (string_literal ""../../gold/ehframe.cc"" " string_content ") , number_literal , (string_literal ""write"" " string_content ") ))) ;) })) (expression_statement "__n = (this->contents_)._M_string_length;" (assignment_expression "__n = (this->contents_)._M_string_length" identifier = (field_expression "(this->contents_)._M_string_length" (parenthesized_expression "(this->contents_)" ( (field_expression "this->contents_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar1 = __n + 8;" (assignment_expression "uVar1 = __n + 8" identifier = (binary_expression "__n + 8" identifier + number_literal)) ;) (if_statement "if (addralign == 0) {\n    *(size_t *)(oview + offset) = __n + 4;\n    puVar2 = oview + offset + 4;\n    puVar2[0] = '\0';\n    puVar2[1] = '\0';\n    puVar2[2] = '\0';\n    puVar2[3] = '\0';\n    memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);\n    uVar3 = uVar1;\n  }\n  else {\n    uVar3 = -addralign & __n + 7 + addralign;\n    puVar2 = oview + offset + 4;\n    puVar2[0] = '\0';\n    puVar2[1] = '\0';\n    puVar2[2] = '\0';\n    puVar2[3] = '\0';\n    *(uint *)(oview + offset) = uVar3 - 4;\n    memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);\n    if (uVar1 < uVar3) {\n      memset(oview + uVar1 + offset,0,(uVar3 - __n) - 8);\n    }\n  }" if (parenthesized_expression "(addralign == 0)" ( (binary_expression "addralign == 0" identifier == number_literal) )) (compound_statement "{\n    *(size_t *)(oview + offset) = __n + 4;\n    puVar2 = oview + offset + 4;\n    puVar2[0] = '\0';\n    puVar2[1] = '\0';\n    puVar2[2] = '\0';\n    puVar2[3] = '\0';\n    memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);\n    uVar3 = uVar1;\n  }" { (expression_statement "*(size_t *)(oview + offset) = __n + 4;" (assignment_expression "*(size_t *)(oview + offset) = __n + 4" (pointer_expression "*(size_t *)(oview + offset)" * (cast_expression "(size_t *)(oview + offset)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(oview + offset)" ( (binary_expression "oview + offset" identifier + identifier) )))) = (binary_expression "__n + 4" identifier + number_literal)) ;) (expression_statement "puVar2 = oview + offset + 4;" (assignment_expression "puVar2 = oview + offset + 4" identifier = (binary_expression "oview + offset + 4" (binary_expression "oview + offset" identifier + identifier) + number_literal)) ;) (expression_statement "puVar2[0] = '\0';" (assignment_expression "puVar2[0] = '\0'" (subscript_expression "puVar2[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2[1] = '\0';" (assignment_expression "puVar2[1] = '\0'" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2[2] = '\0';" (assignment_expression "puVar2[2] = '\0'" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2[3] = '\0';" (assignment_expression "puVar2[3] = '\0'" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);" (call_expression "memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n)" identifier (argument_list "(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n)" ( (binary_expression "oview + offset + 8" (binary_expression "oview + offset" identifier + identifier) + number_literal) , (field_expression "(this->contents_)._M_dataplus._M_p" (field_expression "(this->contents_)._M_dataplus" (parenthesized_expression "(this->contents_)" ( (field_expression "this->contents_" identifier -> field_identifier) )) . field_identifier) . field_identifier) , identifier ))) ;) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" identifier = identifier) ;) }) (else_clause "else {\n    uVar3 = -addralign & __n + 7 + addralign;\n    puVar2 = oview + offset + 4;\n    puVar2[0] = '\0';\n    puVar2[1] = '\0';\n    puVar2[2] = '\0';\n    puVar2[3] = '\0';\n    *(uint *)(oview + offset) = uVar3 - 4;\n    memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);\n    if (uVar1 < uVar3) {\n      memset(oview + uVar1 + offset,0,(uVar3 - __n) - 8);\n    }\n  }" else (compound_statement "{\n    uVar3 = -addralign & __n + 7 + addralign;\n    puVar2 = oview + offset + 4;\n    puVar2[0] = '\0';\n    puVar2[1] = '\0';\n    puVar2[2] = '\0';\n    puVar2[3] = '\0';\n    *(uint *)(oview + offset) = uVar3 - 4;\n    memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);\n    if (uVar1 < uVar3) {\n      memset(oview + uVar1 + offset,0,(uVar3 - __n) - 8);\n    }\n  }" { (expression_statement "uVar3 = -addralign & __n + 7 + addralign;" (assignment_expression "uVar3 = -addralign & __n + 7 + addralign" identifier = (binary_expression "-addralign & __n + 7 + addralign" (unary_expression "-addralign" - identifier) & (binary_expression "__n + 7 + addralign" (binary_expression "__n + 7" identifier + number_literal) + identifier))) ;) (expression_statement "puVar2 = oview + offset + 4;" (assignment_expression "puVar2 = oview + offset + 4" identifier = (binary_expression "oview + offset + 4" (binary_expression "oview + offset" identifier + identifier) + number_literal)) ;) (expression_statement "puVar2[0] = '\0';" (assignment_expression "puVar2[0] = '\0'" (subscript_expression "puVar2[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2[1] = '\0';" (assignment_expression "puVar2[1] = '\0'" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2[2] = '\0';" (assignment_expression "puVar2[2] = '\0'" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar2[3] = '\0';" (assignment_expression "puVar2[3] = '\0'" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(uint *)(oview + offset) = uVar3 - 4;" (assignment_expression "*(uint *)(oview + offset) = uVar3 - 4" (pointer_expression "*(uint *)(oview + offset)" * (cast_expression "(uint *)(oview + offset)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(oview + offset)" ( (binary_expression "oview + offset" identifier + identifier) )))) = (binary_expression "uVar3 - 4" identifier - number_literal)) ;) (expression_statement "memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n);" (call_expression "memcpy(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n)" identifier (argument_list "(oview + offset + 8,(this->contents_)._M_dataplus._M_p,__n)" ( (binary_expression "oview + offset + 8" (binary_expression "oview + offset" identifier + identifier) + number_literal) , (field_expression "(this->contents_)._M_dataplus._M_p" (field_expression "(this->contents_)._M_dataplus" (parenthesized_expression "(this->contents_)" ( (field_expression "this->contents_" identifier -> field_identifier) )) . field_identifier) . field_identifier) , identifier ))) ;) (if_statement "if (uVar1 < uVar3) {\n      memset(oview + uVar1 + offset,0,(uVar3 - __n) - 8);\n    }" if (parenthesized_expression "(uVar1 < uVar3)" ( (binary_expression "uVar1 < uVar3" identifier < identifier) )) (compound_statement "{\n      memset(oview + uVar1 + offset,0,(uVar3 - __n) - 8);\n    }" { (expression_statement "memset(oview + uVar1 + offset,0,(uVar3 - __n) - 8);" (call_expression "memset(oview + uVar1 + offset,0,(uVar3 - __n) - 8)" identifier (argument_list "(oview + uVar1 + offset,0,(uVar3 - __n) - 8)" ( (binary_expression "oview + uVar1 + offset" (binary_expression "oview + uVar1" identifier + identifier) + identifier) , number_literal , (binary_expression "(uVar3 - __n) - 8" (parenthesized_expression "(uVar3 - __n)" ( (binary_expression "uVar3 - __n" identifier - identifier) )) - number_literal) ))) ;) })) }))) (expression_statement "fde_encoding = this->fde_encoding_;" (assignment_expression "fde_encoding = this->fde_encoding_" identifier = (field_expression "this->fde_encoding_" identifier -> field_identifier)) ;) (expression_statement "offset_00 = offset + uVar3;" (assignment_expression "offset_00 = offset + uVar3" identifier = (binary_expression "offset + uVar3" identifier + identifier)) ;) (expression_statement "ppFVar4 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_start;" (field_expression "ppFVar4 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_start" (field_expression "ppFVar4 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl" (binary_expression "ppFVar4 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_" (binary_expression "ppFVar4 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold" (binary_expression "ppFVar4 = (this->fdes_).super__Vector_base<gold::Fde*,_std" (assignment_expression "ppFVar4 = (this->fdes_).super__Vector_base<gold" identifier = (binary_expression "(this->fdes_).super__Vector_base<gold" (field_expression "(this->fdes_).super__Vector_base" (parenthesized_expression "(this->fdes_)" ( (field_expression "this->fdes_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Fde" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Fde" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppFVar4 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish) {\n    do {\n      while ((this_00 = *ppFVar4, this_00->object_ == (Relobj *)0x0 &&\n             ((this_00->u_).from_linker.post_map != false))) {\n        ppFVar4 = ppFVar4 + 1;\n        local_28[0].cie_offset = offset;\n        local_28[0].fde = this_00;\n        local_28[0].fde_encoding = fde_encoding;\n        std::vector<gold::Post_fde,_std::allocator<gold::Post_fde>_>::emplace_back<gold::Post_fde>\n                  (post_fdes,local_28);\n        if ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish == ppFVar4) {\n          return offset_00;\n        }\n      }\n      ppFVar4 = ppFVar4 + 1;\n      offset_00 = Fde::write<64,_false>\n                            (this_00,oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr);\n    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar4);\n  }" if (parenthesized_expression "(ppFVar4 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish)" ( (field_expression "ppFVar4 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish" (field_expression "ppFVar4 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl" (binary_expression "ppFVar4 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_" (binary_expression "ppFVar4 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold" (binary_expression "ppFVar4 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std" (binary_expression "ppFVar4 !=\n      (this->fdes_).super__Vector_base<gold" identifier != (binary_expression "(this->fdes_).super__Vector_base<gold" (field_expression "(this->fdes_).super__Vector_base" (parenthesized_expression "(this->fdes_)" ( (field_expression "this->fdes_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Fde" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Fde" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      while ((this_00 = *ppFVar4, this_00->object_ == (Relobj *)0x0 &&\n             ((this_00->u_).from_linker.post_map != false))) {\n        ppFVar4 = ppFVar4 + 1;\n        local_28[0].cie_offset = offset;\n        local_28[0].fde = this_00;\n        local_28[0].fde_encoding = fde_encoding;\n        std::vector<gold::Post_fde,_std::allocator<gold::Post_fde>_>::emplace_back<gold::Post_fde>\n                  (post_fdes,local_28);\n        if ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish == ppFVar4) {\n          return offset_00;\n        }\n      }\n      ppFVar4 = ppFVar4 + 1;\n      offset_00 = Fde::write<64,_false>\n                            (this_00,oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr);\n    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar4);\n  }" { (do_statement "do {\n      while ((this_00 = *ppFVar4, this_00->object_ == (Relobj *)0x0 &&\n             ((this_00->u_).from_linker.post_map != false))) {\n        ppFVar4 = ppFVar4 + 1;\n        local_28[0].cie_offset = offset;\n        local_28[0].fde = this_00;\n        local_28[0].fde_encoding = fde_encoding;\n        std::vector<gold::Post_fde,_std::allocator<gold::Post_fde>_>::emplace_back<gold::Post_fde>\n                  (post_fdes,local_28);\n        if ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish == ppFVar4) {\n          return offset_00;\n        }\n      }\n      ppFVar4 = ppFVar4 + 1;\n      offset_00 = Fde::write<64,_false>\n                            (this_00,oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr);\n    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar4);" do (compound_statement "{\n      while ((this_00 = *ppFVar4, this_00->object_ == (Relobj *)0x0 &&\n             ((this_00->u_).from_linker.post_map != false))) {\n        ppFVar4 = ppFVar4 + 1;\n        local_28[0].cie_offset = offset;\n        local_28[0].fde = this_00;\n        local_28[0].fde_encoding = fde_encoding;\n        std::vector<gold::Post_fde,_std::allocator<gold::Post_fde>_>::emplace_back<gold::Post_fde>\n                  (post_fdes,local_28);\n        if ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish == ppFVar4) {\n          return offset_00;\n        }\n      }\n      ppFVar4 = ppFVar4 + 1;\n      offset_00 = Fde::write<64,_false>\n                            (this_00,oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr);\n    }" { (while_statement "while ((this_00 = *ppFVar4, this_00->object_ == (Relobj *)0x0 &&\n             ((this_00->u_).from_linker.post_map != false))) {\n        ppFVar4 = ppFVar4 + 1;\n        local_28[0].cie_offset = offset;\n        local_28[0].fde = this_00;\n        local_28[0].fde_encoding = fde_encoding;\n        std::vector<gold::Post_fde,_std::allocator<gold::Post_fde>_>::emplace_back<gold::Post_fde>\n                  (post_fdes,local_28);\n        if ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish == ppFVar4) {\n          return offset_00;\n        }\n      }" while (parenthesized_expression "((this_00 = *ppFVar4, this_00->object_ == (Relobj *)0x0 &&\n             ((this_00->u_).from_linker.post_map != false)))" ( (parenthesized_expression "(this_00 = *ppFVar4, this_00->object_ == (Relobj *)0x0 &&\n             ((this_00->u_).from_linker.post_map != false))" ( (comma_expression "this_00 = *ppFVar4, this_00->object_ == (Relobj *)0x0 &&\n             ((this_00->u_).from_linker.post_map != false)" (assignment_expression "this_00 = *ppFVar4" identifier = (pointer_expression "*ppFVar4" * identifier)) , (binary_expression "this_00->object_ == (Relobj *)0x0 &&\n             ((this_00->u_).from_linker.post_map != false)" (binary_expression "this_00->object_ == (Relobj *)0x0" (field_expression "this_00->object_" identifier -> field_identifier) == (cast_expression "(Relobj *)0x0" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "((this_00->u_).from_linker.post_map != false)" ( (binary_expression "(this_00->u_).from_linker.post_map != false" (field_expression "(this_00->u_).from_linker.post_map" (field_expression "(this_00->u_).from_linker" (parenthesized_expression "(this_00->u_)" ( (field_expression "this_00->u_" identifier -> field_identifier) )) . field_identifier) . field_identifier) != false) )))) )) )) (compound_statement "{\n        ppFVar4 = ppFVar4 + 1;\n        local_28[0].cie_offset = offset;\n        local_28[0].fde = this_00;\n        local_28[0].fde_encoding = fde_encoding;\n        std::vector<gold::Post_fde,_std::allocator<gold::Post_fde>_>::emplace_back<gold::Post_fde>\n                  (post_fdes,local_28);\n        if ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish == ppFVar4) {\n          return offset_00;\n        }\n      }" { (expression_statement "ppFVar4 = ppFVar4 + 1;" (assignment_expression "ppFVar4 = ppFVar4 + 1" identifier = (binary_expression "ppFVar4 + 1" identifier + number_literal)) ;) (expression_statement "local_28[0].cie_offset = offset;" (assignment_expression "local_28[0].cie_offset = offset" (field_expression "local_28[0].cie_offset" (subscript_expression "local_28[0]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "local_28[0].fde = this_00;" (assignment_expression "local_28[0].fde = this_00" (field_expression "local_28[0].fde" (subscript_expression "local_28[0]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "local_28[0].fde_encoding = fde_encoding;" (assignment_expression "local_28[0].fde_encoding = fde_encoding" (field_expression "local_28[0].fde_encoding" (subscript_expression "local_28[0]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (labeled_statement "std::vector<gold::Post_fde,_std::allocator<gold::Post_fde>_>::emplace_back<gold::Post_fde>\n                  (post_fdes,local_28);" statement_identifier (ERROR "::vector<gold::Post_fde,_std::allocator<gold::Post_fde>_>::emplace_back<gold:" : : (binary_expression "vector<gold" identifier < identifier) : : (comma_expression "Post_fde,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : (binary_expression "Post_fde>_" identifier > identifier) > : : (binary_expression "emplace_back<gold" identifier < identifier) :) : (expression_statement "Post_fde>\n                  (post_fdes,local_28);" (binary_expression "Post_fde>\n                  (post_fdes,local_28)" identifier > (parenthesized_expression "(post_fdes,local_28)" ( (comma_expression "post_fdes,local_28" identifier , identifier) ))) ;)) (if_statement "if ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish == ppFVar4) {\n          return offset_00;\n        }" if (parenthesized_expression "((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish == ppFVar4)" ( (binary_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish == ppFVar4" (field_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_finish" (field_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl" (binary_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_" (binary_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold" (binary_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std" (binary_expression "(this->fdes_).super__Vector_base<gold" (field_expression "(this->fdes_).super__Vector_base" (parenthesized_expression "(this->fdes_)" ( (field_expression "this->fdes_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Fde" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Fde" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) == identifier) )) (compound_statement "{\n          return offset_00;\n        }" { (return_statement "return offset_00;" return identifier ;) })) })) (expression_statement "ppFVar4 = ppFVar4 + 1;" (assignment_expression "ppFVar4 = ppFVar4 + 1" identifier = (binary_expression "ppFVar4 + 1" identifier + number_literal)) ;) (expression_statement "offset_00 = Fde::write<64,_false>\n                            (this_00,oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr);" (comma_expression "offset_00 = Fde::write<64,_false>\n                            (this_00,oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr)" (binary_expression "offset_00 = Fde::write<64" (assignment_expression "offset_00 = Fde" identifier = identifier) (ERROR "::write" : : identifier) < number_literal) , (binary_expression "_false>\n                            (this_00,oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr)" identifier > (parenthesized_expression "(this_00,oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr)" ( (comma_expression "this_00,oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr" identifier , (comma_expression "oview,output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr" identifier , (comma_expression "output_offset,offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr" identifier , (comma_expression "offset_00,address,addralign,offset,\n                             fde_encoding,eh_frame_hdr" identifier , (comma_expression "address,addralign,offset,\n                             fde_encoding,eh_frame_hdr" identifier , (comma_expression "addralign,offset,\n                             fde_encoding,eh_frame_hdr" identifier , (comma_expression "offset,\n                             fde_encoding,eh_frame_hdr" identifier , (comma_expression "fde_encoding,eh_frame_hdr" identifier , identifier)))))))) )))) ;) }) while (parenthesized_expression "((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar4)" ( (binary_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar4" (field_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish" (field_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl" (binary_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_" (binary_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold" (binary_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std" (binary_expression "(this->fdes_).super__Vector_base<gold" (field_expression "(this->fdes_).super__Vector_base" (parenthesized_expression "(this->fdes_)" ( (field_expression "this->fdes_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Fde" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Fde" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return offset_00;" return identifier ;) (ERROR "}" }))
(translation_unit "void FUN_00150a20(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  size_t __n;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *local_28;\n  uint local_24;\n  undefined1 local_20;\n  \n  if ((param_7 - 1U & param_4) != 0) {\n                    \n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }\n  __n = *(size_t *)(param_1 + 0x38);\n  uVar1 = __n + 8;\n  if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }\n  uVar2 = *(undefined1 *)(param_1 + 0xc);\n  iVar4 = param_4 + uVar5;\n  piVar6 = *(int **)(param_1 + 0x28);\n  if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00150a20(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  size_t __n;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *local_28;\n  uint local_24;\n  undefined1 local_20;\n  \n  if ((param_7 - 1U & param_4) != 0) {\n                    \n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }\n  __n = *(size_t *)(param_1 + 0x38);\n  uVar1 = __n + 8;\n  if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }\n  uVar2 = *(undefined1 *)(param_1 + 0xc);\n  iVar4 = param_4 + uVar5;\n  piVar6 = *(int **)(param_1 + 0x28);\n  if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00150a20(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "undefined4 param_8" type_identifier identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined1 uVar2;\n  size_t __n;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *local_28;\n  uint local_24;\n  undefined1 local_20;\n  \n  if ((param_7 - 1U & param_4) != 0) {\n                    \n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }\n  __n = *(size_t *)(param_1 + 0x38);\n  uVar1 = __n + 8;\n  if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }\n  uVar2 = *(undefined1 *)(param_1 + 0xc);\n  iVar4 = param_4 + uVar5;\n  piVar6 = *(int **)(param_1 + 0x28);\n  if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "undefined1 local_20;" type_identifier identifier ;) (if_statement "if ((param_7 - 1U & param_4) != 0) {\n                    \n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }" if (parenthesized_expression "((param_7 - 1U & param_4) != 0)" ( (binary_expression "(param_7 - 1U & param_4) != 0" (parenthesized_expression "(param_7 - 1U & param_4)" ( (binary_expression "param_7 - 1U & param_4" (binary_expression "param_7 - 1U" identifier - number_literal) & identifier) )) != number_literal) )) (compound_statement "{\n                    \n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }" { (expression_statement "FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);" (call_expression "FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1)" identifier (argument_list "("../../gold/ehframe.cc",0x1e4,"write",param_1)" ( (string_literal ""../../gold/ehframe.cc"" " string_content ") , number_literal , (string_literal ""write"" " string_content ") , identifier ))) ;) })) (expression_statement "__n = *(size_t *)(param_1 + 0x38);" (assignment_expression "__n = *(size_t *)(param_1 + 0x38)" identifier = (pointer_expression "*(size_t *)(param_1 + 0x38)" * (cast_expression "(size_t *)(param_1 + 0x38)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = __n + 8;" (assignment_expression "uVar1 = __n + 8" identifier = (binary_expression "__n + 8" identifier + number_literal)) ;) (if_statement "if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }" { (expression_statement "*(size_t *)(param_2 + param_4) = __n + 4;" (assignment_expression "*(size_t *)(param_2 + param_4) = __n + 4" (pointer_expression "*(size_t *)(param_2 + param_4)" * (cast_expression "(size_t *)(param_2 + param_4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_4)" ( (binary_expression "param_2 + param_4" identifier + identifier) )))) = (binary_expression "__n + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(param_2 + 4 + param_4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4 + param_4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4 + param_4)" * (cast_expression "(undefined4 *)(param_2 + 4 + param_4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4 + param_4)" ( (binary_expression "param_2 + 4 + param_4" (binary_expression "param_2 + 4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);" (call_expression "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" identifier (argument_list "((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" ( (cast_expression "(void *)(param_2 + 8 + param_4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8 + param_4)" ( (binary_expression "param_2 + 8 + param_4" (binary_expression "param_2 + 8" identifier + number_literal) + identifier) ))) , (pointer_expression "*(void **)(param_1 + 0x34)" * (cast_expression "(void **)(param_1 + 0x34)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "uVar5 = uVar1;" (assignment_expression "uVar5 = uVar1" identifier = identifier) ;) }) (else_clause "else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }" else (compound_statement "{\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }" { (expression_statement "uVar5 = -param_7 & __n + 7 + param_7;" (assignment_expression "uVar5 = -param_7 & __n + 7 + param_7" identifier = (binary_expression "-param_7 & __n + 7 + param_7" (unary_expression "-param_7" - identifier) & (binary_expression "__n + 7 + param_7" (binary_expression "__n + 7" identifier + number_literal) + identifier))) ;) (expression_statement "*(undefined4 *)(param_2 + 4 + param_4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4 + param_4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4 + param_4)" * (cast_expression "(undefined4 *)(param_2 + 4 + param_4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4 + param_4)" ( (binary_expression "param_2 + 4 + param_4" (binary_expression "param_2 + 4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(uint *)(param_2 + param_4) = uVar5 - 4;" (assignment_expression "*(uint *)(param_2 + param_4) = uVar5 - 4" (pointer_expression "*(uint *)(param_2 + param_4)" * (cast_expression "(uint *)(param_2 + param_4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_4)" ( (binary_expression "param_2 + param_4" identifier + identifier) )))) = (binary_expression "uVar5 - 4" identifier - number_literal)) ;) (expression_statement "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);" (call_expression "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" identifier (argument_list "((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" ( (cast_expression "(void *)(param_2 + 8 + param_4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8 + param_4)" ( (binary_expression "param_2 + 8 + param_4" (binary_expression "param_2 + 8" identifier + number_literal) + identifier) ))) , (pointer_expression "*(void **)(param_1 + 0x34)" * (cast_expression "(void **)(param_1 + 0x34)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) , identifier ))) ;) (if_statement "if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }" if (parenthesized_expression "(uVar1 < uVar5)" ( (binary_expression "uVar1 < uVar5" identifier < identifier) )) (compound_statement "{\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }" { (expression_statement "memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);" (call_expression "memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8)" identifier (argument_list "((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8)" ( (cast_expression "(void *)(uVar1 + param_4 + param_2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar1 + param_4 + param_2)" ( (binary_expression "uVar1 + param_4 + param_2" (binary_expression "uVar1 + param_4" identifier + identifier) + identifier) ))) , number_literal , (binary_expression "(uVar5 - __n) - 8" (parenthesized_expression "(uVar5 - __n)" ( (binary_expression "uVar5 - __n" identifier - identifier) )) - number_literal) ))) ;) })) }))) (expression_statement "uVar2 = *(undefined1 *)(param_1 + 0xc);" (assignment_expression "uVar2 = *(undefined1 *)(param_1 + 0xc)" identifier = (pointer_expression "*(undefined1 *)(param_1 + 0xc)" * (cast_expression "(undefined1 *)(param_1 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = param_4 + uVar5;" (assignment_expression "iVar4 = param_4 + uVar5" identifier = (binary_expression "param_4 + uVar5" identifier + identifier)) ;) (expression_statement "piVar6 = *(int **)(param_1 + 0x28);" (assignment_expression "piVar6 = *(int **)(param_1 + 0x28)" identifier = (pointer_expression "*(int **)(param_1 + 0x28)" * (cast_expression "(int **)(param_1 + 0x28)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }" if (parenthesized_expression "(piVar6 != *(int **)(param_1 + 0x2c))" ( (binary_expression "piVar6 != *(int **)(param_1 + 0x2c)" identifier != (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }" { (do_statement "do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);" do (compound_statement "{\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    }" { (while_statement "while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }" while (parenthesized_expression "((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0')))" ( (parenthesized_expression "(piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))" ( (comma_expression "piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0')" (assignment_expression "piVar3 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) , (binary_expression "*piVar3 == 0 && ((char)piVar3[2] != '\0')" (binary_expression "*piVar3 == 0" (pointer_expression "*piVar3" * identifier) == number_literal) && (parenthesized_expression "((char)piVar3[2] != '\0')" ( (binary_expression "(char)piVar3[2] != '\0'" (cast_expression "(char)piVar3[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )))) )) )) (compound_statement "{\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }" { (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "local_24 = param_4;" (assignment_expression "local_24 = param_4" identifier = identifier) ;) (expression_statement "local_28 = piVar3;" (assignment_expression "local_28 = piVar3" identifier = identifier) ;) (expression_statement "local_20 = uVar2;" (assignment_expression "local_20 = uVar2" identifier = identifier) ;) (expression_statement "FUN_001505e0(param_9,&local_28);" (call_expression "FUN_001505e0(param_9,&local_28)" identifier (argument_list "(param_9,&local_28)" ( identifier , (pointer_expression "&local_28" & identifier) ))) ;) (if_statement "if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }" if (parenthesized_expression "(*(int **)(param_1 + 0x2c) == piVar6)" ( (binary_expression "*(int **)(param_1 + 0x2c) == piVar6" (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);" (assignment_expression "iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8)" identifier = (call_expression "FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8)" identifier (argument_list "(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier )))) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0x2c) != piVar6)" ( (binary_expression "*(int **)(param_1 + 0x2c) != piVar6" (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & IDENT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression - IDENT) & (binary_expression (binary_expression IDENT + LIT) + IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = (binary_expression IDENT - LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + IDENT) ))) , LIT , (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - LIT) ))) ;) })) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression (binary_expression (pointer_expression * IDENT) == LIT) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) != (char_literal ' escape_sequence ')) )))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00150a20(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  uint uVar1;\n  undefined1 uVar2;\n  size_t __n;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *local_28;\n  uint local_24;\n  undefined1 local_20;\n  \n  if ((param_7 - 1U & param_4) != 0) {\n                    \n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }\n  __n = *(size_t *)(param_1 + 0x38);\n  uVar1 = __n + 8;\n  if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }\n  uVar2 = *(undefined1 *)(param_1 + 0xc);\n  iVar4 = param_4 + uVar5;\n  piVar6 = *(int **)(param_1 + 0x28);\n  if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00150a20(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)" (identifier "FUN_00150a20") (parameter_list "(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) (, ",") (parameter_declaration "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) (, ",") (parameter_declaration "undefined4 param_9" (type_identifier "undefined4") (identifier "param_9")) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined1 uVar2;\n  size_t __n;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *local_28;\n  uint local_24;\n  undefined1 local_20;\n  \n  if ((param_7 - 1U & param_4) != 0) {\n                    \n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }\n  __n = *(size_t *)(param_1 + 0x38);\n  uVar1 = __n + 8;\n  if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }\n  uVar2 = *(undefined1 *)(param_1 + 0xc);\n  iVar4 = param_4 + uVar5;\n  piVar6 = *(int **)(param_1 + 0x28);\n  if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *local_28;" (primitive_type "int") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "undefined1 local_20;" (type_identifier "undefined1") (identifier "local_20") (; ";")) (if_statement "if ((param_7 - 1U & param_4) != 0) {\n                    \n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }" (if "if") (parenthesized_expression "((param_7 - 1U & param_4) != 0)" (( "(") (binary_expression "(param_7 - 1U & param_4) != 0" (parenthesized_expression "(param_7 - 1U & param_4)" (( "(") (binary_expression "param_7 - 1U & param_4" (binary_expression "param_7 - 1U" (identifier "param_7") (- "-") (number_literal "1U")) (& "&") (identifier "param_4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);\n  }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);" (call_expression "FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/ehframe.cc",0x1e4,"write",param_1)" (( "(") (string_literal ""../../gold/ehframe.cc"" (" """) (string_content "../../gold/ehframe.cc") (" """)) (, ",") (number_literal "0x1e4") (, ",") (string_literal ""write"" (" """) (string_content "write") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "__n = *(size_t *)(param_1 + 0x38);" (assignment_expression "__n = *(size_t *)(param_1 + 0x38)" (identifier "__n") (= "=") (pointer_expression "*(size_t *)(param_1 + 0x38)" (* "*") (cast_expression "(size_t *)(param_1 + 0x38)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "uVar1 = __n + 8;" (assignment_expression "uVar1 = __n + 8" (identifier "uVar1") (= "=") (binary_expression "__n + 8" (identifier "__n") (+ "+") (number_literal "8"))) (; ";")) (if_statement "if (param_7 == 0) {\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }\n  else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }" (if "if") (parenthesized_expression "(param_7 == 0)" (( "(") (binary_expression "param_7 == 0" (identifier "param_7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(size_t *)(param_2 + param_4) = __n + 4;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    uVar5 = uVar1;\n  }" ({ "{") (expression_statement "*(size_t *)(param_2 + param_4) = __n + 4;" (assignment_expression "*(size_t *)(param_2 + param_4) = __n + 4" (pointer_expression "*(size_t *)(param_2 + param_4)" (* "*") (cast_expression "(size_t *)(param_2 + param_4)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + param_4)" (( "(") (binary_expression "param_2 + param_4" (identifier "param_2") (+ "+") (identifier "param_4")) () ")")))) (= "=") (binary_expression "__n + 4" (identifier "__n") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 4 + param_4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4 + param_4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4 + param_4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4 + param_4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4 + param_4)" (( "(") (binary_expression "param_2 + 4 + param_4" (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) (+ "+") (identifier "param_4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);" (call_expression "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" (identifier "memcpy") (argument_list "((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" (( "(") (cast_expression "(void *)(param_2 + 8 + param_4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8 + param_4)" (( "(") (binary_expression "param_2 + 8 + param_4" (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) (+ "+") (identifier "param_4")) () ")"))) (, ",") (pointer_expression "*(void **)(param_1 + 0x34)" (* "*") (cast_expression "(void **)(param_1 + 0x34)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "uVar5 = uVar1;" (assignment_expression "uVar5 = uVar1" (identifier "uVar5") (= "=") (identifier "uVar1")) (; ";")) (} "}")) (else_clause "else {\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }" (else "else") (compound_statement "{\n    uVar5 = -param_7 & __n + 7 + param_7;\n    *(undefined4 *)(param_2 + 4 + param_4) = 0;\n    *(uint *)(param_2 + param_4) = uVar5 - 4;\n    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);\n    if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }\n  }" ({ "{") (expression_statement "uVar5 = -param_7 & __n + 7 + param_7;" (assignment_expression "uVar5 = -param_7 & __n + 7 + param_7" (identifier "uVar5") (= "=") (binary_expression "-param_7 & __n + 7 + param_7" (unary_expression "-param_7" (- "-") (identifier "param_7")) (& "&") (binary_expression "__n + 7 + param_7" (binary_expression "__n + 7" (identifier "__n") (+ "+") (number_literal "7")) (+ "+") (identifier "param_7")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 4 + param_4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4 + param_4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4 + param_4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4 + param_4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4 + param_4)" (( "(") (binary_expression "param_2 + 4 + param_4" (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) (+ "+") (identifier "param_4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(param_2 + param_4) = uVar5 - 4;" (assignment_expression "*(uint *)(param_2 + param_4) = uVar5 - 4" (pointer_expression "*(uint *)(param_2 + param_4)" (* "*") (cast_expression "(uint *)(param_2 + param_4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + param_4)" (( "(") (binary_expression "param_2 + param_4" (identifier "param_2") (+ "+") (identifier "param_4")) () ")")))) (= "=") (binary_expression "uVar5 - 4" (identifier "uVar5") (- "-") (number_literal "4"))) (; ";")) (expression_statement "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);" (call_expression "memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" (identifier "memcpy") (argument_list "((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n)" (( "(") (cast_expression "(void *)(param_2 + 8 + param_4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8 + param_4)" (( "(") (binary_expression "param_2 + 8 + param_4" (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) (+ "+") (identifier "param_4")) () ")"))) (, ",") (pointer_expression "*(void **)(param_1 + 0x34)" (* "*") (cast_expression "(void **)(param_1 + 0x34)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (, ",") (identifier "__n") () ")"))) (; ";")) (if_statement "if (uVar1 < uVar5) {\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }" (if "if") (parenthesized_expression "(uVar1 < uVar5)" (( "(") (binary_expression "uVar1 < uVar5" (identifier "uVar1") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);\n    }" ({ "{") (expression_statement "memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);" (call_expression "memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8)" (identifier "memset") (argument_list "((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8)" (( "(") (cast_expression "(void *)(uVar1 + param_4 + param_2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar1 + param_4 + param_2)" (( "(") (binary_expression "uVar1 + param_4 + param_2" (binary_expression "uVar1 + param_4" (identifier "uVar1") (+ "+") (identifier "param_4")) (+ "+") (identifier "param_2")) () ")"))) (, ",") (number_literal "0") (, ",") (binary_expression "(uVar5 - __n) - 8" (parenthesized_expression "(uVar5 - __n)" (( "(") (binary_expression "uVar5 - __n" (identifier "uVar5") (- "-") (identifier "__n")) () ")")) (- "-") (number_literal "8")) () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar2 = *(undefined1 *)(param_1 + 0xc);" (assignment_expression "uVar2 = *(undefined1 *)(param_1 + 0xc)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined1 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar4 = param_4 + uVar5;" (assignment_expression "iVar4 = param_4 + uVar5" (identifier "iVar4") (= "=") (binary_expression "param_4 + uVar5" (identifier "param_4") (+ "+") (identifier "uVar5"))) (; ";")) (expression_statement "piVar6 = *(int **)(param_1 + 0x28);" (assignment_expression "piVar6 = *(int **)(param_1 + 0x28)" (identifier "piVar6") (= "=") (pointer_expression "*(int **)(param_1 + 0x28)" (* "*") (cast_expression "(int **)(param_1 + 0x28)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (piVar6 != *(int **)(param_1 + 0x2c)) {\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }" (if "if") (parenthesized_expression "(piVar6 != *(int **)(param_1 + 0x2c))" (( "(") (binary_expression "piVar6 != *(int **)(param_1 + 0x2c)" (identifier "piVar6") (!= "!=") (pointer_expression "*(int **)(param_1 + 0x2c)" (* "*") (cast_expression "(int **)(param_1 + 0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);\n  }" ({ "{") (do_statement "do {\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    } while (*(int **)(param_1 + 0x2c) != piVar6);" (do "do") (compound_statement "{\n      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }\n      piVar6 = piVar6 + 1;\n      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);\n    }" ({ "{") (while_statement "while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }" (while "while") (parenthesized_expression "((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0')))" (( "(") (parenthesized_expression "(piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))" (( "(") (comma_expression "piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0')" (assignment_expression "piVar3 = (int *)*piVar6" (identifier "piVar3") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (, ",") (binary_expression "*piVar3 == 0 && ((char)piVar3[2] != '\0')" (binary_expression "*piVar3 == 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (== "==") (number_literal "0")) (&& "&&") (parenthesized_expression "((char)piVar3[2] != '\0')" (( "(") (binary_expression "(char)piVar3[2] != '\0'" (cast_expression "(char)piVar3[2]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) () ")")) () ")")) (compound_statement "{\n        piVar6 = piVar6 + 1;\n        local_24 = param_4;\n        local_28 = piVar3;\n        local_20 = uVar2;\n        FUN_001505e0(param_9,&local_28);\n        if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }\n      }" ({ "{") (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_24 = param_4;" (assignment_expression "local_24 = param_4" (identifier "local_24") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_28 = piVar3;" (assignment_expression "local_28 = piVar3" (identifier "local_28") (= "=") (identifier "piVar3")) (; ";")) (expression_statement "local_20 = uVar2;" (assignment_expression "local_20 = uVar2" (identifier "local_20") (= "=") (identifier "uVar2")) (; ";")) (expression_statement "FUN_001505e0(param_9,&local_28);" (call_expression "FUN_001505e0(param_9,&local_28)" (identifier "FUN_001505e0") (argument_list "(param_9,&local_28)" (( "(") (identifier "param_9") (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")"))) (; ";")) (if_statement "if (*(int **)(param_1 + 0x2c) == piVar6) {\n          return;\n        }" (if "if") (parenthesized_expression "(*(int **)(param_1 + 0x2c) == piVar6)" (( "(") (binary_expression "*(int **)(param_1 + 0x2c) == piVar6" (pointer_expression "*(int **)(param_1 + 0x2c)" (* "*") (cast_expression "(int **)(param_1 + 0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (== "==") (identifier "piVar6")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8);" (assignment_expression "iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8)" (identifier "iVar4") (= "=") (call_expression "FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8)" (identifier "FUN_0014f120") (argument_list "(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,\n                           param_8)" (( "(") (identifier "piVar3") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "iVar4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "param_4") (, ",") (identifier "uVar2") (, ",") (identifier "param_8") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int **)(param_1 + 0x2c) != piVar6)" (( "(") (binary_expression "*(int **)(param_1 + 0x2c) != piVar6" (pointer_expression "*(int **)(param_1 + 0x2c)" (* "*") (cast_expression "(int **)(param_1 + 0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (!= "!=") (identifier "piVar6")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original name: write<64, false>
   DWARF original prototype: section_offset_type write<64,_false>(Cie * this, uchar * oview,
   section_offset_type output_offset, section_offset_type offset, uint64_t address, uint addralign,
   Eh_frame_hdr * eh_frame_hdr, Post_fdes * post_fdes) */

type_1 __thiscall
var_10::Cie::write<64,var_14>
          (Cie *this,type_2 *var_5,type_1 output_offset,type_1 var_2,
          uint64_t address,type_4 var_1,Eh_frame_hdr *eh_frame_hdr,Post_fdes *post_fdes)

{
  type_4 var_8;
  type_2 *puVar2;
  type_2 fde_encoding;
  size_t var_4;
  type_3 *this_00;
  int offset_00;
  type_4 var_7;
  type_5 var_13;
  type_6 local_28 [2];
  
  if ((var_1 - 1 & var_2) != 0) {
                    /* WARNING: Subroutine does not return */
    var_3("../../gold/ehframe.cc",0x1e4,"write");
  }
  var_4 = (this->contents_)._M_string_length;
  var_8 = var_4 + 8;
  if (var_1 == 0) {
    *(size_t *)(var_5 + var_2) = var_4 + 4;
    puVar2 = var_5 + var_2 + 4;
    puVar2[0] = '\0';
    puVar2[1] = '\0';
    puVar2[2] = '\0';
    puVar2[3] = '\0';
    var_6(var_5 + var_2 + 8,(this->contents_)._M_dataplus._M_p,var_4);
    var_7 = var_8;
  }
  else {
    var_7 = -var_1 & var_4 + 7 + var_1;
    puVar2 = var_5 + var_2 + 4;
    puVar2[0] = '\0';
    puVar2[1] = '\0';
    puVar2[2] = '\0';
    puVar2[3] = '\0';
    *(type_4 *)(var_5 + var_2) = var_7 - 4;
    var_6(var_5 + var_2 + 8,(this->contents_)._M_dataplus._M_p,var_4);
    if (var_8 < var_7) {
      var_9(var_5 + var_8 + var_2,0,(var_7 - var_4) - 8);
    }
  }
  fde_encoding = this->fde_encoding_;
  offset_00 = var_2 + var_7;
  var_13 = (this->fdes_).super__Vector_base<var_10::type_3*,var_11::allocator<var_10::type_3*>var_12>._M_impl.
            _M_start;
  if (var_13 !=
      (this->fdes_).super__Vector_base<var_10::type_3*,var_11::allocator<var_10::type_3*>var_12>._M_impl._M_finish) {
    do {
      while ((this_00 = *var_13, this_00->object_ == (type_7 *)0x0 &&
             ((this_00->u_).from_linker.post_map != false))) {
        var_13 = var_13 + 1;
        local_28[0].cie_offset = var_2;
        local_28[0].fde = this_00;
        local_28[0].fde_encoding = fde_encoding;
        std::vector<var_10::type_6,var_11::allocator<var_10::type_6>var_12>::emplace_back<var_10::type_6>
                  (post_fdes,local_28);
        if ((this->fdes_).super__Vector_base<var_10::type_3*,var_11::allocator<var_10::type_3*>var_12>._M_impl.
            _M_finish == var_13) {
          return offset_00;
        }
      }
      var_13 = var_13 + 1;
      offset_00 = type_3::write<64,var_14>
                            (this_00,var_5,output_offset,offset_00,address,var_1,var_2,
                             fde_encoding,eh_frame_hdr);
    } while ((this->fdes_).super__Vector_base<var_10::type_3*,var_11::allocator<var_10::type_3*>var_12>._M_impl.
             _M_finish != var_13);
  }
  return offset_00;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (unary_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (number_literal) (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (char_literal (escape_sequence)))))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (return_statement))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier)))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(int param_1,int param_2,undefined4 param_3,uint param_4,undefined4 param_5,
                 undefined4 param_6,int param_7,undefined4 param_8,undefined4 param_9)

{
  uint uVar1;
  undefined1 uVar2;
  size_t __n;
  int *piVar3;
  int iVar4;
  uint uVar5;
  int *piVar6;
  int *local_28;
  uint local_24;
  undefined1 local_20;
  
  if ((param_7 - 1U & param_4) != 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/ehframe.cc",0x1e4,"write",param_1);
  }
  __n = *(size_t *)(param_1 + 0x38);
  uVar1 = __n + 8;
  if (param_7 == 0) {
    *(size_t *)(param_2 + param_4) = __n + 4;
    *(undefined4 *)(param_2 + 4 + param_4) = 0;
    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);
    uVar5 = uVar1;
  }
  else {
    uVar5 = -param_7 & __n + 7 + param_7;
    *(undefined4 *)(param_2 + 4 + param_4) = 0;
    *(uint *)(param_2 + param_4) = uVar5 - 4;
    memcpy((void *)(param_2 + 8 + param_4),*(void **)(param_1 + 0x34),__n);
    if (uVar1 < uVar5) {
      memset((void *)(uVar1 + param_4 + param_2),0,(uVar5 - __n) - 8);
    }
  }
  uVar2 = *(undefined1 *)(param_1 + 0xc);
  iVar4 = param_4 + uVar5;
  piVar6 = *(int **)(param_1 + 0x28);
  if (piVar6 != *(int **)(param_1 + 0x2c)) {
    do {
      while ((piVar3 = (int *)*piVar6, *piVar3 == 0 && ((char)piVar3[2] != '\0'))) {
        piVar6 = piVar6 + 1;
        local_24 = param_4;
        local_28 = piVar3;
        local_20 = uVar2;
        FUN_001505e0(param_9,&local_28);
        if (*(int **)(param_1 + 0x2c) == piVar6) {
          return;
        }
      }
      piVar6 = piVar6 + 1;
      iVar4 = FUN_0014f120(piVar3,param_2,param_3,iVar4,param_5,param_6,param_7,param_4,uVar2,
                           param_8);
    } while (*(int **)(param_1 + 0x2c) != piVar6);
  }
  return;
}

