
/* DWARF original prototype: section_offset_type set_output_offset(Cie * this, section_offset_type
   output_offset, uint addralign, Output_section_data * output_data) */

section_offset_type __thiscall
gold::Cie::set_output_offset
          (Cie *this,section_offset_type output_offset,uint addralign,
          Output_section_data *output_data)

{
  Fde *pFVar1;
  pointer ppFVar2;
  section_size_type length;
  section_size_type length_00;
  ulong uVar3;
  
  uVar3 = (ulong)addralign;
  length_00 = (this->contents_)._M_string_length + 8;
  if (this->object_ != (Relobj *)0x0) {
    Relobj::add_merge_mapping
              (this->object_,output_data,this->shndx_,this->input_offset_,length_00,output_offset);
  }
  if (uVar3 != 0) {
    length_00 = (uVar3 - 1) + length_00 & -uVar3;
  }
  ppFVar2 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.
            _M_start;
  if (ppFVar2 !=
      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish) {
    do {
      pFVar1 = *ppFVar2;
      length = (pFVar1->contents_)._M_string_length + 8;
      if (pFVar1->object_ != (Relobj *)0x0) {
        Relobj::add_merge_mapping
                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,
                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);
        length = ((*ppFVar2)->contents_)._M_string_length + 8;
      }
      if (uVar3 != 0) {
        length = length + (uVar3 - 1) & -uVar3;
      }
      length_00 = length_00 + length;
      ppFVar2 = ppFVar2 + 1;
    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.
             _M_finish != ppFVar2);
  }
  return length_00 + output_offset;
}



long FUN_002a7d30(long *param_1,long param_2,uint param_3,undefined8 param_4)

{
  long *plVar1;
  long *plVar2;
  ulong uVar3;
  ulong uVar4;
  ulong uVar5;
  
  uVar5 = (ulong)param_3;
  uVar4 = param_1[0xc] + 8;
  if (*param_1 != 0) {
    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);
  }
  if (uVar5 != 0) {
    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;
  }
  plVar2 = (long *)param_1[8];
  if (plVar2 != (long *)param_1[9]) {
    do {
      plVar1 = (long *)*plVar2;
      uVar3 = plVar1[4] + 8;
      if (*plVar1 != 0) {
        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);
        uVar3 = *(long *)(*plVar2 + 0x20) + 8;
      }
      if (uVar5 != 0) {
        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;
      }
      uVar4 = uVar4 + uVar3;
      plVar2 = plVar2 + 1;
    } while ((long *)param_1[9] != plVar2);
  }
  return uVar4 + param_2;
}


PUSH R15
MOV R15D,EDX
PUSH R14
PUSH R13
MOV R13,RDI
PUSH R12
MOV R12,RCX
PUSH RBP
MOV RBP,RSI
PUSH RBX
SUB RSP,0x18
MOV RAX,qword ptr [RDI + 0x60]
MOV RDI,qword ptr [RDI]
LEA R14,[RAX + 0x8]
TEST RDI,RDI
JZ 0x002a7d70
MOV RCX,qword ptr [R13 + 0x10]
MOV EDX,dword ptr [R13 + 0x8]
MOV R9,RSI
MOV R8,R14
MOV RSI,R12
CALL 0x001bd390
TEST R15,R15
JZ 0x002a7d83
MOV RAX,R15
LEA R14,[R15 + R14*0x1 + -0x1]
NEG RAX
AND R14,RAX
MOV RBX,qword ptr [R13 + 0x40]
CMP RBX,qword ptr [R13 + 0x48]
JZ 0x002a7df1
LEA RAX,[R15 + -0x1]
MOV qword ptr [RSP + 0x8],RAX
NOP word ptr CS:[RAX + RAX*0x1]
MOV RAX,qword ptr [RBX]
MOV RSI,qword ptr [RAX + 0x20]
MOV RDI,qword ptr [RAX]
LEA R8,[RSI + 0x8]
TEST RDI,RDI
JZ 0x002a7dd1
MOV RCX,qword ptr [RAX + 0x10]
MOV EDX,dword ptr [RAX + 0x8]
LEA R9,[R14 + RBP*0x1]
MOV RSI,R12
CALL 0x001bd390
MOV RAX,qword ptr [RBX]
MOV R8,qword ptr [RAX + 0x20]
ADD R8,0x8
TEST R15,R15
JZ 0x002a7de4
MOV RAX,R15
ADD R8,qword ptr [RSP + 0x8]
NEG RAX
AND R8,RAX
ADD R14,R8
ADD RBX,0x8
CMP qword ptr [R13 + 0x48],RBX
JNZ 0x002a7da0
ADD RSP,0x18
LEA RAX,[R14 + RBP*0x1]
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "long FUN_002a7d30(long *param_1,long param_2,uint param_3,undefined8 param_4)\n\n{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = (ulong)param_3;\n  uVar4 = param_1[0xc] + 8;\n  if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }\n  if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }\n  plVar2 = (long *)param_1[8];\n  if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }\n  return uVar4 + param_2;\n}\n\n" (function_definition "long FUN_002a7d30(long *param_1,long param_2,uint param_3,undefined8 param_4)\n\n{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = (ulong)param_3;\n  uVar4 = param_1[0xc] + 8;\n  if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }\n  if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }\n  plVar2 = (long *)param_1[8];\n  if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }\n  return uVar4 + param_2;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_002a7d30(long *param_1,long param_2,uint param_3,undefined8 param_4)" identifier (parameter_list "(long *param_1,long param_2,uint param_3,undefined8 param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = (ulong)param_3;\n  uVar4 = param_1[0xc] + 8;\n  if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }\n  if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }\n  plVar2 = (long *)param_1[8];\n  if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }\n  return uVar4 + param_2;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "uVar5 = (ulong)param_3;" (assignment_expression "uVar5 = (ulong)param_3" identifier = (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = param_1[0xc] + 8;" (assignment_expression "uVar4 = param_1[0xc] + 8" identifier = (binary_expression "param_1[0xc] + 8" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }" { (expression_statement "FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);" (call_expression "FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2)" identifier (argument_list "(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2)" ( (pointer_expression "*param_1" * identifier) , identifier , (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , identifier ))) ;) })) (if_statement "if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }" { (expression_statement "uVar4 = (uVar5 - 1) + uVar4 & -uVar5;" (assignment_expression "uVar4 = (uVar5 - 1) + uVar4 & -uVar5" identifier = (binary_expression "(uVar5 - 1) + uVar4 & -uVar5" (binary_expression "(uVar5 - 1) + uVar4" (parenthesized_expression "(uVar5 - 1)" ( (binary_expression "uVar5 - 1" identifier - number_literal) )) + identifier) & (unary_expression "-uVar5" - identifier))) ;) })) (expression_statement "plVar2 = (long *)param_1[8];" (assignment_expression "plVar2 = (long *)param_1[8]" identifier = (cast_expression "(long *)param_1[8]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) (if_statement "if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }" if (parenthesized_expression "(plVar2 != (long *)param_1[9])" ( (binary_expression "plVar2 != (long *)param_1[9]" identifier != (cast_expression "(long *)param_1[9]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ]))) )) (compound_statement "{\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }" { (do_statement "do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);" do (compound_statement "{\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    }" { (expression_statement "plVar1 = (long *)*plVar2;" (assignment_expression "plVar1 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (expression_statement "uVar3 = plVar1[4] + 8;" (assignment_expression "uVar3 = plVar1[4] + 8" identifier = (binary_expression "plVar1[4] + 8" (subscript_expression "plVar1[4]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }" if (parenthesized_expression "(*plVar1 != 0)" ( (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" * identifier) != number_literal) )) (compound_statement "{\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }" { (expression_statement "FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);" (call_expression "FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2)" identifier (argument_list "(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2)" ( (pointer_expression "*plVar1" * identifier) , identifier , (cast_expression "(int)plVar1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar1[1]" identifier [ number_literal ])) , (subscript_expression "plVar1[2]" identifier [ number_literal ]) , identifier , (binary_expression "uVar4 + param_2" identifier + identifier) ))) ;) (expression_statement "uVar3 = *(long *)(*plVar2 + 0x20) + 8;" (assignment_expression "uVar3 = *(long *)(*plVar2 + 0x20) + 8" identifier = (binary_expression "*(long *)(*plVar2 + 0x20) + 8" (pointer_expression "*(long *)(*plVar2 + 0x20)" * (cast_expression "(long *)(*plVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar2 + 0x20)" ( (binary_expression "*plVar2 + 0x20" (pointer_expression "*plVar2" * identifier) + number_literal) )))) + number_literal)) ;) })) (if_statement "if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }" { (expression_statement "uVar3 = uVar3 + (uVar5 - 1) & -uVar5;" (assignment_expression "uVar3 = uVar3 + (uVar5 - 1) & -uVar5" identifier = (binary_expression "uVar3 + (uVar5 - 1) & -uVar5" (binary_expression "uVar3 + (uVar5 - 1)" identifier + (parenthesized_expression "(uVar5 - 1)" ( (binary_expression "uVar5 - 1" identifier - number_literal) ))) & (unary_expression "-uVar5" - identifier))) ;) })) (expression_statement "uVar4 = uVar4 + uVar3;" (assignment_expression "uVar4 = uVar4 + uVar3" identifier = (binary_expression "uVar4 + uVar3" identifier + identifier)) ;) (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((long *)param_1[9] != plVar2)" ( (binary_expression "(long *)param_1[9] != plVar2" (cast_expression "(long *)param_1[9]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ])) != identifier) )) ;) })) (return_statement "return uVar4 + param_2;" return (binary_expression "uVar4 + param_2" identifier + identifier) ;) })))
(translation_unit "/* DWARF original prototype: section_offset_type set_output_offset(Cie * this, section_offset_type\n   output_offset, uint addralign, Output_section_data * output_data) */\n\nsection_offset_type __thiscall\ngold::Cie::set_output_offset\n          (Cie *this,section_offset_type output_offset,uint addralign,\n          Output_section_data *output_data)\n\n{\n  Fde *pFVar1;\n  pointer ppFVar2;\n  section_size_type length;\n  section_size_type length_00;\n  ulong uVar3;\n  \n  uVar3 = (ulong)addralign;\n  length_00 = (this->contents_)._M_string_length + 8;\n  if (this->object_ != (Relobj *)0x0) {\n    Relobj::add_merge_mapping\n              (this->object_,output_data,this->shndx_,this->input_offset_,length_00,output_offset);\n  }\n  if (uVar3 != 0) {\n    length_00 = (uVar3 - 1) + length_00 & -uVar3;\n  }\n  ppFVar2 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_start;\n  if (ppFVar2 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish) {\n    do {\n      pFVar1 = *ppFVar2;\n      length = (pFVar1->contents_)._M_string_length + 8;\n      if (pFVar1->object_ != (Relobj *)0x0) {\n        Relobj::add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);\n        length = ((*ppFVar2)->contents_)._M_string_length + 8;\n      }\n      if (uVar3 != 0) {\n        length = length + (uVar3 - 1) & -uVar3;\n      }\n      length_00 = length_00 + length;\n      ppFVar2 = ppFVar2 + 1;\n    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar2);\n  }\n  return length_00 + output_offset;\n}\n\n" comment (function_definition "section_offset_type __thiscall\ngold::Cie::set_output_offset\n          (Cie *this,section_offset_type output_offset,uint addralign,\n          Output_section_data *output_data)\n\n{\n  Fde *pFVar1;\n  pointer ppFVar2;\n  section_size_type length;\n  section_size_type length_00;\n  ulong uVar3;\n  \n  uVar3 = (ulong)addralign;\n  length_00 = (this->contents_)._M_string_length + 8;\n  if (this->object_ != (Relobj *)0x0) {\n    Relobj::add_merge_mapping\n              (this->object_,output_data,this->shndx_,this->input_offset_,length_00,output_offset);\n  }\n  if (uVar3 != 0) {\n    length_00 = (uVar3 - 1) + length_00 & -uVar3;\n  }\n  ppFVar2 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_start;\n  if (ppFVar2 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish) {\n    do {\n      pFVar1 = *ppFVar2;\n      length = (pFVar1->contents_)._M_string_length + 8;\n      if (pFVar1->object_ != (Relobj *)0x0) {\n        Relobj::add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);\n        length = ((*ppFVar2)->contents_)._M_string_length + 8;\n      }\n      if (uVar3 != 0) {\n        length = length + (uVar3 - 1) & -uVar3;\n      }\n      length_00 = length_00 + length;\n      ppFVar2 = ppFVar2 + 1;\n    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar2);\n  }\n  return length_00 + output_offset;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Cie::" identifier : : identifier : :) (function_declarator "set_output_offset\n          (Cie *this,section_offset_type output_offset,uint addralign,\n          Output_section_data *output_data)" identifier (parameter_list "(Cie *this,section_offset_type output_offset,uint addralign,\n          Output_section_data *output_data)" ( (parameter_declaration "Cie *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "section_offset_type output_offset" type_identifier identifier) , (parameter_declaration "uint addralign" type_identifier identifier) , (parameter_declaration "Output_section_data *output_data" type_identifier (pointer_declarator "*output_data" * identifier)) ))) (compound_statement "{\n  Fde *pFVar1;\n  pointer ppFVar2;\n  section_size_type length;\n  section_size_type length_00;\n  ulong uVar3;\n  \n  uVar3 = (ulong)addralign;\n  length_00 = (this->contents_)._M_string_length + 8;\n  if (this->object_ != (Relobj *)0x0) {\n    Relobj::add_merge_mapping\n              (this->object_,output_data,this->shndx_,this->input_offset_,length_00,output_offset);\n  }\n  if (uVar3 != 0) {\n    length_00 = (uVar3 - 1) + length_00 & -uVar3;\n  }\n  ppFVar2 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_start;\n  if (ppFVar2 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish) {\n    do {\n      pFVar1 = *ppFVar2;\n      length = (pFVar1->contents_)._M_string_length + 8;\n      if (pFVar1->object_ != (Relobj *)0x0) {\n        Relobj::add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);\n        length = ((*ppFVar2)->contents_)._M_string_length + 8;\n      }\n      if (uVar3 != 0) {\n        length = length + (uVar3 - 1) & -uVar3;\n      }\n      length_00 = length_00 + length;\n      ppFVar2 = ppFVar2 + 1;\n    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar2);\n  }\n  return length_00 + output_offset;\n}" { (declaration "Fde *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "pointer ppFVar2;" type_identifier identifier ;) (declaration "section_size_type length;" type_identifier identifier ;) (declaration "section_size_type length_00;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = (ulong)addralign;" (assignment_expression "uVar3 = (ulong)addralign" identifier = (cast_expression "(ulong)addralign" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "length_00 = (this->contents_)._M_string_length + 8;" (assignment_expression "length_00 = (this->contents_)._M_string_length + 8" identifier = (binary_expression "(this->contents_)._M_string_length + 8" (field_expression "(this->contents_)._M_string_length" (parenthesized_expression "(this->contents_)" ( (field_expression "this->contents_" identifier -> field_identifier) )) . field_identifier) + number_literal)) ;) (if_statement "if (this->object_ != (Relobj *)0x0) {\n    Relobj::add_merge_mapping\n              (this->object_,output_data,this->shndx_,this->input_offset_,length_00,output_offset);\n  }" if (parenthesized_expression "(this->object_ != (Relobj *)0x0)" ( (binary_expression "this->object_ != (Relobj *)0x0" (field_expression "this->object_" identifier -> field_identifier) != (cast_expression "(Relobj *)0x0" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    Relobj::add_merge_mapping\n              (this->object_,output_data,this->shndx_,this->input_offset_,length_00,output_offset);\n  }" { (labeled_statement "Relobj::add_merge_mapping\n              (this->object_,output_data,this->shndx_,this->input_offset_,length_00,output_offset);" statement_identifier : (ERROR ":" :) (expression_statement "add_merge_mapping\n              (this->object_,output_data,this->shndx_,this->input_offset_,length_00,output_offset);" (call_expression "add_merge_mapping\n              (this->object_,output_data,this->shndx_,this->input_offset_,length_00,output_offset)" identifier (argument_list "(this->object_,output_data,this->shndx_,this->input_offset_,length_00,output_offset)" ( (field_expression "this->object_" identifier -> field_identifier) , identifier , (field_expression "this->shndx_" identifier -> field_identifier) , (field_expression "this->input_offset_" identifier -> field_identifier) , identifier , identifier ))) ;)) })) (if_statement "if (uVar3 != 0) {\n    length_00 = (uVar3 - 1) + length_00 & -uVar3;\n  }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    length_00 = (uVar3 - 1) + length_00 & -uVar3;\n  }" { (expression_statement "length_00 = (uVar3 - 1) + length_00 & -uVar3;" (assignment_expression "length_00 = (uVar3 - 1) + length_00 & -uVar3" identifier = (binary_expression "(uVar3 - 1) + length_00 & -uVar3" (binary_expression "(uVar3 - 1) + length_00" (parenthesized_expression "(uVar3 - 1)" ( (binary_expression "uVar3 - 1" identifier - number_literal) )) + identifier) & (unary_expression "-uVar3" - identifier))) ;) })) (expression_statement "ppFVar2 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_start;" (field_expression "ppFVar2 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n            _M_start" (field_expression "ppFVar2 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl" (binary_expression "ppFVar2 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_" (binary_expression "ppFVar2 = (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold" (binary_expression "ppFVar2 = (this->fdes_).super__Vector_base<gold::Fde*,_std" (assignment_expression "ppFVar2 = (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 (ppFVar2 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish) {\n    do {\n      pFVar1 = *ppFVar2;\n      length = (pFVar1->contents_)._M_string_length + 8;\n      if (pFVar1->object_ != (Relobj *)0x0) {\n        Relobj::add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);\n        length = ((*ppFVar2)->contents_)._M_string_length + 8;\n      }\n      if (uVar3 != 0) {\n        length = length + (uVar3 - 1) & -uVar3;\n      }\n      length_00 = length_00 + length;\n      ppFVar2 = ppFVar2 + 1;\n    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar2);\n  }" if (parenthesized_expression "(ppFVar2 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish)" ( (field_expression "ppFVar2 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl._M_finish" (field_expression "ppFVar2 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl" (binary_expression "ppFVar2 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_" (binary_expression "ppFVar2 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold" (binary_expression "ppFVar2 !=\n      (this->fdes_).super__Vector_base<gold::Fde*,_std" (binary_expression "ppFVar2 !=\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      pFVar1 = *ppFVar2;\n      length = (pFVar1->contents_)._M_string_length + 8;\n      if (pFVar1->object_ != (Relobj *)0x0) {\n        Relobj::add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);\n        length = ((*ppFVar2)->contents_)._M_string_length + 8;\n      }\n      if (uVar3 != 0) {\n        length = length + (uVar3 - 1) & -uVar3;\n      }\n      length_00 = length_00 + length;\n      ppFVar2 = ppFVar2 + 1;\n    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar2);\n  }" { (do_statement "do {\n      pFVar1 = *ppFVar2;\n      length = (pFVar1->contents_)._M_string_length + 8;\n      if (pFVar1->object_ != (Relobj *)0x0) {\n        Relobj::add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);\n        length = ((*ppFVar2)->contents_)._M_string_length + 8;\n      }\n      if (uVar3 != 0) {\n        length = length + (uVar3 - 1) & -uVar3;\n      }\n      length_00 = length_00 + length;\n      ppFVar2 = ppFVar2 + 1;\n    } while ((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar2);" do (compound_statement "{\n      pFVar1 = *ppFVar2;\n      length = (pFVar1->contents_)._M_string_length + 8;\n      if (pFVar1->object_ != (Relobj *)0x0) {\n        Relobj::add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);\n        length = ((*ppFVar2)->contents_)._M_string_length + 8;\n      }\n      if (uVar3 != 0) {\n        length = length + (uVar3 - 1) & -uVar3;\n      }\n      length_00 = length_00 + length;\n      ppFVar2 = ppFVar2 + 1;\n    }" { (expression_statement "pFVar1 = *ppFVar2;" (assignment_expression "pFVar1 = *ppFVar2" identifier = (pointer_expression "*ppFVar2" * identifier)) ;) (expression_statement "length = (pFVar1->contents_)._M_string_length + 8;" (assignment_expression "length = (pFVar1->contents_)._M_string_length + 8" identifier = (binary_expression "(pFVar1->contents_)._M_string_length + 8" (field_expression "(pFVar1->contents_)._M_string_length" (parenthesized_expression "(pFVar1->contents_)" ( (field_expression "pFVar1->contents_" identifier -> field_identifier) )) . field_identifier) + number_literal)) ;) (if_statement "if (pFVar1->object_ != (Relobj *)0x0) {\n        Relobj::add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);\n        length = ((*ppFVar2)->contents_)._M_string_length + 8;\n      }" if (parenthesized_expression "(pFVar1->object_ != (Relobj *)0x0)" ( (binary_expression "pFVar1->object_ != (Relobj *)0x0" (field_expression "pFVar1->object_" identifier -> field_identifier) != (cast_expression "(Relobj *)0x0" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        Relobj::add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);\n        length = ((*ppFVar2)->contents_)._M_string_length + 8;\n      }" { (labeled_statement "Relobj::add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);" statement_identifier : (ERROR ":" :) (expression_statement "add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset);" (call_expression "add_merge_mapping\n                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset)" identifier (argument_list "(pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,\n                   (pFVar1->u_).from_object.input_offset,length,length_00 + output_offset)" ( (field_expression "pFVar1->object_" identifier -> field_identifier) , identifier , (field_expression "(pFVar1->u_).from_object.shndx" (field_expression "(pFVar1->u_).from_object" (parenthesized_expression "(pFVar1->u_)" ( (field_expression "pFVar1->u_" identifier -> field_identifier) )) . field_identifier) . field_identifier) , (field_expression "(pFVar1->u_).from_object.input_offset" (field_expression "(pFVar1->u_).from_object" (parenthesized_expression "(pFVar1->u_)" ( (field_expression "pFVar1->u_" identifier -> field_identifier) )) . field_identifier) . field_identifier) , identifier , (binary_expression "length_00 + output_offset" identifier + identifier) ))) ;)) (expression_statement "length = ((*ppFVar2)->contents_)._M_string_length + 8;" (assignment_expression "length = ((*ppFVar2)->contents_)._M_string_length + 8" identifier = (binary_expression "((*ppFVar2)->contents_)._M_string_length + 8" (field_expression "((*ppFVar2)->contents_)._M_string_length" (parenthesized_expression "((*ppFVar2)->contents_)" ( (field_expression "(*ppFVar2)->contents_" (parenthesized_expression "(*ppFVar2)" ( (pointer_expression "*ppFVar2" * identifier) )) -> field_identifier) )) . field_identifier) + number_literal)) ;) })) (if_statement "if (uVar3 != 0) {\n        length = length + (uVar3 - 1) & -uVar3;\n      }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        length = length + (uVar3 - 1) & -uVar3;\n      }" { (expression_statement "length = length + (uVar3 - 1) & -uVar3;" (assignment_expression "length = length + (uVar3 - 1) & -uVar3" identifier = (binary_expression "length + (uVar3 - 1) & -uVar3" (binary_expression "length + (uVar3 - 1)" identifier + (parenthesized_expression "(uVar3 - 1)" ( (binary_expression "uVar3 - 1" identifier - number_literal) ))) & (unary_expression "-uVar3" - identifier))) ;) })) (expression_statement "length_00 = length_00 + length;" (assignment_expression "length_00 = length_00 + length" identifier = (binary_expression "length_00 + length" identifier + identifier)) ;) (expression_statement "ppFVar2 = ppFVar2 + 1;" (assignment_expression "ppFVar2 = ppFVar2 + 1" identifier = (binary_expression "ppFVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar2)" ( (binary_expression "(this->fdes_).super__Vector_base<gold::Fde*,_std::allocator<gold::Fde*>_>._M_impl.\n             _M_finish != ppFVar2" (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 length_00 + output_offset;" return (binary_expression "length_00 + output_offset" identifier + identifier) ;) })))
(translation_unit "long FUN_002a7d30(long *param_1,long param_2,uint param_3,undefined8 param_4)\n\n{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = (ulong)param_3;\n  uVar4 = param_1[0xc] + 8;\n  if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }\n  if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }\n  plVar2 = (long *)param_1[8];\n  if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }\n  return uVar4 + param_2;\n}\n\n" (function_definition "long FUN_002a7d30(long *param_1,long param_2,uint param_3,undefined8 param_4)\n\n{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = (ulong)param_3;\n  uVar4 = param_1[0xc] + 8;\n  if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }\n  if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }\n  plVar2 = (long *)param_1[8];\n  if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }\n  return uVar4 + param_2;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_002a7d30(long *param_1,long param_2,uint param_3,undefined8 param_4)" identifier (parameter_list "(long *param_1,long param_2,uint param_3,undefined8 param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = (ulong)param_3;\n  uVar4 = param_1[0xc] + 8;\n  if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }\n  if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }\n  plVar2 = (long *)param_1[8];\n  if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }\n  return uVar4 + param_2;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "uVar5 = (ulong)param_3;" (assignment_expression "uVar5 = (ulong)param_3" identifier = (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = param_1[0xc] + 8;" (assignment_expression "uVar4 = param_1[0xc] + 8" identifier = (binary_expression "param_1[0xc] + 8" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }" { (expression_statement "FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);" (call_expression "FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2)" identifier (argument_list "(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2)" ( (pointer_expression "*param_1" * identifier) , identifier , (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , identifier ))) ;) })) (if_statement "if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }" { (expression_statement "uVar4 = (uVar5 - 1) + uVar4 & -uVar5;" (assignment_expression "uVar4 = (uVar5 - 1) + uVar4 & -uVar5" identifier = (binary_expression "(uVar5 - 1) + uVar4 & -uVar5" (binary_expression "(uVar5 - 1) + uVar4" (parenthesized_expression "(uVar5 - 1)" ( (binary_expression "uVar5 - 1" identifier - number_literal) )) + identifier) & (unary_expression "-uVar5" - identifier))) ;) })) (expression_statement "plVar2 = (long *)param_1[8];" (assignment_expression "plVar2 = (long *)param_1[8]" identifier = (cast_expression "(long *)param_1[8]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) (if_statement "if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }" if (parenthesized_expression "(plVar2 != (long *)param_1[9])" ( (binary_expression "plVar2 != (long *)param_1[9]" identifier != (cast_expression "(long *)param_1[9]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ]))) )) (compound_statement "{\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }" { (do_statement "do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);" do (compound_statement "{\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    }" { (expression_statement "plVar1 = (long *)*plVar2;" (assignment_expression "plVar1 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) (expression_statement "uVar3 = plVar1[4] + 8;" (assignment_expression "uVar3 = plVar1[4] + 8" identifier = (binary_expression "plVar1[4] + 8" (subscript_expression "plVar1[4]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }" if (parenthesized_expression "(*plVar1 != 0)" ( (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" * identifier) != number_literal) )) (compound_statement "{\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }" { (expression_statement "FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);" (call_expression "FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2)" identifier (argument_list "(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2)" ( (pointer_expression "*plVar1" * identifier) , identifier , (cast_expression "(int)plVar1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar1[1]" identifier [ number_literal ])) , (subscript_expression "plVar1[2]" identifier [ number_literal ]) , identifier , (binary_expression "uVar4 + param_2" identifier + identifier) ))) ;) (expression_statement "uVar3 = *(long *)(*plVar2 + 0x20) + 8;" (assignment_expression "uVar3 = *(long *)(*plVar2 + 0x20) + 8" identifier = (binary_expression "*(long *)(*plVar2 + 0x20) + 8" (pointer_expression "*(long *)(*plVar2 + 0x20)" * (cast_expression "(long *)(*plVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar2 + 0x20)" ( (binary_expression "*plVar2 + 0x20" (pointer_expression "*plVar2" * identifier) + number_literal) )))) + number_literal)) ;) })) (if_statement "if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }" { (expression_statement "uVar3 = uVar3 + (uVar5 - 1) & -uVar5;" (assignment_expression "uVar3 = uVar3 + (uVar5 - 1) & -uVar5" identifier = (binary_expression "uVar3 + (uVar5 - 1) & -uVar5" (binary_expression "uVar3 + (uVar5 - 1)" identifier + (parenthesized_expression "(uVar5 - 1)" ( (binary_expression "uVar5 - 1" identifier - number_literal) ))) & (unary_expression "-uVar5" - identifier))) ;) })) (expression_statement "uVar4 = uVar4 + uVar3;" (assignment_expression "uVar4 = uVar4 + uVar3" identifier = (binary_expression "uVar4 + uVar3" identifier + identifier)) ;) (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((long *)param_1[9] != plVar2)" ( (binary_expression "(long *)param_1[9] != plVar2" (cast_expression "(long *)param_1[9]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ])) != identifier) )) ;) })) (return_statement "return uVar4 + param_2;" return (binary_expression "uVar4 + param_2" identifier + identifier) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + IDENT) & (unary_expression - IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) , (subscript_expression IDENT [ LIT ]) , IDENT , (binary_expression IDENT + IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) & (unary_expression - IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) })) (return_statement return (binary_expression IDENT + IDENT) ;) })))
(function_definition "long FUN_002a7d30(long *param_1,long param_2,uint param_3,undefined8 param_4)\n\n{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = (ulong)param_3;\n  uVar4 = param_1[0xc] + 8;\n  if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }\n  if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }\n  plVar2 = (long *)param_1[8];\n  if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }\n  return uVar4 + param_2;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_002a7d30(long *param_1,long param_2,uint param_3,undefined8 param_4)" (identifier "FUN_002a7d30") (parameter_list "(long *param_1,long param_2,uint param_3,undefined8 param_4)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) () ")"))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  \n  uVar5 = (ulong)param_3;\n  uVar4 = param_1[0xc] + 8;\n  if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }\n  if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }\n  plVar2 = (long *)param_1[8];\n  if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }\n  return uVar4 + param_2;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (expression_statement "uVar5 = (ulong)param_3;" (assignment_expression "uVar5 = (ulong)param_3" (identifier "uVar5") (= "=") (cast_expression "(ulong)param_3" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_3"))) (; ";")) (expression_statement "uVar4 = param_1[0xc] + 8;" (assignment_expression "uVar4 = param_1[0xc] + 8" (identifier "uVar4") (= "=") (binary_expression "param_1[0xc] + 8" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (+ "+") (number_literal "8"))) (; ";")) (if_statement "if (*param_1 != 0) {\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);\n  }" ({ "{") (expression_statement "FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);" (call_expression "FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2)" (identifier "FUN_001bd390") (argument_list "(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "param_4") (, ",") (cast_expression "(int)param_1[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (, ",") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "uVar4") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (if_statement "if (uVar5 != 0) {\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }" (if "if") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;\n  }" ({ "{") (expression_statement "uVar4 = (uVar5 - 1) + uVar4 & -uVar5;" (assignment_expression "uVar4 = (uVar5 - 1) + uVar4 & -uVar5" (identifier "uVar4") (= "=") (binary_expression "(uVar5 - 1) + uVar4 & -uVar5" (binary_expression "(uVar5 - 1) + uVar4" (parenthesized_expression "(uVar5 - 1)" (( "(") (binary_expression "uVar5 - 1" (identifier "uVar5") (- "-") (number_literal "1")) () ")")) (+ "+") (identifier "uVar4")) (& "&") (unary_expression "-uVar5" (- "-") (identifier "uVar5")))) (; ";")) (} "}"))) (expression_statement "plVar2 = (long *)param_1[8];" (assignment_expression "plVar2 = (long *)param_1[8]" (identifier "plVar2") (= "=") (cast_expression "(long *)param_1[8]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")))) (; ";")) (if_statement "if (plVar2 != (long *)param_1[9]) {\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }" (if "if") (parenthesized_expression "(plVar2 != (long *)param_1[9])" (( "(") (binary_expression "plVar2 != (long *)param_1[9]" (identifier "plVar2") (!= "!=") (cast_expression "(long *)param_1[9]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")))) () ")")) (compound_statement "{\n    do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);\n  }" ({ "{") (do_statement "do {\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    } while ((long *)param_1[9] != plVar2);" (do "do") (compound_statement "{\n      plVar1 = (long *)*plVar2;\n      uVar3 = plVar1[4] + 8;\n      if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }\n      if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }\n      uVar4 = uVar4 + uVar3;\n      plVar2 = plVar2 + 1;\n    }" ({ "{") (expression_statement "plVar1 = (long *)*plVar2;" (assignment_expression "plVar1 = (long *)*plVar2" (identifier "plVar1") (= "=") (cast_expression "(long *)*plVar2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar2" (* "*") (identifier "plVar2")))) (; ";")) (expression_statement "uVar3 = plVar1[4] + 8;" (assignment_expression "uVar3 = plVar1[4] + 8" (identifier "uVar3") (= "=") (binary_expression "plVar1[4] + 8" (subscript_expression "plVar1[4]" (identifier "plVar1") ([ "[") (number_literal "4") (] "]")) (+ "+") (number_literal "8"))) (; ";")) (if_statement "if (*plVar1 != 0) {\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }" (if "if") (parenthesized_expression "(*plVar1 != 0)" (( "(") (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);\n        uVar3 = *(long *)(*plVar2 + 0x20) + 8;\n      }" ({ "{") (expression_statement "FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);" (call_expression "FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2)" (identifier "FUN_001bd390") (argument_list "(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2)" (( "(") (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (, ",") (identifier "param_4") (, ",") (cast_expression "(int)plVar1[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "plVar1[1]" (identifier "plVar1") ([ "[") (number_literal "1") (] "]"))) (, ",") (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "uVar3") (, ",") (binary_expression "uVar4 + param_2" (identifier "uVar4") (+ "+") (identifier "param_2")) () ")"))) (; ";")) (expression_statement "uVar3 = *(long *)(*plVar2 + 0x20) + 8;" (assignment_expression "uVar3 = *(long *)(*plVar2 + 0x20) + 8" (identifier "uVar3") (= "=") (binary_expression "*(long *)(*plVar2 + 0x20) + 8" (pointer_expression "*(long *)(*plVar2 + 0x20)" (* "*") (cast_expression "(long *)(*plVar2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*plVar2 + 0x20)" (( "(") (binary_expression "*plVar2 + 0x20" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "8"))) (; ";")) (} "}"))) (if_statement "if (uVar5 != 0) {\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }" (if "if") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;\n      }" ({ "{") (expression_statement "uVar3 = uVar3 + (uVar5 - 1) & -uVar5;" (assignment_expression "uVar3 = uVar3 + (uVar5 - 1) & -uVar5" (identifier "uVar3") (= "=") (binary_expression "uVar3 + (uVar5 - 1) & -uVar5" (binary_expression "uVar3 + (uVar5 - 1)" (identifier "uVar3") (+ "+") (parenthesized_expression "(uVar5 - 1)" (( "(") (binary_expression "uVar5 - 1" (identifier "uVar5") (- "-") (number_literal "1")) () ")"))) (& "&") (unary_expression "-uVar5" (- "-") (identifier "uVar5")))) (; ";")) (} "}"))) (expression_statement "uVar4 = uVar4 + uVar3;" (assignment_expression "uVar4 = uVar4 + uVar3" (identifier "uVar4") (= "=") (binary_expression "uVar4 + uVar3" (identifier "uVar4") (+ "+") (identifier "uVar3"))) (; ";")) (expression_statement "plVar2 = plVar2 + 1;" (assignment_expression "plVar2 = plVar2 + 1" (identifier "plVar2") (= "=") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((long *)param_1[9] != plVar2)" (( "(") (binary_expression "(long *)param_1[9] != plVar2" (cast_expression "(long *)param_1[9]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))) (!= "!=") (identifier "plVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return uVar4 + param_2;" (return "return") (binary_expression "uVar4 + param_2" (identifier "uVar4") (+ "+") (identifier "param_2")) (; ";")) (} "}")))

/* DWARF original prototype: section_offset_type set_output_offset(Cie * this, section_offset_type
   output_offset, uint addralign, Output_section_data * output_data) */

type_1 __thiscall
var_4::type_2::function_1
          (type_2 *this,type_1 var_8,type_3 addralign,
          type_4 *output_data)

{
  type_5 *pFVar1;
  type_6 var_7;
  type_7 var_9;
  type_7 var_3;
  type_8 var_2;
  
  var_2 = (type_8)addralign;
  var_3 = (this->contents_)._M_string_length + 8;
  if (this->object_ != (type_9 *)0x0) {
    Relobj::var_1
              (this->object_,output_data,this->shndx_,this->input_offset_,var_3,var_8);
  }
  if (var_2 != 0) {
    var_3 = (var_2 - 1) + var_3 & -var_2;
  }
  var_7 = (this->fdes_).super__Vector_base<var_4::type_5*,var_5::allocator<var_4::type_5*>var_6>._M_impl.
            _M_start;
  if (var_7 !=
      (this->fdes_).super__Vector_base<var_4::type_5*,var_5::allocator<var_4::type_5*>var_6>._M_impl._M_finish) {
    do {
      pFVar1 = *var_7;
      var_9 = (pFVar1->contents_)._M_string_length + 8;
      if (pFVar1->object_ != (type_9 *)0x0) {
        Relobj::var_1
                  (pFVar1->object_,output_data,(pFVar1->u_).from_object.shndx,
                   (pFVar1->u_).from_object.input_offset,var_9,var_3 + var_8);
        var_9 = ((*var_7)->contents_)._M_string_length + 8;
      }
      if (var_2 != 0) {
        var_9 = var_9 + (var_2 - 1) & -var_2;
      }
      var_3 = var_3 + var_9;
      var_7 = var_7 + 1;
    } while ((this->fdes_).super__Vector_base<var_4::type_5*,var_5::allocator<var_4::type_5*>var_6>._M_impl.
             _M_finish != var_7);
  }
  return var_3 + var_8;
}


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

long MASKED(long *param_1,long param_2,uint param_3,undefined8 param_4)

{
  long *plVar1;
  long *plVar2;
  ulong uVar3;
  ulong uVar4;
  ulong uVar5;
  
  uVar5 = (ulong)param_3;
  uVar4 = param_1[0xc] + 8;
  if (*param_1 != 0) {
    FUN_001bd390(*param_1,param_4,(int)param_1[1],param_1[2],uVar4,param_2);
  }
  if (uVar5 != 0) {
    uVar4 = (uVar5 - 1) + uVar4 & -uVar5;
  }
  plVar2 = (long *)param_1[8];
  if (plVar2 != (long *)param_1[9]) {
    do {
      plVar1 = (long *)*plVar2;
      uVar3 = plVar1[4] + 8;
      if (*plVar1 != 0) {
        FUN_001bd390(*plVar1,param_4,(int)plVar1[1],plVar1[2],uVar3,uVar4 + param_2);
        uVar3 = *(long *)(*plVar2 + 0x20) + 8;
      }
      if (uVar5 != 0) {
        uVar3 = uVar3 + (uVar5 - 1) & -uVar5;
      }
      uVar4 = uVar4 + uVar3;
      plVar2 = plVar2 + 1;
    } while ((long *)param_1[9] != plVar2);
  }
  return uVar4 + param_2;
}

