
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void finalize_incremental_relocs(Relobj * this, Layout * layout, bool
   clear_counts) */

void __thiscall
gold::Relobj::finalize_incremental_relocs(Relobj *this,Layout *layout,bool clear_counts)

{
  Incremental_inputs *pIVar1;
  uint *puVar2;
  int iVar3;
  undefined4 extraout_var;
  uint *puVar4;
  ulong uVar5;
  uint uVar6;
  bool bVar7;
  
  iVar3 = (*(this->super_Object)._vptr_Object[0x1d])();
  uVar5 = ((long *)CONCAT44(extraout_var,iVar3))[1] - *(long *)CONCAT44(extraout_var,iVar3) >> 3;
  iVar3 = (int)uVar5;
  puVar4 = (uint *)operator_new__((uVar5 & 0xffffffff) << 2);
  pIVar1 = layout->incremental_inputs_;
  this->reloc_bases_ = puVar4;
  if (pIVar1 == (Incremental_inputs *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");
  }
  uVar6 = pIVar1->reloc_count_;
  if (iVar3 != 0) {
    puVar2 = this->reloc_counts_;
    uVar5 = 0;
    do {
      puVar4[uVar5] = uVar6;
      uVar6 = uVar6 + puVar2[uVar5];
      if (clear_counts) {
        puVar2[uVar5] = 0;
      }
      bVar7 = uVar5 != iVar3 - 1;
      uVar5 = uVar5 + 1;
    } while (bVar7);
  }
  pIVar1->reloc_count_ = uVar6;
  return;
}



void FUN_0022a570(long *param_1,long param_2,char param_3)

{
  long lVar1;
  long lVar2;
  long *plVar3;
  long lVar4;
  int iVar5;
  ulong uVar6;
  int iVar7;
  bool bVar8;
  
  plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();
  uVar6 = plVar3[1] - *plVar3 >> 3;
  iVar5 = (int)uVar6;
  lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);
  lVar1 = *(long *)(param_2 + 0x378);
  param_1[0x13] = lVar4;
  if (lVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");
  }
  iVar7 = *(int *)(lVar1 + 0x78);
  if (iVar5 != 0) {
    lVar2 = param_1[0x12];
    uVar6 = 0;
    do {
      *(int *)(lVar4 + uVar6 * 4) = iVar7;
      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);
      if (param_3 != '\0') {
        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;
      }
      bVar8 = uVar6 != iVar5 - 1;
      uVar6 = uVar6 + 1;
    } while (bVar8);
  }
  *(int *)(lVar1 + 0x78) = iVar7;
  return;
}


PUSH R13
MOV R13,RSI
PUSH R12
MOV R12,RDI
PUSH RBP
PUSH RBX
MOV EBX,EDX
SUB RSP,0x8
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0xe8]
MOV RBP,qword ptr [RAX + 0x8]
SUB RBP,qword ptr [RAX]
SAR RBP,0x3
MOV EDI,EBP
SHL RDI,0x2
CALL 0x00337220
MOV R9,qword ptr [R13 + 0x378]
MOV qword ptr [R12 + 0x98],RAX
TEST R9,R9
JZ 0x0022a5fe
MOV ESI,dword ptr [R9 + 0x78]
TEST EBP,EBP
JZ 0x0022a5ef
MOV R8,qword ptr [R12 + 0x90]
LEA EDX,[RBP + -0x1]
XOR ECX,ECX
JMP 0x0022a5d3
MOV RCX,RDI
MOV dword ptr [RAX + RCX*0x4],ESI
ADD ESI,dword ptr [R8 + RCX*0x4]
TEST BL,BL
JZ 0x0022a5e6
MOV dword ptr [R8 + RCX*0x4],0x0
LEA RDI,[RCX + 0x1]
CMP RCX,RDX
JNZ 0x0022a5d0
MOV dword ptr [R9 + 0x78],ESI
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RDX,[0x3e87b0]
MOV ESI,0x18c
LEA RDI,[0x3e6f18]
CALL 0x001e9890
(translation_unit "void FUN_0022a570(long *param_1,long param_2,char param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  long *plVar3;\n  long lVar4;\n  int iVar5;\n  ulong uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();\n  uVar6 = plVar3[1] - *plVar3 >> 3;\n  iVar5 = (int)uVar6;\n  lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);\n  lVar1 = *(long *)(param_2 + 0x378);\n  param_1[0x13] = lVar4;\n  if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  iVar7 = *(int *)(lVar1 + 0x78);\n  if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }\n  *(int *)(lVar1 + 0x78) = iVar7;\n  return;\n}\n\n" (function_definition "void FUN_0022a570(long *param_1,long param_2,char param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  long *plVar3;\n  long lVar4;\n  int iVar5;\n  ulong uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();\n  uVar6 = plVar3[1] - *plVar3 >> 3;\n  iVar5 = (int)uVar6;\n  lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);\n  lVar1 = *(long *)(param_2 + 0x378);\n  param_1[0x13] = lVar4;\n  if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  iVar7 = *(int *)(lVar1 + 0x78);\n  if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }\n  *(int *)(lVar1 + 0x78) = iVar7;\n  return;\n}" primitive_type (function_declarator "FUN_0022a570(long *param_1,long param_2,char param_3)" identifier (parameter_list "(long *param_1,long param_2,char param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "char param_3" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  long *plVar3;\n  long lVar4;\n  int iVar5;\n  ulong uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();\n  uVar6 = plVar3[1] - *plVar3 >> 3;\n  iVar5 = (int)uVar6;\n  lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);\n  lVar1 = *(long *)(param_2 + 0x378);\n  param_1[0x13] = lVar4;\n  if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  iVar7 = *(int *)(lVar1 + 0x78);\n  if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }\n  *(int *)(lVar1 + 0x78) = iVar7;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (expression_statement "plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();" (assignment_expression "plVar3 = (long *)(**(code **)(*param_1 + 0xe8))()" identifier = (cast_expression "(long *)(**(code **)(*param_1 + 0xe8))()" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0xe8))()" (parenthesized_expression "(**(code **)(*param_1 + 0xe8))" ( (pointer_expression "**(code **)(*param_1 + 0xe8)" * (pointer_expression "*(code **)(*param_1 + 0xe8)" * (cast_expression "(code **)(*param_1 + 0xe8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xe8)" ( (binary_expression "*param_1 + 0xe8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar6 = plVar3[1] - *plVar3 >> 3;" (assignment_expression "uVar6 = plVar3[1] - *plVar3 >> 3" identifier = (binary_expression "plVar3[1] - *plVar3 >> 3" (binary_expression "plVar3[1] - *plVar3" (subscript_expression "plVar3[1]" identifier [ number_literal ]) - (pointer_expression "*plVar3" * identifier)) >> number_literal)) ;) (expression_statement "iVar5 = (int)uVar6;" (assignment_expression "iVar5 = (int)uVar6" identifier = (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);" (assignment_expression "lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2)" identifier = (call_expression "thunk_FUN_00337280((uVar6 & 0xffffffff) << 2)" identifier (argument_list "((uVar6 & 0xffffffff) << 2)" ( (binary_expression "(uVar6 & 0xffffffff) << 2" (parenthesized_expression "(uVar6 & 0xffffffff)" ( (binary_expression "uVar6 & 0xffffffff" identifier & number_literal) )) << number_literal) )))) ;) (expression_statement "lVar1 = *(long *)(param_2 + 0x378);" (assignment_expression "lVar1 = *(long *)(param_2 + 0x378)" identifier = (pointer_expression "*(long *)(param_2 + 0x378)" * (cast_expression "(long *)(param_2 + 0x378)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x378)" ( (binary_expression "param_2 + 0x378" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x13] = lVar4;" (assignment_expression "param_1[0x13] = lVar4" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }" { comment (expression_statement "FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");" (call_expression "FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs")" identifier (argument_list "("../../gold/object.cc",0x18c,"finalize_incremental_relocs")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""finalize_incremental_relocs"" " string_content ") ))) ;) })) (expression_statement "iVar7 = *(int *)(lVar1 + 0x78);" (assignment_expression "iVar7 = *(int *)(lVar1 + 0x78)" identifier = (pointer_expression "*(int *)(lVar1 + 0x78)" * (cast_expression "(int *)(lVar1 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x78)" ( (binary_expression "lVar1 + 0x78" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }" { (expression_statement "lVar2 = param_1[0x12];" (assignment_expression "lVar2 = param_1[0x12]" identifier = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);" do (compound_statement "{\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    }" { (expression_statement "*(int *)(lVar4 + uVar6 * 4) = iVar7;" (assignment_expression "*(int *)(lVar4 + uVar6 * 4) = iVar7" (pointer_expression "*(int *)(lVar4 + uVar6 * 4)" * (cast_expression "(int *)(lVar4 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + uVar6 * 4)" ( (binary_expression "lVar4 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);" (assignment_expression "iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4)" identifier = (binary_expression "iVar7 + *(int *)(lVar2 + uVar6 * 4)" identifier + (pointer_expression "*(int *)(lVar2 + uVar6 * 4)" * (cast_expression "(int *)(lVar2 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + uVar6 * 4)" ( (binary_expression "lVar2 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) )))))) ;) (if_statement "if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }" { (expression_statement "*(undefined4 *)(lVar2 + uVar6 * 4) = 0;" (assignment_expression "*(undefined4 *)(lVar2 + uVar6 * 4) = 0" (pointer_expression "*(undefined4 *)(lVar2 + uVar6 * 4)" * (cast_expression "(undefined4 *)(lVar2 + uVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + uVar6 * 4)" ( (binary_expression "lVar2 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "bVar8 = uVar6 != iVar5 - 1;" (assignment_expression "bVar8 = uVar6 != iVar5 - 1" identifier = (binary_expression "uVar6 != iVar5 - 1" identifier != (binary_expression "iVar5 - 1" identifier - number_literal))) ;) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar8)" ( identifier )) ;) })) (expression_statement "*(int *)(lVar1 + 0x78) = iVar7;" (assignment_expression "*(int *)(lVar1 + 0x78) = iVar7" (pointer_expression "*(int *)(lVar1 + 0x78)" * (cast_expression "(int *)(lVar1 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x78)" ( (binary_expression "lVar1 + 0x78" 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_incremental_relocs(Relobj * this, Layout * layout, bool\n   clear_counts) */\n\nvoid __thiscall\ngold::Relobj::finalize_incremental_relocs(Relobj *this,Layout *layout,bool clear_counts)\n\n{\n  Incremental_inputs *pIVar1;\n  uint *puVar2;\n  int iVar3;\n  undefined4 extraout_var;\n  uint *puVar4;\n  ulong uVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar3 = (*(this->super_Object)._vptr_Object[0x1d])();\n  uVar5 = ((long *)CONCAT44(extraout_var,iVar3))[1] - *(long *)CONCAT44(extraout_var,iVar3) >> 3;\n  iVar3 = (int)uVar5;\n  puVar4 = (uint *)operator_new__((uVar5 & 0xffffffff) << 2);\n  pIVar1 = layout->incremental_inputs_;\n  this->reloc_bases_ = puVar4;\n  if (pIVar1 == (Incremental_inputs *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  uVar6 = pIVar1->reloc_count_;\n  if (iVar3 != 0) {\n    puVar2 = this->reloc_counts_;\n    uVar5 = 0;\n    do {\n      puVar4[uVar5] = uVar6;\n      uVar6 = uVar6 + puVar2[uVar5];\n      if (clear_counts) {\n        puVar2[uVar5] = 0;\n      }\n      bVar7 = uVar5 != iVar3 - 1;\n      uVar5 = uVar5 + 1;\n    } while (bVar7);\n  }\n  pIVar1->reloc_count_ = uVar6;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Relobj::finalize_incremental_relocs(Relobj *this,Layout *layout,bool clear_counts)\n\n{\n  Incremental_inputs *pIVar1;\n  uint *puVar2;\n  int iVar3;\n  undefined4 extraout_var;\n  uint *puVar4;\n  ulong uVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar3 = (*(this->super_Object)._vptr_Object[0x1d])();\n  uVar5 = ((long *)CONCAT44(extraout_var,iVar3))[1] - *(long *)CONCAT44(extraout_var,iVar3) >> 3;\n  iVar3 = (int)uVar5;\n  puVar4 = (uint *)operator_new__((uVar5 & 0xffffffff) << 2);\n  pIVar1 = layout->incremental_inputs_;\n  this->reloc_bases_ = puVar4;\n  if (pIVar1 == (Incremental_inputs *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  uVar6 = pIVar1->reloc_count_;\n  if (iVar3 != 0) {\n    puVar2 = this->reloc_counts_;\n    uVar5 = 0;\n    do {\n      puVar4[uVar5] = uVar6;\n      uVar6 = uVar6 + puVar2[uVar5];\n      if (clear_counts) {\n        puVar2[uVar5] = 0;\n      }\n      bVar7 = uVar5 != iVar3 - 1;\n      uVar5 = uVar5 + 1;\n    } while (bVar7);\n  }\n  pIVar1->reloc_count_ = uVar6;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Relobj::" identifier : : identifier : :) (function_declarator "finalize_incremental_relocs(Relobj *this,Layout *layout,bool clear_counts)" identifier (parameter_list "(Relobj *this,Layout *layout,bool clear_counts)" ( (parameter_declaration "Relobj *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "bool clear_counts" primitive_type identifier) ))) (compound_statement "{\n  Incremental_inputs *pIVar1;\n  uint *puVar2;\n  int iVar3;\n  undefined4 extraout_var;\n  uint *puVar4;\n  ulong uVar5;\n  uint uVar6;\n  bool bVar7;\n  \n  iVar3 = (*(this->super_Object)._vptr_Object[0x1d])();\n  uVar5 = ((long *)CONCAT44(extraout_var,iVar3))[1] - *(long *)CONCAT44(extraout_var,iVar3) >> 3;\n  iVar3 = (int)uVar5;\n  puVar4 = (uint *)operator_new__((uVar5 & 0xffffffff) << 2);\n  pIVar1 = layout->incremental_inputs_;\n  this->reloc_bases_ = puVar4;\n  if (pIVar1 == (Incremental_inputs *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  uVar6 = pIVar1->reloc_count_;\n  if (iVar3 != 0) {\n    puVar2 = this->reloc_counts_;\n    uVar5 = 0;\n    do {\n      puVar4[uVar5] = uVar6;\n      uVar6 = uVar6 + puVar2[uVar5];\n      if (clear_counts) {\n        puVar2[uVar5] = 0;\n      }\n      bVar7 = uVar5 != iVar3 - 1;\n      uVar5 = uVar5 + 1;\n    } while (bVar7);\n  }\n  pIVar1->reloc_count_ = uVar6;\n  return;\n}" { (declaration "Incremental_inputs *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 extraout_var;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "iVar3 = (*(this->super_Object)._vptr_Object[0x1d])();" (assignment_expression "iVar3 = (*(this->super_Object)._vptr_Object[0x1d])()" identifier = (call_expression "(*(this->super_Object)._vptr_Object[0x1d])()" (parenthesized_expression "(*(this->super_Object)._vptr_Object[0x1d])" ( (pointer_expression "*(this->super_Object)._vptr_Object[0x1d]" * (subscript_expression "(this->super_Object)._vptr_Object[0x1d]" (field_expression "(this->super_Object)._vptr_Object" (parenthesized_expression "(this->super_Object)" ( (field_expression "this->super_Object" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "()" ( )))) ;) (expression_statement "uVar5 = ((long *)CONCAT44(extraout_var,iVar3))[1] - *(long *)CONCAT44(extraout_var,iVar3) >> 3;" (assignment_expression "uVar5 = ((long *)CONCAT44(extraout_var,iVar3))[1] - *(long *)CONCAT44(extraout_var,iVar3) >> 3" identifier = (binary_expression "((long *)CONCAT44(extraout_var,iVar3))[1] - *(long *)CONCAT44(extraout_var,iVar3) >> 3" (binary_expression "((long *)CONCAT44(extraout_var,iVar3))[1] - *(long *)CONCAT44(extraout_var,iVar3)" (subscript_expression "((long *)CONCAT44(extraout_var,iVar3))[1]" (parenthesized_expression "((long *)CONCAT44(extraout_var,iVar3))" ( (cast_expression "(long *)CONCAT44(extraout_var,iVar3)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(extraout_var,iVar3)" identifier (argument_list "(extraout_var,iVar3)" ( identifier , identifier )))) )) [ number_literal ]) - (pointer_expression "*(long *)CONCAT44(extraout_var,iVar3)" * (cast_expression "(long *)CONCAT44(extraout_var,iVar3)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(extraout_var,iVar3)" identifier (argument_list "(extraout_var,iVar3)" ( identifier , identifier )))))) >> number_literal)) ;) (expression_statement "iVar3 = (int)uVar5;" (assignment_expression "iVar3 = (int)uVar5" identifier = (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar4 = (uint *)operator_new__((uVar5 & 0xffffffff) << 2);" (assignment_expression "puVar4 = (uint *)operator_new__((uVar5 & 0xffffffff) << 2)" identifier = (cast_expression "(uint *)operator_new__((uVar5 & 0xffffffff) << 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__((uVar5 & 0xffffffff) << 2)" identifier (argument_list "((uVar5 & 0xffffffff) << 2)" ( (binary_expression "(uVar5 & 0xffffffff) << 2" (parenthesized_expression "(uVar5 & 0xffffffff)" ( (binary_expression "uVar5 & 0xffffffff" identifier & number_literal) )) << number_literal) ))))) ;) (expression_statement "pIVar1 = layout->incremental_inputs_;" (assignment_expression "pIVar1 = layout->incremental_inputs_" identifier = (field_expression "layout->incremental_inputs_" identifier -> field_identifier)) ;) (expression_statement "this->reloc_bases_ = puVar4;" (assignment_expression "this->reloc_bases_ = puVar4" (field_expression "this->reloc_bases_" identifier -> field_identifier) = identifier) ;) (if_statement "if (pIVar1 == (Incremental_inputs *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }" if (parenthesized_expression "(pIVar1 == (Incremental_inputs *)0x0)" ( (binary_expression "pIVar1 == (Incremental_inputs *)0x0" identifier == (cast_expression "(Incremental_inputs *)0x0" ( (type_descriptor "Incremental_inputs *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");" (call_expression "do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs")" identifier (argument_list "("../../gold/object.cc",0x18c,"finalize_incremental_relocs")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""finalize_incremental_relocs"" " string_content ") ))) ;) })) (expression_statement "uVar6 = pIVar1->reloc_count_;" (assignment_expression "uVar6 = pIVar1->reloc_count_" identifier = (field_expression "pIVar1->reloc_count_" identifier -> field_identifier)) ;) (if_statement "if (iVar3 != 0) {\n    puVar2 = this->reloc_counts_;\n    uVar5 = 0;\n    do {\n      puVar4[uVar5] = uVar6;\n      uVar6 = uVar6 + puVar2[uVar5];\n      if (clear_counts) {\n        puVar2[uVar5] = 0;\n      }\n      bVar7 = uVar5 != iVar3 - 1;\n      uVar5 = uVar5 + 1;\n    } while (bVar7);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar2 = this->reloc_counts_;\n    uVar5 = 0;\n    do {\n      puVar4[uVar5] = uVar6;\n      uVar6 = uVar6 + puVar2[uVar5];\n      if (clear_counts) {\n        puVar2[uVar5] = 0;\n      }\n      bVar7 = uVar5 != iVar3 - 1;\n      uVar5 = uVar5 + 1;\n    } while (bVar7);\n  }" { (expression_statement "puVar2 = this->reloc_counts_;" (assignment_expression "puVar2 = this->reloc_counts_" identifier = (field_expression "this->reloc_counts_" identifier -> field_identifier)) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      puVar4[uVar5] = uVar6;\n      uVar6 = uVar6 + puVar2[uVar5];\n      if (clear_counts) {\n        puVar2[uVar5] = 0;\n      }\n      bVar7 = uVar5 != iVar3 - 1;\n      uVar5 = uVar5 + 1;\n    } while (bVar7);" do (compound_statement "{\n      puVar4[uVar5] = uVar6;\n      uVar6 = uVar6 + puVar2[uVar5];\n      if (clear_counts) {\n        puVar2[uVar5] = 0;\n      }\n      bVar7 = uVar5 != iVar3 - 1;\n      uVar5 = uVar5 + 1;\n    }" { (expression_statement "puVar4[uVar5] = uVar6;" (assignment_expression "puVar4[uVar5] = uVar6" (subscript_expression "puVar4[uVar5]" identifier [ identifier ]) = identifier) ;) (expression_statement "uVar6 = uVar6 + puVar2[uVar5];" (assignment_expression "uVar6 = uVar6 + puVar2[uVar5]" identifier = (binary_expression "uVar6 + puVar2[uVar5]" identifier + (subscript_expression "puVar2[uVar5]" identifier [ identifier ]))) ;) (if_statement "if (clear_counts) {\n        puVar2[uVar5] = 0;\n      }" if (parenthesized_expression "(clear_counts)" ( identifier )) (compound_statement "{\n        puVar2[uVar5] = 0;\n      }" { (expression_statement "puVar2[uVar5] = 0;" (assignment_expression "puVar2[uVar5] = 0" (subscript_expression "puVar2[uVar5]" identifier [ identifier ]) = number_literal) ;) })) (expression_statement "bVar7 = uVar5 != iVar3 - 1;" (assignment_expression "bVar7 = uVar5 != iVar3 - 1" identifier = (binary_expression "uVar5 != iVar3 - 1" identifier != (binary_expression "iVar3 - 1" identifier - number_literal))) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) })) (expression_statement "pIVar1->reloc_count_ = uVar6;" (assignment_expression "pIVar1->reloc_count_ = uVar6" (field_expression "pIVar1->reloc_count_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0022a570(long *param_1,long param_2,char param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  long *plVar3;\n  long lVar4;\n  int iVar5;\n  ulong uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();\n  uVar6 = plVar3[1] - *plVar3 >> 3;\n  iVar5 = (int)uVar6;\n  lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);\n  lVar1 = *(long *)(param_2 + 0x378);\n  param_1[0x13] = lVar4;\n  if (lVar1 == 0) {\n                    \n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  iVar7 = *(int *)(lVar1 + 0x78);\n  if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }\n  *(int *)(lVar1 + 0x78) = iVar7;\n  return;\n}\n\n" (function_definition "void FUN_0022a570(long *param_1,long param_2,char param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  long *plVar3;\n  long lVar4;\n  int iVar5;\n  ulong uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();\n  uVar6 = plVar3[1] - *plVar3 >> 3;\n  iVar5 = (int)uVar6;\n  lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);\n  lVar1 = *(long *)(param_2 + 0x378);\n  param_1[0x13] = lVar4;\n  if (lVar1 == 0) {\n                    \n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  iVar7 = *(int *)(lVar1 + 0x78);\n  if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }\n  *(int *)(lVar1 + 0x78) = iVar7;\n  return;\n}" primitive_type (function_declarator "FUN_0022a570(long *param_1,long param_2,char param_3)" identifier (parameter_list "(long *param_1,long param_2,char param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "char param_3" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  long *plVar3;\n  long lVar4;\n  int iVar5;\n  ulong uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();\n  uVar6 = plVar3[1] - *plVar3 >> 3;\n  iVar5 = (int)uVar6;\n  lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);\n  lVar1 = *(long *)(param_2 + 0x378);\n  param_1[0x13] = lVar4;\n  if (lVar1 == 0) {\n                    \n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  iVar7 = *(int *)(lVar1 + 0x78);\n  if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }\n  *(int *)(lVar1 + 0x78) = iVar7;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (expression_statement "plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();" (assignment_expression "plVar3 = (long *)(**(code **)(*param_1 + 0xe8))()" identifier = (cast_expression "(long *)(**(code **)(*param_1 + 0xe8))()" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0xe8))()" (parenthesized_expression "(**(code **)(*param_1 + 0xe8))" ( (pointer_expression "**(code **)(*param_1 + 0xe8)" * (pointer_expression "*(code **)(*param_1 + 0xe8)" * (cast_expression "(code **)(*param_1 + 0xe8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xe8)" ( (binary_expression "*param_1 + 0xe8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar6 = plVar3[1] - *plVar3 >> 3;" (assignment_expression "uVar6 = plVar3[1] - *plVar3 >> 3" identifier = (binary_expression "plVar3[1] - *plVar3 >> 3" (binary_expression "plVar3[1] - *plVar3" (subscript_expression "plVar3[1]" identifier [ number_literal ]) - (pointer_expression "*plVar3" * identifier)) >> number_literal)) ;) (expression_statement "iVar5 = (int)uVar6;" (assignment_expression "iVar5 = (int)uVar6" identifier = (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);" (assignment_expression "lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2)" identifier = (call_expression "thunk_FUN_00337280((uVar6 & 0xffffffff) << 2)" identifier (argument_list "((uVar6 & 0xffffffff) << 2)" ( (binary_expression "(uVar6 & 0xffffffff) << 2" (parenthesized_expression "(uVar6 & 0xffffffff)" ( (binary_expression "uVar6 & 0xffffffff" identifier & number_literal) )) << number_literal) )))) ;) (expression_statement "lVar1 = *(long *)(param_2 + 0x378);" (assignment_expression "lVar1 = *(long *)(param_2 + 0x378)" identifier = (pointer_expression "*(long *)(param_2 + 0x378)" * (cast_expression "(long *)(param_2 + 0x378)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x378)" ( (binary_expression "param_2 + 0x378" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x13] = lVar4;" (assignment_expression "param_1[0x13] = lVar4" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (lVar1 == 0) {\n                    \n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }" { (expression_statement "FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");" (call_expression "FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs")" identifier (argument_list "("../../gold/object.cc",0x18c,"finalize_incremental_relocs")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""finalize_incremental_relocs"" " string_content ") ))) ;) })) (expression_statement "iVar7 = *(int *)(lVar1 + 0x78);" (assignment_expression "iVar7 = *(int *)(lVar1 + 0x78)" identifier = (pointer_expression "*(int *)(lVar1 + 0x78)" * (cast_expression "(int *)(lVar1 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x78)" ( (binary_expression "lVar1 + 0x78" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }" { (expression_statement "lVar2 = param_1[0x12];" (assignment_expression "lVar2 = param_1[0x12]" identifier = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);" do (compound_statement "{\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    }" { (expression_statement "*(int *)(lVar4 + uVar6 * 4) = iVar7;" (assignment_expression "*(int *)(lVar4 + uVar6 * 4) = iVar7" (pointer_expression "*(int *)(lVar4 + uVar6 * 4)" * (cast_expression "(int *)(lVar4 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + uVar6 * 4)" ( (binary_expression "lVar4 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);" (assignment_expression "iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4)" identifier = (binary_expression "iVar7 + *(int *)(lVar2 + uVar6 * 4)" identifier + (pointer_expression "*(int *)(lVar2 + uVar6 * 4)" * (cast_expression "(int *)(lVar2 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + uVar6 * 4)" ( (binary_expression "lVar2 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) )))))) ;) (if_statement "if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }" { (expression_statement "*(undefined4 *)(lVar2 + uVar6 * 4) = 0;" (assignment_expression "*(undefined4 *)(lVar2 + uVar6 * 4) = 0" (pointer_expression "*(undefined4 *)(lVar2 + uVar6 * 4)" * (cast_expression "(undefined4 *)(lVar2 + uVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + uVar6 * 4)" ( (binary_expression "lVar2 + uVar6 * 4" identifier + (binary_expression "uVar6 * 4" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "bVar8 = uVar6 != iVar5 - 1;" (assignment_expression "bVar8 = uVar6 != iVar5 - 1" identifier = (binary_expression "uVar6 != iVar5 - 1" identifier != (binary_expression "iVar5 - 1" identifier - number_literal))) ;) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar8)" ( identifier )) ;) })) (expression_statement "*(int *)(lVar1 + 0x78) = iVar7;" (assignment_expression "*(int *)(lVar1 + 0x78) = iVar7" (pointer_expression "*(int *)(lVar1 + 0x78)" * (cast_expression "(int *)(lVar1 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x78)" ( (binary_expression "lVar1 + 0x78" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (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 ( ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (pointer_expression * IDENT)) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != (binary_expression IDENT - LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0022a570(long *param_1,long param_2,char param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  long *plVar3;\n  long lVar4;\n  int iVar5;\n  ulong uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();\n  uVar6 = plVar3[1] - *plVar3 >> 3;\n  iVar5 = (int)uVar6;\n  lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);\n  lVar1 = *(long *)(param_2 + 0x378);\n  param_1[0x13] = lVar4;\n  if (lVar1 == 0) {\n                    \n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  iVar7 = *(int *)(lVar1 + 0x78);\n  if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }\n  *(int *)(lVar1 + 0x78) = iVar7;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0022a570(long *param_1,long param_2,char param_3)" (identifier "FUN_0022a570") (parameter_list "(long *param_1,long param_2,char param_3)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "char param_3" (primitive_type "char") (identifier "param_3")) () ")"))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  long *plVar3;\n  long lVar4;\n  int iVar5;\n  ulong uVar6;\n  int iVar7;\n  bool bVar8;\n  \n  plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();\n  uVar6 = plVar3[1] - *plVar3 >> 3;\n  iVar5 = (int)uVar6;\n  lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);\n  lVar1 = *(long *)(param_2 + 0x378);\n  param_1[0x13] = lVar4;\n  if (lVar1 == 0) {\n                    \n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }\n  iVar7 = *(int *)(lVar1 + 0x78);\n  if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }\n  *(int *)(lVar1 + 0x78) = iVar7;\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "long *plVar3;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar3" (* "*") (identifier "plVar3")) (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "ulong uVar6;" (type_identifier "ulong") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (expression_statement "plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();" (assignment_expression "plVar3 = (long *)(**(code **)(*param_1 + 0xe8))()" (identifier "plVar3") (= "=") (cast_expression "(long *)(**(code **)(*param_1 + 0xe8))()" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(*param_1 + 0xe8))()" (parenthesized_expression "(**(code **)(*param_1 + 0xe8))" (( "(") (pointer_expression "**(code **)(*param_1 + 0xe8)" (* "*") (pointer_expression "*(code **)(*param_1 + 0xe8)" (* "*") (cast_expression "(code **)(*param_1 + 0xe8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xe8)" (( "(") (binary_expression "*param_1 + 0xe8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xe8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar6 = plVar3[1] - *plVar3 >> 3;" (assignment_expression "uVar6 = plVar3[1] - *plVar3 >> 3" (identifier "uVar6") (= "=") (binary_expression "plVar3[1] - *plVar3 >> 3" (binary_expression "plVar3[1] - *plVar3" (subscript_expression "plVar3[1]" (identifier "plVar3") ([ "[") (number_literal "1") (] "]")) (- "-") (pointer_expression "*plVar3" (* "*") (identifier "plVar3"))) (>> ">>") (number_literal "3"))) (; ";")) (expression_statement "iVar5 = (int)uVar6;" (assignment_expression "iVar5 = (int)uVar6" (identifier "iVar5") (= "=") (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);" (assignment_expression "lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2)" (identifier "lVar4") (= "=") (call_expression "thunk_FUN_00337280((uVar6 & 0xffffffff) << 2)" (identifier "thunk_FUN_00337280") (argument_list "((uVar6 & 0xffffffff) << 2)" (( "(") (binary_expression "(uVar6 & 0xffffffff) << 2" (parenthesized_expression "(uVar6 & 0xffffffff)" (( "(") (binary_expression "uVar6 & 0xffffffff" (identifier "uVar6") (& "&") (number_literal "0xffffffff")) () ")")) (<< "<<") (number_literal "2")) () ")")))) (; ";")) (expression_statement "lVar1 = *(long *)(param_2 + 0x378);" (assignment_expression "lVar1 = *(long *)(param_2 + 0x378)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_2 + 0x378)" (* "*") (cast_expression "(long *)(param_2 + 0x378)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x378)" (( "(") (binary_expression "param_2 + 0x378" (identifier "param_2") (+ "+") (number_literal "0x378")) () ")"))))) (; ";")) (expression_statement "param_1[0x13] = lVar4;" (assignment_expression "param_1[0x13] = lVar4" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (= "=") (identifier "lVar4")) (; ";")) (if_statement "if (lVar1 == 0) {\n                    \n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }" (if "if") (parenthesized_expression "(lVar1 == 0)" (( "(") (binary_expression "lVar1 == 0" (identifier "lVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n  }" ({ "{") (expression_statement "FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");" (call_expression "FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs")" (identifier "FUN_001e9890") (argument_list "("../../gold/object.cc",0x18c,"finalize_incremental_relocs")" (( "(") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """)) (, ",") (number_literal "0x18c") (, ",") (string_literal ""finalize_incremental_relocs"" (" """) (string_content "finalize_incremental_relocs") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar7 = *(int *)(lVar1 + 0x78);" (assignment_expression "iVar7 = *(int *)(lVar1 + 0x78)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(lVar1 + 0x78)" (* "*") (cast_expression "(int *)(lVar1 + 0x78)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x78)" (( "(") (binary_expression "lVar1 + 0x78" (identifier "lVar1") (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (if_statement "if (iVar5 != 0) {\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    lVar2 = param_1[0x12];\n    uVar6 = 0;\n    do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n  }" ({ "{") (expression_statement "lVar2 = param_1[0x12];" (assignment_expression "lVar2 = param_1[0x12]" (identifier "lVar2") (= "=") (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]"))) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);" (do "do") (compound_statement "{\n      *(int *)(lVar4 + uVar6 * 4) = iVar7;\n      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);\n      if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }\n      bVar8 = uVar6 != iVar5 - 1;\n      uVar6 = uVar6 + 1;\n    }" ({ "{") (expression_statement "*(int *)(lVar4 + uVar6 * 4) = iVar7;" (assignment_expression "*(int *)(lVar4 + uVar6 * 4) = iVar7" (pointer_expression "*(int *)(lVar4 + uVar6 * 4)" (* "*") (cast_expression "(int *)(lVar4 + uVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + uVar6 * 4)" (( "(") (binary_expression "lVar4 + uVar6 * 4" (identifier "lVar4") (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);" (assignment_expression "iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4)" (identifier "iVar7") (= "=") (binary_expression "iVar7 + *(int *)(lVar2 + uVar6 * 4)" (identifier "iVar7") (+ "+") (pointer_expression "*(int *)(lVar2 + uVar6 * 4)" (* "*") (cast_expression "(int *)(lVar2 + uVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + uVar6 * 4)" (( "(") (binary_expression "lVar2 + uVar6 * 4" (identifier "lVar2") (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) () ")")))))) (; ";")) (if_statement "if (param_3 != '\0') {\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }" (if "if") (parenthesized_expression "(param_3 != '\0')" (( "(") (binary_expression "param_3 != '\0'" (identifier "param_3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;\n      }" ({ "{") (expression_statement "*(undefined4 *)(lVar2 + uVar6 * 4) = 0;" (assignment_expression "*(undefined4 *)(lVar2 + uVar6 * 4) = 0" (pointer_expression "*(undefined4 *)(lVar2 + uVar6 * 4)" (* "*") (cast_expression "(undefined4 *)(lVar2 + uVar6 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + uVar6 * 4)" (( "(") (binary_expression "lVar2 + uVar6 * 4" (identifier "lVar2") (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "bVar8 = uVar6 != iVar5 - 1;" (assignment_expression "bVar8 = uVar6 != iVar5 - 1" (identifier "bVar8") (= "=") (binary_expression "uVar6 != iVar5 - 1" (identifier "uVar6") (!= "!=") (binary_expression "iVar5 - 1" (identifier "iVar5") (- "-") (number_literal "1")))) (; ";")) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")")) (; ";")) (} "}"))) (expression_statement "*(int *)(lVar1 + 0x78) = iVar7;" (assignment_expression "*(int *)(lVar1 + 0x78) = iVar7" (pointer_expression "*(int *)(lVar1 + 0x78)" (* "*") (cast_expression "(int *)(lVar1 + 0x78)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x78)" (( "(") (binary_expression "lVar1 + 0x78" (identifier "lVar1") (+ "+") (number_literal "0x78")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void finalize_incremental_relocs(Relobj * this, Layout * layout, bool
   clear_counts) */

void __thiscall
gold::type_1::function_1(type_1 *this,type_2 *layout,bool clear_counts)

{
  type_3 *var_4;
  type_4 *puVar2;
  int var_6;
  type_5 extraout_var;
  type_4 *puVar4;
  type_6 var_3;
  type_4 var_7;
  bool bVar7;
  
  var_6 = (*(this->super_Object)._vptr_Object[0x1d])();
  var_3 = ((long *)var_1(extraout_var,var_6))[1] - *(long *)var_1(extraout_var,var_6) >> 3;
  var_6 = (int)var_3;
  puVar4 = (type_4 *)var_2((var_3 & 0xffffffff) << 2);
  var_4 = layout->incremental_inputs_;
  this->reloc_bases_ = puVar4;
  if (var_4 == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_5("../../gold/object.cc",0x18c,"finalize_incremental_relocs");
  }
  var_7 = var_4->reloc_count_;
  if (var_6 != 0) {
    puVar2 = this->reloc_counts_;
    var_3 = 0;
    do {
      puVar4[var_3] = var_7;
      var_7 = var_7 + puVar2[var_3];
      if (clear_counts) {
        puVar2[var_3] = 0;
      }
      bVar7 = var_3 != var_6 - 1;
      var_3 = var_3 + 1;
    } while (bVar7);
  }
  var_4->reloc_count_ = var_7;
  return;
}


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

void MASKED(long *param_1,long param_2,char param_3)

{
  long lVar1;
  long lVar2;
  long *plVar3;
  long lVar4;
  int iVar5;
  ulong uVar6;
  int iVar7;
  bool bVar8;
  
  plVar3 = (long *)(**(code **)(*param_1 + 0xe8))();
  uVar6 = plVar3[1] - *plVar3 >> 3;
  iVar5 = (int)uVar6;
  lVar4 = thunk_FUN_00337280((uVar6 & 0xffffffff) << 2);
  lVar1 = *(long *)(param_2 + 0x378);
  param_1[0x13] = lVar4;
  if (lVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_001e9890("../../gold/object.cc",0x18c,"finalize_incremental_relocs");
  }
  iVar7 = *(int *)(lVar1 + 0x78);
  if (iVar5 != 0) {
    lVar2 = param_1[0x12];
    uVar6 = 0;
    do {
      *(int *)(lVar4 + uVar6 * 4) = iVar7;
      iVar7 = iVar7 + *(int *)(lVar2 + uVar6 * 4);
      if (param_3 != '\0') {
        *(undefined4 *)(lVar2 + uVar6 * 4) = 0;
      }
      bVar8 = uVar6 != iVar5 - 1;
      uVar6 = uVar6 + 1;
    } while (bVar8);
  }
  *(int *)(lVar1 + 0x78) = iVar7;
  return;
}

