
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void finalize_symbols(Output_section_definition * this, Symbol_table *
   symtab, Layout * layout, uint64_t * dot_value) */

void __thiscall
gold::Output_section_definition::finalize_symbols
          (Output_section_definition *this,Symbol_table *symtab,Layout *layout,uint64_t *dot_value)

{
  Output_section_element *pOVar1;
  uint64_t dot_value_00;
  uint64_t uVar2;
  pointer ppOVar3;
  Output_section *dot_section;
  
  dot_section = this->output_section_;
  if (dot_section == (Output_section *)0x0) {
    dot_value_00 = *dot_value;
    if (this->address_ != (Expression *)0x0) {
      dot_value_00 = Expression::eval_with_dot
                               (this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0
                                ,(Output_section **)0x0,(uint64_t *)0x0,false);
    }
    if ((this->align_ != (Expression *)0x0) &&
       (uVar2 = Expression::eval_with_dot
                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,
                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0)) {
      dot_value_00 = (dot_value_00 - 1) + uVar2 & -uVar2;
    }
    *dot_value = dot_value_00;
    dot_section = this->output_section_;
  }
  else {
    if (((dot_section->super_Output_data).field_0x20 & 1) == 0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/output.h",0xc5,"address");
    }
    *dot_value = (dot_section->super_Output_data).address_;
  }
  ppOVar3 = (this->elements_).
            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
            ._M_impl._M_start;
  if (ppOVar3 !=
      (this->elements_).
      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
      ._M_impl._M_finish) {
    do {
      pOVar1 = *ppOVar3;
      ppOVar3 = ppOVar3 + 1;
      (*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&dot_section);
    } while ((this->elements_).
             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
             ._M_impl._M_finish != ppOVar3);
  }
  return;
}



void FUN_002c24f0(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)

{
  long *plVar1;
  ulong uVar2;
  long lVar3;
  undefined8 *puVar4;
  long local_40 [2];
  
  local_40[0] = *(long *)(param_1 + 0x78);
  if (local_40[0] == 0) {
    uVar2 = *param_4;
    if (*(long *)(param_1 + 0x28) != 0) {
      uVar2 = FUN_00316c50();
    }
    if ((*(long *)(param_1 + 0x38) != 0) &&
       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),
       lVar3 != 0)) {
      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;
    }
    *param_4 = uVar2;
    local_40[0] = *(long *)(param_1 + 0x78);
  }
  else {
    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_001e9890("../../gold/output.h",0xc5,"address");
    }
    *param_4 = *(ulong *)(local_40[0] + 8);
  }
  puVar4 = *(undefined8 **)(param_1 + 0x60);
  if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {
    do {
      plVar1 = (long *)*puVar4;
      puVar4 = puVar4 + 1;
      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);
    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);
  }
  return;
}


PUSH R15
PUSH R14
MOV R14,RDX
PUSH R13
MOV R13,RSI
PUSH R12
MOV R12,RCX
PUSH RBP
MOV RBP,RDI
PUSH RBX
SUB RSP,0x18
MOV RAX,qword ptr [RDI + 0x78]
TEST RAX,RAX
JZ 0x002c2570
TEST byte ptr [RAX + 0x20],0x1
JZ 0x002c25e8
MOV RDX,qword ptr [RAX + 0x8]
MOV qword ptr [RCX],RDX
MOV qword ptr [RSP + 0x8],RAX
MOV RBX,qword ptr [RBP + 0x60]
LEA R15,[RSP + 0x8]
CMP RBX,qword ptr [RBP + 0x68]
JZ 0x002c255f
NOP dword ptr [RAX + RAX*0x1]
MOV RDI,qword ptr [RBX]
MOV R8,R15
MOV RCX,R12
MOV RDX,R14
MOV RSI,R13
ADD RBX,0x8
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x20]
CMP qword ptr [RBP + 0x68],RBX
JNZ 0x002c2540
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDI,qword ptr [RDI + 0x28]
MOV RBX,qword ptr [RCX]
TEST RDI,RDI
JZ 0x002c259d
SUB RSP,0x8
MOV R8,RBX
XOR R9D,R9D
MOV ECX,0x1
PUSH 0x0
PUSH 0x0
PUSH 0x0
CALL 0x00316c50
ADD RSP,0x20
MOV RBX,RAX
MOV RDI,qword ptr [RBP + 0x38]
TEST RDI,RDI
JZ 0x002c25db
SUB RSP,0x8
MOV R8,qword ptr [R12]
XOR R9D,R9D
MOV ECX,0x1
PUSH 0x0
MOV RDX,R14
MOV RSI,R13
PUSH 0x0
PUSH 0x0
CALL 0x00316c50
ADD RSP,0x20
TEST RAX,RAX
JZ 0x002c25db
LEA RBX,[RBX + RAX*0x1 + -0x1]
NEG RAX
AND RBX,RAX
MOV qword ptr [R12],RBX
MOV RAX,qword ptr [RBP + 0x78]
JMP 0x002c2524
LEA RDX,[0x3f3ee8]
MOV ESI,0xc5
LEA RDI,[0x3de409]
CALL 0x001e9890
(translation_unit "void FUN_002c24f0(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  long local_40 [2];\n  \n  local_40[0] = *(long *)(param_1 + 0x78);\n  if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }\n  puVar4 = *(undefined8 **)(param_1 + 0x60);\n  if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }\n  return;\n}\n\n" (function_definition "void FUN_002c24f0(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  long local_40 [2];\n  \n  local_40[0] = *(long *)(param_1 + 0x78);\n  if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }\n  puVar4 = *(undefined8 **)(param_1 + 0x60);\n  if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002c24f0(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "ulong *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  long local_40 [2];\n  \n  local_40[0] = *(long *)(param_1 + 0x78);\n  if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }\n  puVar4 = *(undefined8 **)(param_1 + 0x60);\n  if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "long local_40 [2];" (sized_type_specifier "long" long) (array_declarator "local_40 [2]" identifier [ number_literal ]) ;) (expression_statement "local_40[0] = *(long *)(param_1 + 0x78);" (assignment_expression "local_40[0] = *(long *)(param_1 + 0x78)" (subscript_expression "local_40[0]" identifier [ number_literal ]) = (pointer_expression "*(long *)(param_1 + 0x78)" * (cast_expression "(long *)(param_1 + 0x78)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) ))))) ;) (if_statement "if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }" if (parenthesized_expression "(local_40[0] == 0)" ( (binary_expression "local_40[0] == 0" (subscript_expression "local_40[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }" { (expression_statement "uVar2 = *param_4;" (assignment_expression "uVar2 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (if_statement "if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }" if (parenthesized_expression "(*(long *)(param_1 + 0x28) != 0)" ( (binary_expression "*(long *)(param_1 + 0x28) != 0" (pointer_expression "*(long *)(param_1 + 0x28)" * (cast_expression "(long *)(param_1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar2 = FUN_00316c50();\n    }" { (expression_statement "uVar2 = FUN_00316c50();" (assignment_expression "uVar2 = FUN_00316c50()" identifier = (call_expression "FUN_00316c50()" identifier (argument_list "()" ( )))) ;) })) (if_statement "if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }" if (parenthesized_expression "((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0))" ( (binary_expression "(*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)" (parenthesized_expression "(*(long *)(param_1 + 0x38) != 0)" ( (binary_expression "*(long *)(param_1 + 0x38) != 0" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)" ( (comma_expression "lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0" (assignment_expression "lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0)" identifier = (call_expression "FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0)" identifier (argument_list "(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0)" ( (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) , identifier , identifier , number_literal , (pointer_expression "*param_4" * identifier) , number_literal , number_literal , number_literal , number_literal )))) , (binary_expression "lVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }" { (expression_statement "uVar2 = (uVar2 - 1) + lVar3 & -lVar3;" (assignment_expression "uVar2 = (uVar2 - 1) + lVar3 & -lVar3" identifier = (binary_expression "(uVar2 - 1) + lVar3 & -lVar3" (binary_expression "(uVar2 - 1) + lVar3" (parenthesized_expression "(uVar2 - 1)" ( (binary_expression "uVar2 - 1" identifier - number_literal) )) + identifier) & (unary_expression "-lVar3" - identifier))) ;) })) (expression_statement "*param_4 = uVar2;" (assignment_expression "*param_4 = uVar2" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "local_40[0] = *(long *)(param_1 + 0x78);" (assignment_expression "local_40[0] = *(long *)(param_1 + 0x78)" (subscript_expression "local_40[0]" identifier [ number_literal ]) = (pointer_expression "*(long *)(param_1 + 0x78)" * (cast_expression "(long *)(param_1 + 0x78)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }" else (compound_statement "{\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }" { (if_statement "if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }" if (parenthesized_expression "((*(byte *)(local_40[0] + 0x20) & 1) == 0)" ( (binary_expression "(*(byte *)(local_40[0] + 0x20) & 1) == 0" (parenthesized_expression "(*(byte *)(local_40[0] + 0x20) & 1)" ( (binary_expression "*(byte *)(local_40[0] + 0x20) & 1" (pointer_expression "*(byte *)(local_40[0] + 0x20)" * (cast_expression "(byte *)(local_40[0] + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_40[0] + 0x20)" ( (binary_expression "local_40[0] + 0x20" (subscript_expression "local_40[0]" identifier [ number_literal ]) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }" { comment (expression_statement "FUN_001e9890("../../gold/output.h",0xc5,"address");" (call_expression "FUN_001e9890("../../gold/output.h",0xc5,"address")" identifier (argument_list "("../../gold/output.h",0xc5,"address")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""address"" " string_content ") ))) ;) })) (expression_statement "*param_4 = *(ulong *)(local_40[0] + 8);" (assignment_expression "*param_4 = *(ulong *)(local_40[0] + 8)" (pointer_expression "*param_4" * identifier) = (pointer_expression "*(ulong *)(local_40[0] + 8)" * (cast_expression "(ulong *)(local_40[0] + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_40[0] + 8)" ( (binary_expression "local_40[0] + 8" (subscript_expression "local_40[0]" identifier [ number_literal ]) + number_literal) ))))) ;) }))) (expression_statement "puVar4 = *(undefined8 **)(param_1 + 0x60);" (assignment_expression "puVar4 = *(undefined8 **)(param_1 + 0x60)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x60)" * (cast_expression "(undefined8 **)(param_1 + 0x60)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }" if (parenthesized_expression "(puVar4 != *(undefined8 **)(param_1 + 0x68))" ( (binary_expression "puVar4 != *(undefined8 **)(param_1 + 0x68)" identifier != (pointer_expression "*(undefined8 **)(param_1 + 0x68)" * (cast_expression "(undefined8 **)(param_1 + 0x68)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }" { (do_statement "do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);" do (compound_statement "{\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    }" { (expression_statement "plVar1 = (long *)*puVar4;" (assignment_expression "plVar1 = (long *)*puVar4" identifier = (cast_expression "(long *)*puVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "(**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);" (call_expression "(**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" ( (pointer_expression "**(code **)(*plVar1 + 0x20)" * (pointer_expression "*(code **)(*plVar1 + 0x20)" * (cast_expression "(code **)(*plVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x20)" ( (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,param_2,param_3,param_4,local_40)" ( identifier , identifier , identifier , identifier , identifier ))) ;) }) while (parenthesized_expression "(*(undefined8 **)(param_1 + 0x68) != puVar4)" ( (binary_expression "*(undefined8 **)(param_1 + 0x68) != puVar4" (pointer_expression "*(undefined8 **)(param_1 + 0x68)" * (cast_expression "(undefined8 **)(param_1 + 0x68)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void finalize_symbols(Output_section_definition * this, Symbol_table *\n   symtab, Layout * layout, uint64_t * dot_value) */\n\nvoid __thiscall\ngold::Output_section_definition::finalize_symbols\n          (Output_section_definition *this,Symbol_table *symtab,Layout *layout,uint64_t *dot_value)\n\n{\n  Output_section_element *pOVar1;\n  uint64_t dot_value_00;\n  uint64_t uVar2;\n  pointer ppOVar3;\n  Output_section *dot_section;\n  \n  dot_section = this->output_section_;\n  if (dot_section == (Output_section *)0x0) {\n    dot_value_00 = *dot_value;\n    if (this->address_ != (Expression *)0x0) {\n      dot_value_00 = Expression::eval_with_dot\n                               (this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0\n                                ,(Output_section **)0x0,(uint64_t *)0x0,false);\n    }\n    if ((this->align_ != (Expression *)0x0) &&\n       (uVar2 = Expression::eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0)) {\n      dot_value_00 = (dot_value_00 - 1) + uVar2 & -uVar2;\n    }\n    *dot_value = dot_value_00;\n    dot_section = this->output_section_;\n  }\n  else {\n    if (((dot_section->super_Output_data).field_0x20 & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0xc5,"address");\n    }\n    *dot_value = (dot_section->super_Output_data).address_;\n  }\n  ppOVar3 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl._M_start;\n  if (ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish) {\n    do {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      (*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&dot_section);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Output_section_definition::finalize_symbols\n          (Output_section_definition *this,Symbol_table *symtab,Layout *layout,uint64_t *dot_value)\n\n{\n  Output_section_element *pOVar1;\n  uint64_t dot_value_00;\n  uint64_t uVar2;\n  pointer ppOVar3;\n  Output_section *dot_section;\n  \n  dot_section = this->output_section_;\n  if (dot_section == (Output_section *)0x0) {\n    dot_value_00 = *dot_value;\n    if (this->address_ != (Expression *)0x0) {\n      dot_value_00 = Expression::eval_with_dot\n                               (this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0\n                                ,(Output_section **)0x0,(uint64_t *)0x0,false);\n    }\n    if ((this->align_ != (Expression *)0x0) &&\n       (uVar2 = Expression::eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0)) {\n      dot_value_00 = (dot_value_00 - 1) + uVar2 & -uVar2;\n    }\n    *dot_value = dot_value_00;\n    dot_section = this->output_section_;\n  }\n  else {\n    if (((dot_section->super_Output_data).field_0x20 & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0xc5,"address");\n    }\n    *dot_value = (dot_section->super_Output_data).address_;\n  }\n  ppOVar3 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl._M_start;\n  if (ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish) {\n    do {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      (*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&dot_section);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section_definition::" identifier : : identifier : :) (function_declarator "finalize_symbols\n          (Output_section_definition *this,Symbol_table *symtab,Layout *layout,uint64_t *dot_value)" identifier (parameter_list "(Output_section_definition *this,Symbol_table *symtab,Layout *layout,uint64_t *dot_value)" ( (parameter_declaration "Output_section_definition *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "uint64_t *dot_value" primitive_type (pointer_declarator "*dot_value" * identifier)) ))) (compound_statement "{\n  Output_section_element *pOVar1;\n  uint64_t dot_value_00;\n  uint64_t uVar2;\n  pointer ppOVar3;\n  Output_section *dot_section;\n  \n  dot_section = this->output_section_;\n  if (dot_section == (Output_section *)0x0) {\n    dot_value_00 = *dot_value;\n    if (this->address_ != (Expression *)0x0) {\n      dot_value_00 = Expression::eval_with_dot\n                               (this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0\n                                ,(Output_section **)0x0,(uint64_t *)0x0,false);\n    }\n    if ((this->align_ != (Expression *)0x0) &&\n       (uVar2 = Expression::eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0)) {\n      dot_value_00 = (dot_value_00 - 1) + uVar2 & -uVar2;\n    }\n    *dot_value = dot_value_00;\n    dot_section = this->output_section_;\n  }\n  else {\n    if (((dot_section->super_Output_data).field_0x20 & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0xc5,"address");\n    }\n    *dot_value = (dot_section->super_Output_data).address_;\n  }\n  ppOVar3 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl._M_start;\n  if (ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish) {\n    do {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      (*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&dot_section);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);\n  }\n  return;\n}" { (declaration "Output_section_element *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "uint64_t dot_value_00;" primitive_type identifier ;) (declaration "uint64_t uVar2;" primitive_type identifier ;) (declaration "pointer ppOVar3;" type_identifier identifier ;) (declaration "Output_section *dot_section;" type_identifier (pointer_declarator "*dot_section" * identifier) ;) (expression_statement "dot_section = this->output_section_;" (assignment_expression "dot_section = this->output_section_" identifier = (field_expression "this->output_section_" identifier -> field_identifier)) ;) (if_statement "if (dot_section == (Output_section *)0x0) {\n    dot_value_00 = *dot_value;\n    if (this->address_ != (Expression *)0x0) {\n      dot_value_00 = Expression::eval_with_dot\n                               (this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0\n                                ,(Output_section **)0x0,(uint64_t *)0x0,false);\n    }\n    if ((this->align_ != (Expression *)0x0) &&\n       (uVar2 = Expression::eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0)) {\n      dot_value_00 = (dot_value_00 - 1) + uVar2 & -uVar2;\n    }\n    *dot_value = dot_value_00;\n    dot_section = this->output_section_;\n  }\n  else {\n    if (((dot_section->super_Output_data).field_0x20 & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0xc5,"address");\n    }\n    *dot_value = (dot_section->super_Output_data).address_;\n  }" if (parenthesized_expression "(dot_section == (Output_section *)0x0)" ( (binary_expression "dot_section == (Output_section *)0x0" identifier == (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dot_value_00 = *dot_value;\n    if (this->address_ != (Expression *)0x0) {\n      dot_value_00 = Expression::eval_with_dot\n                               (this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0\n                                ,(Output_section **)0x0,(uint64_t *)0x0,false);\n    }\n    if ((this->align_ != (Expression *)0x0) &&\n       (uVar2 = Expression::eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0)) {\n      dot_value_00 = (dot_value_00 - 1) + uVar2 & -uVar2;\n    }\n    *dot_value = dot_value_00;\n    dot_section = this->output_section_;\n  }" { (expression_statement "dot_value_00 = *dot_value;" (assignment_expression "dot_value_00 = *dot_value" identifier = (pointer_expression "*dot_value" * identifier)) ;) (if_statement "if (this->address_ != (Expression *)0x0) {\n      dot_value_00 = Expression::eval_with_dot\n                               (this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0\n                                ,(Output_section **)0x0,(uint64_t *)0x0,false);\n    }" if (parenthesized_expression "(this->address_ != (Expression *)0x0)" ( (binary_expression "this->address_ != (Expression *)0x0" (field_expression "this->address_" identifier -> field_identifier) != (cast_expression "(Expression *)0x0" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      dot_value_00 = Expression::eval_with_dot\n                               (this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0\n                                ,(Output_section **)0x0,(uint64_t *)0x0,false);\n    }" { (ERROR "dot_value_00 = Expression::" (assignment_expression "dot_value_00 = Expression" identifier = identifier) : :) (expression_statement "eval_with_dot\n                               (this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0\n                                ,(Output_section **)0x0,(uint64_t *)0x0,false);" (call_expression "eval_with_dot\n                               (this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0\n                                ,(Output_section **)0x0,(uint64_t *)0x0,false)" identifier (argument_list "(this->address_,symtab,layout,true,dot_value_00,(Output_section *)0x0\n                                ,(Output_section **)0x0,(uint64_t *)0x0,false)" ( (field_expression "this->address_" identifier -> field_identifier) , identifier , identifier , true , identifier , (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Output_section **)0x0" ( (type_descriptor "Output_section **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (cast_expression "(uint64_t *)0x0" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , false ))) ;) })) (if_statement "if ((this->align_ != (Expression *)0x0) &&\n       (uVar2 = Expression::eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0)) {\n      dot_value_00 = (dot_value_00 - 1) + uVar2 & -uVar2;\n    }" if (parenthesized_expression "((this->align_ != (Expression *)0x0) &&\n       (uVar2 = Expression::eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0))" ( (binary_expression "(this->align_ != (Expression *)0x0) &&\n       (uVar2 = Expression::eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0)" (parenthesized_expression "(this->align_ != (Expression *)0x0)" ( (binary_expression "this->align_ != (Expression *)0x0" (field_expression "this->align_" identifier -> field_identifier) != (cast_expression "(Expression *)0x0" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(uVar2 = Expression::eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0)" ( (ERROR "uVar2 = Expression::" (assignment_expression "uVar2 = Expression" identifier = identifier) : :) (comma_expression "eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false), uVar2 != 0" (call_expression "eval_with_dot\n                          (this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false)" identifier (argument_list "(this->align_,symtab,layout,true,*dot_value,(Output_section *)0x0,\n                           (Output_section **)0x0,(uint64_t *)0x0,false)" ( (field_expression "this->align_" identifier -> field_identifier) , identifier , identifier , true , (pointer_expression "*dot_value" * identifier) , (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Output_section **)0x0" ( (type_descriptor "Output_section **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (cast_expression "(uint64_t *)0x0" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , false ))) , (binary_expression "uVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      dot_value_00 = (dot_value_00 - 1) + uVar2 & -uVar2;\n    }" { (expression_statement "dot_value_00 = (dot_value_00 - 1) + uVar2 & -uVar2;" (assignment_expression "dot_value_00 = (dot_value_00 - 1) + uVar2 & -uVar2" identifier = (binary_expression "(dot_value_00 - 1) + uVar2 & -uVar2" (binary_expression "(dot_value_00 - 1) + uVar2" (parenthesized_expression "(dot_value_00 - 1)" ( (binary_expression "dot_value_00 - 1" identifier - number_literal) )) + identifier) & (unary_expression "-uVar2" - identifier))) ;) })) (expression_statement "*dot_value = dot_value_00;" (assignment_expression "*dot_value = dot_value_00" (pointer_expression "*dot_value" * identifier) = identifier) ;) (expression_statement "dot_section = this->output_section_;" (assignment_expression "dot_section = this->output_section_" identifier = (field_expression "this->output_section_" identifier -> field_identifier)) ;) }) (else_clause "else {\n    if (((dot_section->super_Output_data).field_0x20 & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0xc5,"address");\n    }\n    *dot_value = (dot_section->super_Output_data).address_;\n  }" else (compound_statement "{\n    if (((dot_section->super_Output_data).field_0x20 & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0xc5,"address");\n    }\n    *dot_value = (dot_section->super_Output_data).address_;\n  }" { (if_statement "if (((dot_section->super_Output_data).field_0x20 & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0xc5,"address");\n    }" if (parenthesized_expression "(((dot_section->super_Output_data).field_0x20 & 1) == 0)" ( (binary_expression "((dot_section->super_Output_data).field_0x20 & 1) == 0" (parenthesized_expression "((dot_section->super_Output_data).field_0x20 & 1)" ( (binary_expression "(dot_section->super_Output_data).field_0x20 & 1" (field_expression "(dot_section->super_Output_data).field_0x20" (parenthesized_expression "(dot_section->super_Output_data)" ( (field_expression "dot_section->super_Output_data" identifier -> field_identifier) )) . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.h",0xc5,"address");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/output.h",0xc5,"address");" (call_expression "do_gold_unreachable("../../gold/output.h",0xc5,"address")" identifier (argument_list "("../../gold/output.h",0xc5,"address")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""address"" " string_content ") ))) ;) })) (expression_statement "*dot_value = (dot_section->super_Output_data).address_;" (assignment_expression "*dot_value = (dot_section->super_Output_data).address_" (pointer_expression "*dot_value" * identifier) = (field_expression "(dot_section->super_Output_data).address_" (parenthesized_expression "(dot_section->super_Output_data)" ( (field_expression "dot_section->super_Output_data" identifier -> field_identifier) )) . field_identifier)) ;) }))) (expression_statement "ppOVar3 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl._M_start;" (field_expression "ppOVar3 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl._M_start" (field_expression "ppOVar3 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl" (binary_expression "ppOVar3 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "ppOVar3 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "ppOVar3 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std" (assignment_expression "ppOVar3 = (this->elements_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->elements_).\n            super__Vector_base<gold" (field_expression "(this->elements_).\n            super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish) {\n    do {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      (*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&dot_section);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);\n  }" if (parenthesized_expression "(ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish)" ( (field_expression "ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish" (field_expression "ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl" (binary_expression "ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std" (binary_expression "ppOVar3 !=\n      (this->elements_).\n      super__Vector_base<gold" identifier != (binary_expression "(this->elements_).\n      super__Vector_base<gold" (field_expression "(this->elements_).\n      super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      (*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&dot_section);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);\n  }" { (do_statement "do {\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      (*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&dot_section);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);" do (compound_statement "{\n      pOVar1 = *ppOVar3;\n      ppOVar3 = ppOVar3 + 1;\n      (*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&dot_section);\n    }" { (expression_statement "pOVar1 = *ppOVar3;" (assignment_expression "pOVar1 = *ppOVar3" identifier = (pointer_expression "*ppOVar3" * identifier)) ;) (expression_statement "ppOVar3 = ppOVar3 + 1;" (assignment_expression "ppOVar3 = ppOVar3 + 1" identifier = (binary_expression "ppOVar3 + 1" identifier + number_literal)) ;) (expression_statement "(*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&dot_section);" (call_expression "(*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&dot_section)" (parenthesized_expression "(*pOVar1->_vptr_Output_section_element[4])" ( (pointer_expression "*pOVar1->_vptr_Output_section_element[4]" * (subscript_expression "pOVar1->_vptr_Output_section_element[4]" (field_expression "pOVar1->_vptr_Output_section_element" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pOVar1,symtab,layout,dot_value,&dot_section)" ( identifier , identifier , identifier , identifier , (pointer_expression "&dot_section" & identifier) ))) ;) }) while (parenthesized_expression "((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3)" ( (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3" (field_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish" (field_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl" (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std" (binary_expression "(this->elements_).\n             super__Vector_base<gold" (field_expression "(this->elements_).\n             super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002c24f0(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  long local_40 [2];\n  \n  local_40[0] = *(long *)(param_1 + 0x78);\n  if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }\n  puVar4 = *(undefined8 **)(param_1 + 0x60);\n  if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }\n  return;\n}\n\n" (function_definition "void FUN_002c24f0(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  long local_40 [2];\n  \n  local_40[0] = *(long *)(param_1 + 0x78);\n  if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }\n  puVar4 = *(undefined8 **)(param_1 + 0x60);\n  if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002c24f0(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "ulong *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  long local_40 [2];\n  \n  local_40[0] = *(long *)(param_1 + 0x78);\n  if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }\n  puVar4 = *(undefined8 **)(param_1 + 0x60);\n  if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "long local_40 [2];" (sized_type_specifier "long" long) (array_declarator "local_40 [2]" identifier [ number_literal ]) ;) (expression_statement "local_40[0] = *(long *)(param_1 + 0x78);" (assignment_expression "local_40[0] = *(long *)(param_1 + 0x78)" (subscript_expression "local_40[0]" identifier [ number_literal ]) = (pointer_expression "*(long *)(param_1 + 0x78)" * (cast_expression "(long *)(param_1 + 0x78)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) ))))) ;) (if_statement "if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }" if (parenthesized_expression "(local_40[0] == 0)" ( (binary_expression "local_40[0] == 0" (subscript_expression "local_40[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }" { (expression_statement "uVar2 = *param_4;" (assignment_expression "uVar2 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (if_statement "if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }" if (parenthesized_expression "(*(long *)(param_1 + 0x28) != 0)" ( (binary_expression "*(long *)(param_1 + 0x28) != 0" (pointer_expression "*(long *)(param_1 + 0x28)" * (cast_expression "(long *)(param_1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar2 = FUN_00316c50();\n    }" { (expression_statement "uVar2 = FUN_00316c50();" (assignment_expression "uVar2 = FUN_00316c50()" identifier = (call_expression "FUN_00316c50()" identifier (argument_list "()" ( )))) ;) })) (if_statement "if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }" if (parenthesized_expression "((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0))" ( (binary_expression "(*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)" (parenthesized_expression "(*(long *)(param_1 + 0x38) != 0)" ( (binary_expression "*(long *)(param_1 + 0x38) != 0" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)" ( (comma_expression "lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0" (assignment_expression "lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0)" identifier = (call_expression "FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0)" identifier (argument_list "(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0)" ( (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) , identifier , identifier , number_literal , (pointer_expression "*param_4" * identifier) , number_literal , number_literal , number_literal , number_literal )))) , (binary_expression "lVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }" { (expression_statement "uVar2 = (uVar2 - 1) + lVar3 & -lVar3;" (assignment_expression "uVar2 = (uVar2 - 1) + lVar3 & -lVar3" identifier = (binary_expression "(uVar2 - 1) + lVar3 & -lVar3" (binary_expression "(uVar2 - 1) + lVar3" (parenthesized_expression "(uVar2 - 1)" ( (binary_expression "uVar2 - 1" identifier - number_literal) )) + identifier) & (unary_expression "-lVar3" - identifier))) ;) })) (expression_statement "*param_4 = uVar2;" (assignment_expression "*param_4 = uVar2" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "local_40[0] = *(long *)(param_1 + 0x78);" (assignment_expression "local_40[0] = *(long *)(param_1 + 0x78)" (subscript_expression "local_40[0]" identifier [ number_literal ]) = (pointer_expression "*(long *)(param_1 + 0x78)" * (cast_expression "(long *)(param_1 + 0x78)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }" else (compound_statement "{\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }" { (if_statement "if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }" if (parenthesized_expression "((*(byte *)(local_40[0] + 0x20) & 1) == 0)" ( (binary_expression "(*(byte *)(local_40[0] + 0x20) & 1) == 0" (parenthesized_expression "(*(byte *)(local_40[0] + 0x20) & 1)" ( (binary_expression "*(byte *)(local_40[0] + 0x20) & 1" (pointer_expression "*(byte *)(local_40[0] + 0x20)" * (cast_expression "(byte *)(local_40[0] + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_40[0] + 0x20)" ( (binary_expression "local_40[0] + 0x20" (subscript_expression "local_40[0]" identifier [ number_literal ]) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }" { (expression_statement "FUN_001e9890("../../gold/output.h",0xc5,"address");" (call_expression "FUN_001e9890("../../gold/output.h",0xc5,"address")" identifier (argument_list "("../../gold/output.h",0xc5,"address")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""address"" " string_content ") ))) ;) })) (expression_statement "*param_4 = *(ulong *)(local_40[0] + 8);" (assignment_expression "*param_4 = *(ulong *)(local_40[0] + 8)" (pointer_expression "*param_4" * identifier) = (pointer_expression "*(ulong *)(local_40[0] + 8)" * (cast_expression "(ulong *)(local_40[0] + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_40[0] + 8)" ( (binary_expression "local_40[0] + 8" (subscript_expression "local_40[0]" identifier [ number_literal ]) + number_literal) ))))) ;) }))) (expression_statement "puVar4 = *(undefined8 **)(param_1 + 0x60);" (assignment_expression "puVar4 = *(undefined8 **)(param_1 + 0x60)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x60)" * (cast_expression "(undefined8 **)(param_1 + 0x60)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }" if (parenthesized_expression "(puVar4 != *(undefined8 **)(param_1 + 0x68))" ( (binary_expression "puVar4 != *(undefined8 **)(param_1 + 0x68)" identifier != (pointer_expression "*(undefined8 **)(param_1 + 0x68)" * (cast_expression "(undefined8 **)(param_1 + 0x68)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }" { (do_statement "do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);" do (compound_statement "{\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    }" { (expression_statement "plVar1 = (long *)*puVar4;" (assignment_expression "plVar1 = (long *)*puVar4" identifier = (cast_expression "(long *)*puVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "(**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);" (call_expression "(**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" ( (pointer_expression "**(code **)(*plVar1 + 0x20)" * (pointer_expression "*(code **)(*plVar1 + 0x20)" * (cast_expression "(code **)(*plVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x20)" ( (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,param_2,param_3,param_4,local_40)" ( identifier , identifier , identifier , identifier , identifier ))) ;) }) while (parenthesized_expression "(*(undefined8 **)(param_1 + 0x68) != puVar4)" ( (binary_expression "*(undefined8 **)(param_1 + 0x68) != puVar4" (pointer_expression "*(undefined8 **)(param_1 + 0x68)" * (cast_expression "(undefined8 **)(param_1 + 0x68)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , LIT , (pointer_expression * IDENT) , LIT , LIT , LIT , LIT )))) , (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 (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) }))) (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 { (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 IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( 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_002c24f0(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  long local_40 [2];\n  \n  local_40[0] = *(long *)(param_1 + 0x78);\n  if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }\n  puVar4 = *(undefined8 **)(param_1 + 0x60);\n  if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002c24f0(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)" (identifier "FUN_002c24f0") (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "ulong *param_4" (type_identifier "ulong") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  long local_40 [2];\n  \n  local_40[0] = *(long *)(param_1 + 0x78);\n  if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }\n  puVar4 = *(undefined8 **)(param_1 + 0x60);\n  if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined8 *puVar4;" (type_identifier "undefined8") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "long local_40 [2];" (sized_type_specifier "long" (long "long")) (array_declarator "local_40 [2]" (identifier "local_40") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "local_40[0] = *(long *)(param_1 + 0x78);" (assignment_expression "local_40[0] = *(long *)(param_1 + 0x78)" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*(long *)(param_1 + 0x78)" (* "*") (cast_expression "(long *)(param_1 + 0x78)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x78)" (( "(") (binary_expression "param_1 + 0x78" (identifier "param_1") (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (if_statement "if (local_40[0] == 0) {\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }\n  else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }" (if "if") (parenthesized_expression "(local_40[0] == 0)" (( "(") (binary_expression "local_40[0] == 0" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = *param_4;\n    if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }\n    if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }\n    *param_4 = uVar2;\n    local_40[0] = *(long *)(param_1 + 0x78);\n  }" ({ "{") (expression_statement "uVar2 = *param_4;" (assignment_expression "uVar2 = *param_4" (identifier "uVar2") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (if_statement "if (*(long *)(param_1 + 0x28) != 0) {\n      uVar2 = FUN_00316c50();\n    }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x28) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x28) != 0" (pointer_expression "*(long *)(param_1 + 0x28)" (* "*") (cast_expression "(long *)(param_1 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = FUN_00316c50();\n    }" ({ "{") (expression_statement "uVar2 = FUN_00316c50();" (assignment_expression "uVar2 = FUN_00316c50()" (identifier "uVar2") (= "=") (call_expression "FUN_00316c50()" (identifier "FUN_00316c50") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (if_statement "if ((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)) {\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }" (if "if") (parenthesized_expression "((*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0))" (( "(") (binary_expression "(*(long *)(param_1 + 0x38) != 0) &&\n       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)" (parenthesized_expression "(*(long *)(param_1 + 0x38) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x38) != 0" (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0)" (( "(") (comma_expression "lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),\n       lVar3 != 0" (assignment_expression "lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0)" (identifier "lVar3") (= "=") (call_expression "FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0)" (identifier "FUN_00316c50") (argument_list "(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0)" (( "(") (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "1") (, ",") (pointer_expression "*param_4" (* "*") (identifier "param_4")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (, ",") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;\n    }" ({ "{") (expression_statement "uVar2 = (uVar2 - 1) + lVar3 & -lVar3;" (assignment_expression "uVar2 = (uVar2 - 1) + lVar3 & -lVar3" (identifier "uVar2") (= "=") (binary_expression "(uVar2 - 1) + lVar3 & -lVar3" (binary_expression "(uVar2 - 1) + lVar3" (parenthesized_expression "(uVar2 - 1)" (( "(") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1")) () ")")) (+ "+") (identifier "lVar3")) (& "&") (unary_expression "-lVar3" (- "-") (identifier "lVar3")))) (; ";")) (} "}"))) (expression_statement "*param_4 = uVar2;" (assignment_expression "*param_4 = uVar2" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "local_40[0] = *(long *)(param_1 + 0x78);" (assignment_expression "local_40[0] = *(long *)(param_1 + 0x78)" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*(long *)(param_1 + 0x78)" (* "*") (cast_expression "(long *)(param_1 + 0x78)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x78)" (( "(") (binary_expression "param_1 + 0x78" (identifier "param_1") (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }" (else "else") (compound_statement "{\n    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }\n    *param_4 = *(ulong *)(local_40[0] + 8);\n  }" ({ "{") (if_statement "if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }" (if "if") (parenthesized_expression "((*(byte *)(local_40[0] + 0x20) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(local_40[0] + 0x20) & 1) == 0" (parenthesized_expression "(*(byte *)(local_40[0] + 0x20) & 1)" (( "(") (binary_expression "*(byte *)(local_40[0] + 0x20) & 1" (pointer_expression "*(byte *)(local_40[0] + 0x20)" (* "*") (cast_expression "(byte *)(local_40[0] + 0x20)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_40[0] + 0x20)" (( "(") (binary_expression "local_40[0] + 0x20" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "0x20")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_001e9890("../../gold/output.h",0xc5,"address");\n    }" ({ "{") (expression_statement "FUN_001e9890("../../gold/output.h",0xc5,"address");" (call_expression "FUN_001e9890("../../gold/output.h",0xc5,"address")" (identifier "FUN_001e9890") (argument_list "("../../gold/output.h",0xc5,"address")" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xc5") (, ",") (string_literal ""address"" (" """) (string_content "address") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*param_4 = *(ulong *)(local_40[0] + 8);" (assignment_expression "*param_4 = *(ulong *)(local_40[0] + 8)" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (pointer_expression "*(ulong *)(local_40[0] + 8)" (* "*") (cast_expression "(ulong *)(local_40[0] + 8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_40[0] + 8)" (( "(") (binary_expression "local_40[0] + 8" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")))) (expression_statement "puVar4 = *(undefined8 **)(param_1 + 0x60);" (assignment_expression "puVar4 = *(undefined8 **)(param_1 + 0x60)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined8 **)(param_1 + 0x60)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x60)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (if_statement "if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }" (if "if") (parenthesized_expression "(puVar4 != *(undefined8 **)(param_1 + 0x68))" (( "(") (binary_expression "puVar4 != *(undefined8 **)(param_1 + 0x68)" (identifier "puVar4") (!= "!=") (pointer_expression "*(undefined8 **)(param_1 + 0x68)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x68)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);\n  }" ({ "{") (do_statement "do {\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);" (do "do") (compound_statement "{\n      plVar1 = (long *)*puVar4;\n      puVar4 = puVar4 + 1;\n      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);\n    }" ({ "{") (expression_statement "plVar1 = (long *)*puVar4;" (assignment_expression "plVar1 = (long *)*puVar4" (identifier "plVar1") (= "=") (cast_expression "(long *)*puVar4" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);" (call_expression "(**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x20)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x20)" (* "*") (cast_expression "(code **)(*plVar1 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x20)" (( "(") (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "(plVar1,param_2,param_3,param_4,local_40)" (( "(") (identifier "plVar1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "local_40") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(undefined8 **)(param_1 + 0x68) != puVar4)" (( "(") (binary_expression "*(undefined8 **)(param_1 + 0x68) != puVar4" (pointer_expression "*(undefined8 **)(param_1 + 0x68)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x68)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (!= "!=") (identifier "puVar4")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void finalize_symbols(Output_section_definition * this, Symbol_table *
   symtab, Layout * layout, uint64_t * dot_value) */

void __thiscall
var_6::type_1::function_1
          (type_1 *this,type_2 *symtab,type_3 *layout,uint64_t *dot_value)

{
  type_4 *pOVar1;
  uint64_t var_4;
  uint64_t var_3;
  type_5 var_9;
  type_6 *var_1;
  
  var_1 = this->output_section_;
  if (var_1 == (type_6 *)0x0) {
    var_4 = *dot_value;
    if (this->address_ != (type_7 *)0x0) {
      var_4 = type_7::var_2
                               (this->address_,symtab,layout,true,var_4,(type_6 *)0x0
                                ,(type_6 **)0x0,(uint64_t *)0x0,false);
    }
    if ((this->align_ != (type_7 *)0x0) &&
       (var_3 = type_7::var_2
                          (this->align_,symtab,layout,true,*dot_value,(type_6 *)0x0,
                           (type_6 **)0x0,(uint64_t *)0x0,false), var_3 != 0)) {
      var_4 = (var_4 - 1) + var_3 & -var_3;
    }
    *dot_value = var_4;
    var_1 = this->output_section_;
  }
  else {
    if (((var_1->super_Output_data).field_0x20 & 1) == 0) {
                    /* WARNING: Subroutine does not return */
      var_5("../../gold/output.h",0xc5,"address");
    }
    *dot_value = (var_1->super_Output_data).address_;
  }
  var_9 = (this->elements_).
            super__Vector_base<var_6::type_4*,var_7::allocator<var_6::type_4*>var_8>
            ._M_impl._M_start;
  if (var_9 !=
      (this->elements_).
      super__Vector_base<var_6::type_4*,var_7::allocator<var_6::type_4*>var_8>
      ._M_impl._M_finish) {
    do {
      pOVar1 = *var_9;
      var_9 = var_9 + 1;
      (*pOVar1->_vptr_Output_section_element[4])(pOVar1,symtab,layout,dot_value,&var_1);
    } while ((this->elements_).
             super__Vector_base<var_6::type_4*,var_7::allocator<var_6::type_4*>var_8>
             ._M_impl._M_finish != var_9);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (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: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (identifier) (number_literal) (pointer_expression argument: (identifier)) (number_literal) (number_literal) (number_literal) (number_literal)))) right: (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: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (number_literal))) 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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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 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: (type_identifier) 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 (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: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (return_statement))))

void MASKED(long param_1,undefined8 param_2,undefined8 param_3,ulong *param_4)

{
  long *plVar1;
  ulong uVar2;
  long lVar3;
  undefined8 *puVar4;
  long local_40 [2];
  
  local_40[0] = *(long *)(param_1 + 0x78);
  if (local_40[0] == 0) {
    uVar2 = *param_4;
    if (*(long *)(param_1 + 0x28) != 0) {
      uVar2 = FUN_00316c50();
    }
    if ((*(long *)(param_1 + 0x38) != 0) &&
       (lVar3 = FUN_00316c50(*(long *)(param_1 + 0x38),param_2,param_3,1,*param_4,0,0,0,0),
       lVar3 != 0)) {
      uVar2 = (uVar2 - 1) + lVar3 & -lVar3;
    }
    *param_4 = uVar2;
    local_40[0] = *(long *)(param_1 + 0x78);
  }
  else {
    if ((*(byte *)(local_40[0] + 0x20) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_001e9890("../../gold/output.h",0xc5,"address");
    }
    *param_4 = *(ulong *)(local_40[0] + 8);
  }
  puVar4 = *(undefined8 **)(param_1 + 0x60);
  if (puVar4 != *(undefined8 **)(param_1 + 0x68)) {
    do {
      plVar1 = (long *)*puVar4;
      puVar4 = puVar4 + 1;
      (**(code **)(*plVar1 + 0x20))(plVar1,param_2,param_3,param_4,local_40);
    } while (*(undefined8 **)(param_1 + 0x68) != puVar4);
  }
  return;
}

