
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Input_merge_map * get_or_make_input_merge_map(Object_merge_map * this,
   Output_section_data * output_data, uint shndx) */

Input_merge_map * __thiscall
gold::Object_merge_map::get_or_make_input_merge_map
          (Object_merge_map *this,Output_section_data *output_data,uint shndx)

{
  pointer ppVar1;
  uint uVar2;
  iterator __position;
  pointer ppVar3;
  Input_merge_map *pIVar4;
  Object_merge_map *in_stack_ffffffd4;
  uint in_stack_ffffffd8;
  pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*> local_14;
  
  local_14.second = (Input_merge_map *)0x15ea08;
  if (shndx == 0xffffffff) {
                    /* WARNING: Subroutine does not return */
    get_input_merge_map(in_stack_ffffffd4,in_stack_ffffffd8);
  }
  ppVar3 = (this->section_merge_maps_).
           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
           ._M_impl._M_start;
  ppVar1 = (this->section_merge_maps_).
           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
           ._M_impl._M_finish;
  if (ppVar3 != ppVar1) {
    uVar2 = ppVar3->first;
    while (uVar2 != shndx) {
      ppVar3 = ppVar3 + 1;
      if (ppVar1 == ppVar3) goto LAB_0015ea46;
      uVar2 = ppVar3->first;
    }
    pIVar4 = ppVar3->second;
    if (pIVar4 != (Input_merge_map *)0x0) {
      if (pIVar4->output_data == output_data) {
        return pIVar4;
      }
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/merge.cc",0x48,"get_or_make_input_merge_map");
    }
  }
LAB_0015ea46:
  pIVar4 = (Input_merge_map *)operator_new(0x14);
  __position._M_current =
       (this->section_merge_maps_).
       super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
       ._M_impl._M_finish;
  local_14.first = shndx;
  (pIVar4->entries).
  super__Vector_base<gold::Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>
  ._M_impl._M_start = (pointer)0x0;
  (pIVar4->entries).
  super__Vector_base<gold::Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>
  ._M_impl._M_finish = (pointer)0x0;
  (pIVar4->entries).
  super__Vector_base<gold::Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>
  ._M_impl._M_end_of_storage = (pointer)0x0;
  pIVar4->sorted = true;
  pIVar4->output_data = output_data;
  if (__position._M_current ==
      (this->section_merge_maps_).
      super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
      ._M_impl._M_end_of_storage) {
    local_14.second = pIVar4;
    std::
    vector<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
    ::_M_realloc_insert<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>
              (&this->section_merge_maps_,__position,&local_14);
    return pIVar4;
  }
  (__position._M_current)->first = shndx;
  (__position._M_current)->second = pIVar4;
  (this->section_merge_maps_).
  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
  ._M_impl._M_finish = __position._M_current + 1;
  return pIVar4;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int * FUN_0015ea00(int *param_1,int param_2,int param_3)

{
  int iVar1;
  int *piVar2;
  int *piVar3;
  int local_14;
  int *local_10;
  
  local_10 = (int *)0x15ea08;
  if (param_3 == -1) {
    piVar3 = (int *)FUN_0015e4c0();
LAB_0015eacf:
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);
  }
  piVar3 = (int *)*param_1;
  if (piVar3 != (int *)param_1[1]) {
    iVar1 = *piVar3;
    while (iVar1 != param_3) {
      piVar3 = piVar3 + 2;
      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;
      iVar1 = *piVar3;
    }
    piVar3 = (int *)piVar3[1];
    if (piVar3 != (int *)0x0) {
      if (*piVar3 == param_2) {
        return piVar3;
      }
      goto LAB_0015eacf;
    }
  }
LAB_0015ea46:
  piVar2 = (int *)FUN_0017ebf0(0x14);
  piVar3 = (int *)param_1[1];
  local_14 = param_3;
  piVar2[1] = 0;
  piVar2[2] = 0;
  piVar2[3] = 0;
  *(undefined1 *)(piVar2 + 4) = 1;
  *piVar2 = param_2;
  if (piVar3 == (int *)param_1[2]) {
    local_10 = piVar2;
    FUN_00160130(param_1,piVar3,&local_14);
    return piVar2;
  }
  *piVar3 = param_3;
  piVar3[1] = (int)piVar2;
  param_1[1] = (int)(piVar3 + 2);
  return piVar2;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x1a35f8
SUB ESP,0x20
MOV ESI,dword ptr [ESP + 0x38]
MOV EDI,dword ptr [ESP + 0x30]
CMP ESI,-0x1
JZ 0x0015eaca
MOV EDX,dword ptr [EDI]
MOV ECX,dword ptr [EDI + 0x4]
CMP EDX,ECX
JZ 0x0015ea46
LEA EAX,[EDX + 0x8]
CMP dword ptr [EDX],ESI
JNZ 0x0015ea40
JMP 0x0015ea98
ADD EAX,0x8
CMP dword ptr [EAX + -0x8],ESI
JZ 0x0015ea98
MOV EDX,EAX
CMP ECX,EAX
JNZ 0x0015ea38
SUB ESP,0xc
PUSH 0x14
CALL 0x0017ebf0
MOV EBX,dword ptr [ESP + 0x44]
MOV EDX,dword ptr [EDI + 0x4]
MOV dword ptr [ESP + 0x28],ESI
MOV dword ptr [ESP + 0x2c],EAX
ADD ESP,0x10
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EAX + 0xc],0x0
MOV byte ptr [EAX + 0x10],0x1
MOV dword ptr [EAX],EBX
CMP EDX,dword ptr [EDI + 0x8]
JZ 0x0015eaae
MOV dword ptr [EDX],ESI
ADD EDX,0x8
MOV dword ptr [EDX + -0x4],EAX
MOV dword ptr [EDI + 0x4],EDX
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
MOV EAX,dword ptr [EDX + 0x4]
TEST EAX,EAX
JZ 0x0015ea46
MOV EDI,dword ptr [ESP + 0x34]
CMP dword ptr [EAX],EDI
JNZ 0x0015eacf
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0x4
LEA ECX,[ESP + 0x1c]
PUSH ECX
PUSH EDX
PUSH EDI
CALL 0x00160130
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
JMP 0x0015eaa7
CALL 0x0015e4c0
PUSH EAX
LEA EAX,[EBX + 0xfff34ee4]
PUSH EAX
LEA EAX,[EBX + 0xfff34b4a]
PUSH 0x48
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_0015ea00(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int local_14;\n  int *local_10;\n  \n  local_10 = (int *)0x15ea08;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }\n  piVar3 = (int *)*param_1;\n  if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }\nLAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);\n  piVar3 = (int *)param_1[1];\n  local_14 = param_3;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  *(undefined1 *)(piVar2 + 4) = 1;\n  *piVar2 = param_2;\n  if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }\n  *piVar3 = param_3;\n  piVar3[1] = (int)piVar2;\n  param_1[1] = (int)(piVar3 + 2);\n  return piVar2;\n}\n\n" comment (function_definition "int * FUN_0015ea00(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int local_14;\n  int *local_10;\n  \n  local_10 = (int *)0x15ea08;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }\n  piVar3 = (int *)*param_1;\n  if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }\nLAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);\n  piVar3 = (int *)param_1[1];\n  local_14 = param_3;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  *(undefined1 *)(piVar2 + 4) = 1;\n  *piVar2 = param_2;\n  if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }\n  *piVar3 = param_3;\n  piVar3[1] = (int)piVar2;\n  param_1[1] = (int)(piVar3 + 2);\n  return piVar2;\n}" primitive_type (pointer_declarator "* FUN_0015ea00(int *param_1,int param_2,int param_3)" * (function_declarator "FUN_0015ea00(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int local_14;\n  int *local_10;\n  \n  local_10 = (int *)0x15ea08;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }\n  piVar3 = (int *)*param_1;\n  if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }\nLAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);\n  piVar3 = (int *)param_1[1];\n  local_14 = param_3;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  *(undefined1 *)(piVar2 + 4) = 1;\n  *piVar2 = param_2;\n  if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }\n  *piVar3 = param_3;\n  piVar3[1] = (int)piVar2;\n  param_1[1] = (int)(piVar3 + 2);\n  return piVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int local_14;" primitive_type identifier ;) (declaration "int *local_10;" primitive_type (pointer_declarator "*local_10" * identifier) ;) (expression_statement "local_10 = (int *)0x15ea08;" (assignment_expression "local_10 = (int *)0x15ea08" identifier = (cast_expression "(int *)0x15ea08" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }" if (parenthesized_expression "(param_3 == -1)" ( (binary_expression "param_3 == -1" identifier == number_literal) )) (compound_statement "{\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }" { (expression_statement "piVar3 = (int *)FUN_0015e4c0();" (assignment_expression "piVar3 = (int *)FUN_0015e4c0()" identifier = (cast_expression "(int *)FUN_0015e4c0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0015e4c0()" identifier (argument_list "()" ( ))))) ;) (labeled_statement "LAB_0015eacf:\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" statement_identifier : comment (expression_statement "FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" (call_expression "FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3)" identifier (argument_list "("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3)" ( (string_literal ""../../gold/merge.cc"" " string_content ") , number_literal , (string_literal ""get_or_make_input_merge_map"" " string_content ") , identifier ))) ;)) })) (expression_statement "piVar3 = (int *)*param_1;" (assignment_expression "piVar3 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }" if (parenthesized_expression "(piVar3 != (int *)param_1[1])" ( (binary_expression "piVar3 != (int *)param_1[1]" identifier != (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }" { (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (while_statement "while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }" while (parenthesized_expression "(iVar1 != param_3)" ( (binary_expression "iVar1 != param_3" identifier != identifier) )) (compound_statement "{\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }" { (expression_statement "piVar3 = piVar3 + 2;" (assignment_expression "piVar3 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) (if_statement "if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;" if (parenthesized_expression "((int *)param_1[1] == piVar3)" ( (binary_expression "(int *)param_1[1] == piVar3" (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == identifier) )) (goto_statement "goto LAB_0015ea46;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) })) (expression_statement "piVar3 = (int *)piVar3[1];" (assignment_expression "piVar3 = (int *)piVar3[1]" identifier = (cast_expression "(int *)piVar3[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }" if (parenthesized_expression "(piVar3 != (int *)0x0)" ( (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }" { (if_statement "if (*piVar3 == param_2) {\n        return piVar3;\n      }" if (parenthesized_expression "(*piVar3 == param_2)" ( (binary_expression "*piVar3 == param_2" (pointer_expression "*piVar3" * identifier) == identifier) )) (compound_statement "{\n        return piVar3;\n      }" { (return_statement "return piVar3;" return identifier ;) })) (goto_statement "goto LAB_0015eacf;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);" statement_identifier : (expression_statement "piVar2 = (int *)FUN_0017ebf0(0x14);" (assignment_expression "piVar2 = (int *)FUN_0017ebf0(0x14)" identifier = (cast_expression "(int *)FUN_0017ebf0(0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;)) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "local_14 = param_3;" (assignment_expression "local_14 = param_3" identifier = identifier) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar2 + 4) = 1;" (assignment_expression "*(undefined1 *)(piVar2 + 4) = 1" (pointer_expression "*(undefined1 *)(piVar2 + 4)" * (cast_expression "(undefined1 *)(piVar2 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 4)" ( (binary_expression "piVar2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*piVar2 = param_2;" (assignment_expression "*piVar2 = param_2" (pointer_expression "*piVar2" * identifier) = identifier) ;) (if_statement "if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }" if (parenthesized_expression "(piVar3 == (int *)param_1[2])" ( (binary_expression "piVar3 == (int *)param_1[2]" identifier == (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }" { (expression_statement "local_10 = piVar2;" (assignment_expression "local_10 = piVar2" identifier = identifier) ;) (expression_statement "FUN_00160130(param_1,piVar3,&local_14);" (call_expression "FUN_00160130(param_1,piVar3,&local_14)" identifier (argument_list "(param_1,piVar3,&local_14)" ( identifier , identifier , (pointer_expression "&local_14" & identifier) ))) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "*piVar3 = param_3;" (assignment_expression "*piVar3 = param_3" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "piVar3[1] = (int)piVar2;" (assignment_expression "piVar3[1] = (int)piVar2" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = (int)(piVar3 + 2);" (assignment_expression "param_1[1] = (int)(piVar3 + 2)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)(piVar3 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar3 + 2)" ( (binary_expression "piVar3 + 2" identifier + number_literal) )))) ;) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Input_merge_map * get_or_make_input_merge_map(Object_merge_map * this,\n   Output_section_data * output_data, uint shndx) */\n\nInput_merge_map * __thiscall\ngold::Object_merge_map::get_or_make_input_merge_map\n          (Object_merge_map *this,Output_section_data *output_data,uint shndx)\n\n{\n  pointer ppVar1;\n  uint uVar2;\n  iterator __position;\n  pointer ppVar3;\n  Input_merge_map *pIVar4;\n  Object_merge_map *in_stack_ffffffd4;\n  uint in_stack_ffffffd8;\n  pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*> local_14;\n  \n  local_14.second = (Input_merge_map *)0x15ea08;\n  if (shndx == 0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n    get_input_merge_map(in_stack_ffffffd4,in_stack_ffffffd8);\n  }\n  ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_start;\n  ppVar1 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_finish;\n  if (ppVar3 != ppVar1) {\n    uVar2 = ppVar3->first;\n    while (uVar2 != shndx) {\n      ppVar3 = ppVar3 + 1;\n      if (ppVar1 == ppVar3) goto LAB_0015ea46;\n      uVar2 = ppVar3->first;\n    }\n    pIVar4 = ppVar3->second;\n    if (pIVar4 != (Input_merge_map *)0x0) {\n      if (pIVar4->output_data == output_data) {\n        return pIVar4;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/merge.cc",0x48,"get_or_make_input_merge_map");\n    }\n  }\nLAB_0015ea46:\n  pIVar4 = (Input_merge_map *)operator_new(0x14);\n  __position._M_current =\n       (this->section_merge_maps_).\n       super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n       ._M_impl._M_finish;\n  local_14.first = shndx;\n  (pIVar4->entries).\n  super__Vector_base<gold::Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (pIVar4->entries).\n  super__Vector_base<gold::Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (pIVar4->entries).\n  super__Vector_base<gold::Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  pIVar4->sorted = true;\n  pIVar4->output_data = output_data;\n  if (__position._M_current ==\n      (this->section_merge_maps_).\n      super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n      ._M_impl._M_end_of_storage) {\n    local_14.second = pIVar4;\n    std::\n    vector<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n    ::_M_realloc_insert<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>\n              (&this->section_merge_maps_,__position,&local_14);\n    return pIVar4;\n  }\n  (__position._M_current)->first = shndx;\n  (__position._M_current)->second = pIVar4;\n  (this->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish = __position._M_current + 1;\n  return pIVar4;\n}\n\n" comment comment (ERROR "Input_merge_map * __thiscall\ngold::Object_merge_map::get_or_make_input_merge_map\n          (Object_merge_map *this,Output_section_data *output_data,uint shndx)" (binary_expression "Input_merge_map * __thiscall\ngold::Object_merge_map::get_or_make_input_merge_map\n          (Object_merge_map *this,Output_section_data *output_data,uint shndx)" identifier * (call_expression "__thiscall\ngold::Object_merge_map::get_or_make_input_merge_map\n          (Object_merge_map *this,Output_section_data *output_data,uint shndx)" identifier (ERROR "gold::Object_merge_map::get_or_make_input_merge_map" identifier : : identifier : : identifier) (argument_list "(Object_merge_map *this,Output_section_data *output_data,uint shndx)" ( (binary_expression "Object_merge_map *this" identifier * identifier) , (binary_expression "Output_section_data *output_data" identifier * identifier) , (ERROR "uint" identifier) identifier ))))) (compound_statement "{\n  pointer ppVar1;\n  uint uVar2;\n  iterator __position;\n  pointer ppVar3;\n  Input_merge_map *pIVar4;\n  Object_merge_map *in_stack_ffffffd4;\n  uint in_stack_ffffffd8;\n  pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*> local_14;\n  \n  local_14.second = (Input_merge_map *)0x15ea08;\n  if (shndx == 0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n    get_input_merge_map(in_stack_ffffffd4,in_stack_ffffffd8);\n  }\n  ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_start;\n  ppVar1 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_finish;\n  if (ppVar3 != ppVar1) {\n    uVar2 = ppVar3->first;\n    while (uVar2 != shndx) {\n      ppVar3 = ppVar3 + 1;\n      if (ppVar1 == ppVar3) goto LAB_0015ea46;\n      uVar2 = ppVar3->first;\n    }\n    pIVar4 = ppVar3->second;\n    if (pIVar4 != (Input_merge_map *)0x0) {\n      if (pIVar4->output_data == output_data) {\n        return pIVar4;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/merge.cc",0x48,"get_or_make_input_merge_map");\n    }\n  }\nLAB_0015ea46:\n  pIVar4 = (Input_merge_map *)operator_new(0x14);\n  __position._M_current =\n       (this->section_merge_maps_).\n       super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n       ._M_impl._M_finish;\n  local_14.first = shndx;\n  (pIVar4->entries).\n  super__Vector_base<gold::Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (pIVar4->entries).\n  super__Vector_base<gold::Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (pIVar4->entries).\n  super__Vector_base<gold::Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  pIVar4->sorted = true;\n  pIVar4->output_data = output_data;\n  if (__position._M_current ==\n      (this->section_merge_maps_).\n      super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n      ._M_impl._M_end_of_storage) {\n    local_14.second = pIVar4;\n    std::\n    vector<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n    ::_M_realloc_insert<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>\n              (&this->section_merge_maps_,__position,&local_14);\n    return pIVar4;\n  }\n  (__position._M_current)->first = shndx;\n  (__position._M_current)->second = pIVar4;\n  (this->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish = __position._M_current + 1;\n  return pIVar4;\n}" { (declaration "pointer ppVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "iterator __position;" type_identifier identifier ;) (declaration "pointer ppVar3;" type_identifier identifier ;) (declaration "Input_merge_map *pIVar4;" type_identifier (pointer_declarator "*pIVar4" * identifier) ;) (declaration "Object_merge_map *in_stack_ffffffd4;" type_identifier (pointer_declarator "*in_stack_ffffffd4" * identifier) ;) (declaration "uint in_stack_ffffffd8;" type_identifier identifier ;) (ERROR "pair<unsigned_int,_gold::" (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) : :) (expression_statement "Object_merge_map::Input_merge_map*> local_14;" (binary_expression "Object_merge_map::Input_merge_map*> local_14" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) ;) (expression_statement "local_14.second = (Input_merge_map *)0x15ea08;" (assignment_expression "local_14.second = (Input_merge_map *)0x15ea08" (field_expression "local_14.second" identifier . field_identifier) = (cast_expression "(Input_merge_map *)0x15ea08" ( (type_descriptor "Input_merge_map *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (shndx == 0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n    get_input_merge_map(in_stack_ffffffd4,in_stack_ffffffd8);\n  }" if (parenthesized_expression "(shndx == 0xffffffff)" ( (binary_expression "shndx == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    get_input_merge_map(in_stack_ffffffd4,in_stack_ffffffd8);\n  }" { comment (expression_statement "get_input_merge_map(in_stack_ffffffd4,in_stack_ffffffd8);" (call_expression "get_input_merge_map(in_stack_ffffffd4,in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8)" ( identifier , identifier ))) ;) })) (ERROR "ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::" (comma_expression "ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold" (binary_expression "ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int" (assignment_expression "ppVar3 = (this->section_merge_maps_).\n           super__Vector_base<std" identifier = (binary_expression "(this->section_merge_maps_).\n           super__Vector_base<std" (field_expression "(this->section_merge_maps_).\n           super__Vector_base" (parenthesized_expression "(this->section_merge_maps_)" ( (field_expression "this->section_merge_maps_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::pair" : : identifier) < identifier) , identifier) : : identifier : : identifier * > , identifier : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) : :) (expression_statement "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_start;" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_start" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl" (binary_expression "Object_merge_map::Input_merge_map*>_>_" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (ERROR "ppVar1 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::" (comma_expression "ppVar1 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int,_gold" (binary_expression "ppVar1 = (this->section_merge_maps_).\n           super__Vector_base<std::pair<unsigned_int" (assignment_expression "ppVar1 = (this->section_merge_maps_).\n           super__Vector_base<std" identifier = (binary_expression "(this->section_merge_maps_).\n           super__Vector_base<std" (field_expression "(this->section_merge_maps_).\n           super__Vector_base" (parenthesized_expression "(this->section_merge_maps_)" ( (field_expression "this->section_merge_maps_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::pair" : : identifier) < identifier) , identifier) : : identifier : : identifier * > , identifier : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) : :) (expression_statement "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_finish;" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl._M_finish" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n           ._M_impl" (binary_expression "Object_merge_map::Input_merge_map*>_>_" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppVar3 != ppVar1) {\n    uVar2 = ppVar3->first;\n    while (uVar2 != shndx) {\n      ppVar3 = ppVar3 + 1;\n      if (ppVar1 == ppVar3) goto LAB_0015ea46;\n      uVar2 = ppVar3->first;\n    }\n    pIVar4 = ppVar3->second;\n    if (pIVar4 != (Input_merge_map *)0x0) {\n      if (pIVar4->output_data == output_data) {\n        return pIVar4;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/merge.cc",0x48,"get_or_make_input_merge_map");\n    }\n  }" if (parenthesized_expression "(ppVar3 != ppVar1)" ( (binary_expression "ppVar3 != ppVar1" identifier != identifier) )) (compound_statement "{\n    uVar2 = ppVar3->first;\n    while (uVar2 != shndx) {\n      ppVar3 = ppVar3 + 1;\n      if (ppVar1 == ppVar3) goto LAB_0015ea46;\n      uVar2 = ppVar3->first;\n    }\n    pIVar4 = ppVar3->second;\n    if (pIVar4 != (Input_merge_map *)0x0) {\n      if (pIVar4->output_data == output_data) {\n        return pIVar4;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/merge.cc",0x48,"get_or_make_input_merge_map");\n    }\n  }" { (expression_statement "uVar2 = ppVar3->first;" (assignment_expression "uVar2 = ppVar3->first" identifier = (field_expression "ppVar3->first" identifier -> field_identifier)) ;) (while_statement "while (uVar2 != shndx) {\n      ppVar3 = ppVar3 + 1;\n      if (ppVar1 == ppVar3) goto LAB_0015ea46;\n      uVar2 = ppVar3->first;\n    }" while (parenthesized_expression "(uVar2 != shndx)" ( (binary_expression "uVar2 != shndx" identifier != identifier) )) (compound_statement "{\n      ppVar3 = ppVar3 + 1;\n      if (ppVar1 == ppVar3) goto LAB_0015ea46;\n      uVar2 = ppVar3->first;\n    }" { (expression_statement "ppVar3 = ppVar3 + 1;" (assignment_expression "ppVar3 = ppVar3 + 1" identifier = (binary_expression "ppVar3 + 1" identifier + number_literal)) ;) (if_statement "if (ppVar1 == ppVar3) goto LAB_0015ea46;" if (parenthesized_expression "(ppVar1 == ppVar3)" ( (binary_expression "ppVar1 == ppVar3" identifier == identifier) )) (goto_statement "goto LAB_0015ea46;" goto statement_identifier ;)) (expression_statement "uVar2 = ppVar3->first;" (assignment_expression "uVar2 = ppVar3->first" identifier = (field_expression "ppVar3->first" identifier -> field_identifier)) ;) })) (expression_statement "pIVar4 = ppVar3->second;" (assignment_expression "pIVar4 = ppVar3->second" identifier = (field_expression "ppVar3->second" identifier -> field_identifier)) ;) (if_statement "if (pIVar4 != (Input_merge_map *)0x0) {\n      if (pIVar4->output_data == output_data) {\n        return pIVar4;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/merge.cc",0x48,"get_or_make_input_merge_map");\n    }" if (parenthesized_expression "(pIVar4 != (Input_merge_map *)0x0)" ( (binary_expression "pIVar4 != (Input_merge_map *)0x0" identifier != (cast_expression "(Input_merge_map *)0x0" ( (type_descriptor "Input_merge_map *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (pIVar4->output_data == output_data) {\n        return pIVar4;\n      }\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/merge.cc",0x48,"get_or_make_input_merge_map");\n    }" { (if_statement "if (pIVar4->output_data == output_data) {\n        return pIVar4;\n      }" if (parenthesized_expression "(pIVar4->output_data == output_data)" ( (binary_expression "pIVar4->output_data == output_data" (field_expression "pIVar4->output_data" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        return pIVar4;\n      }" { (return_statement "return pIVar4;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/merge.cc",0x48,"get_or_make_input_merge_map");" (call_expression "do_gold_unreachable("../../gold/merge.cc",0x48,"get_or_make_input_merge_map")" identifier (argument_list "("../../gold/merge.cc",0x48,"get_or_make_input_merge_map")" ( (string_literal ""../../gold/merge.cc"" " string_content ") , number_literal , (string_literal ""get_or_make_input_merge_map"" " string_content ") ))) ;) })) })) (labeled_statement "LAB_0015ea46:\n  pIVar4 = (Input_merge_map *)operator_new(0x14);" statement_identifier : (expression_statement "pIVar4 = (Input_merge_map *)operator_new(0x14);" (assignment_expression "pIVar4 = (Input_merge_map *)operator_new(0x14)" identifier = (cast_expression "(Input_merge_map *)operator_new(0x14)" ( (type_descriptor "Input_merge_map *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;)) (ERROR "__position._M_current =\n       (this->section_merge_maps_).\n       super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::" (comma_expression "__position._M_current =\n       (this->section_merge_maps_).\n       super__Vector_base<std::pair<unsigned_int,_gold" (binary_expression "__position._M_current =\n       (this->section_merge_maps_).\n       super__Vector_base<std::pair<unsigned_int" (assignment_expression "__position._M_current =\n       (this->section_merge_maps_).\n       super__Vector_base<std" (field_expression "__position._M_current" identifier . field_identifier) = (binary_expression "(this->section_merge_maps_).\n       super__Vector_base<std" (field_expression "(this->section_merge_maps_).\n       super__Vector_base" (parenthesized_expression "(this->section_merge_maps_)" ( (field_expression "this->section_merge_maps_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::pair" : : identifier) < identifier) , identifier) : : identifier : : identifier * > , identifier : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) : :) (expression_statement "Object_merge_map::Input_merge_map*>_>_>\n       ._M_impl._M_finish;" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n       ._M_impl._M_finish" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n       ._M_impl" (binary_expression "Object_merge_map::Input_merge_map*>_>_" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "local_14.first = shndx;" (assignment_expression "local_14.first = shndx" (field_expression "local_14.first" identifier . field_identifier) = identifier) ;) (ERROR "(pIVar4->entries).\n  super__Vector_base<gold::" (binary_expression "(pIVar4->entries).\n  super__Vector_base<gold" (field_expression "(pIVar4->entries).\n  super__Vector_base" (parenthesized_expression "(pIVar4->entries)" ( (field_expression "pIVar4->entries" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_start = (pointer)0x0;" statement_identifier (ERROR "::Input_merge_entry,_std::allocator<gold:" : : (comma_expression "Input_merge_entry,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_start = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Input_merge_entry>_>\n  ._M_impl._M_start = (pointer)0x0;" (assignment_expression "Input_merge_entry>_>\n  ._M_impl._M_start = (pointer)0x0" (field_expression "Input_merge_entry>_>\n  ._M_impl._M_start" (field_expression "Input_merge_entry>_>\n  ._M_impl" (binary_expression "Input_merge_entry>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))) (ERROR "(pIVar4->entries).\n  super__Vector_base<gold::" (binary_expression "(pIVar4->entries).\n  super__Vector_base<gold" (field_expression "(pIVar4->entries).\n  super__Vector_base" (parenthesized_expression "(pIVar4->entries)" ( (field_expression "pIVar4->entries" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_finish = (pointer)0x0;" statement_identifier (ERROR "::Input_merge_entry,_std::allocator<gold:" : : (comma_expression "Input_merge_entry,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_finish = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Input_merge_entry>_>\n  ._M_impl._M_finish = (pointer)0x0;" (assignment_expression "Input_merge_entry>_>\n  ._M_impl._M_finish = (pointer)0x0" (field_expression "Input_merge_entry>_>\n  ._M_impl._M_finish" (field_expression "Input_merge_entry>_>\n  ._M_impl" (binary_expression "Input_merge_entry>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))) (ERROR "(pIVar4->entries).\n  super__Vector_base<gold::" (binary_expression "(pIVar4->entries).\n  super__Vector_base<gold" (field_expression "(pIVar4->entries).\n  super__Vector_base" (parenthesized_expression "(pIVar4->entries)" ( (field_expression "pIVar4->entries" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Object_merge_map::Input_merge_entry,_std::allocator<gold::Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier (ERROR "::Input_merge_entry,_std::allocator<gold:" : : (comma_expression "Input_merge_entry,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Object_merge_map::Input_merge_entry>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Input_merge_entry>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;" (assignment_expression "Input_merge_entry>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0" (field_expression "Input_merge_entry>_>\n  ._M_impl._M_end_of_storage" (field_expression "Input_merge_entry>_>\n  ._M_impl" (binary_expression "Input_merge_entry>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))) (expression_statement "pIVar4->sorted = true;" (assignment_expression "pIVar4->sorted = true" (field_expression "pIVar4->sorted" identifier -> field_identifier) = true) ;) (expression_statement "pIVar4->output_data = output_data;" (assignment_expression "pIVar4->output_data = output_data" (field_expression "pIVar4->output_data" identifier -> field_identifier) = identifier) ;) (if_statement "if (__position._M_current ==\n      (this->section_merge_maps_).\n      super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n      ._M_impl._M_end_of_storage) {\n    local_14.second = pIVar4;\n    std::\n    vector<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n    ::_M_realloc_insert<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>\n              (&this->section_merge_maps_,__position,&local_14);\n    return pIVar4;\n  }" if (parenthesized_expression "(__position._M_current ==\n      (this->section_merge_maps_).\n      super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n      ._M_impl._M_end_of_storage)" ( (ERROR "__position._M_current ==\n      (this->section_merge_maps_).\n      super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::" (comma_expression "__position._M_current ==\n      (this->section_merge_maps_).\n      super__Vector_base<std::pair<unsigned_int,_gold" (binary_expression "__position._M_current ==\n      (this->section_merge_maps_).\n      super__Vector_base<std::pair<unsigned_int" (binary_expression "__position._M_current ==\n      (this->section_merge_maps_).\n      super__Vector_base<std" (field_expression "__position._M_current" identifier . field_identifier) == (binary_expression "(this->section_merge_maps_).\n      super__Vector_base<std" (field_expression "(this->section_merge_maps_).\n      super__Vector_base" (parenthesized_expression "(this->section_merge_maps_)" ( (field_expression "this->section_merge_maps_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::pair" : : identifier) < identifier) , identifier) : : identifier : : identifier * > , identifier : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) : : identifier : :) (field_expression "Input_merge_map*>_>_>\n      ._M_impl._M_end_of_storage" (field_expression "Input_merge_map*>_>_>\n      ._M_impl" (binary_expression "Input_merge_map*>_>_" (binary_expression "Input_merge_map*>_" identifier * (ERROR ">" >) identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    local_14.second = pIVar4;\n    std::\n    vector<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n    ::_M_realloc_insert<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>\n              (&this->section_merge_maps_,__position,&local_14);\n    return pIVar4;\n  }" { (expression_statement "local_14.second = pIVar4;" (assignment_expression "local_14.second = pIVar4" (field_expression "local_14.second" identifier . field_identifier) = identifier) ;) (labeled_statement "std::\n    vector<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n    ::_M_realloc_insert<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>\n              (&this->section_merge_maps_,__position,&local_14);" statement_identifier (ERROR "::\n    vector<std::pair<unsigned_int,_gold:" : : (binary_expression "vector<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) :) : (labeled_statement "Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n    ::_M_realloc_insert<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>\n              (&this->section_merge_maps_,__position,&local_14);" statement_identifier (ERROR "::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n    ::_M_realloc_insert<std::pair<unsigned_int,_gold:" : : (comma_expression "Input_merge_map*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) : : (binary_expression "Object_merge_map::Input_merge_map*>_>_" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > identifier) > : : (binary_expression "_M_realloc_insert<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) :) : (expression_statement "Object_merge_map::Input_merge_map*>_>\n              (&this->section_merge_maps_,__position,&local_14);" (binary_expression "Object_merge_map::Input_merge_map*>_>\n              (&this->section_merge_maps_,__position,&local_14)" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > (parenthesized_expression "(&this->section_merge_maps_,__position,&local_14)" ( (comma_expression "&this->section_merge_maps_,__position,&local_14" (pointer_expression "&this->section_merge_maps_" & (field_expression "this->section_merge_maps_" identifier -> field_identifier)) , (comma_expression "__position,&local_14" identifier , (pointer_expression "&local_14" & identifier))) ))) ;))) (return_statement "return pIVar4;" return identifier ;) })) (expression_statement "(__position._M_current)->first = shndx;" (assignment_expression "(__position._M_current)->first = shndx" (field_expression "(__position._M_current)->first" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) = identifier) ;) (expression_statement "(__position._M_current)->second = pIVar4;" (assignment_expression "(__position._M_current)->second = pIVar4" (field_expression "(__position._M_current)->second" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) = identifier) ;) (ERROR "(this->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::" (comma_expression "(this->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold" (binary_expression "(this->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int" (binary_expression "(this->section_merge_maps_).\n  super__Vector_base<std" (field_expression "(this->section_merge_maps_).\n  super__Vector_base" (parenthesized_expression "(this->section_merge_maps_)" ( (field_expression "this->section_merge_maps_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , identifier) : :) (labeled_statement "Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish = __position._M_current + 1;" statement_identifier (ERROR "::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold:" : : (comma_expression "Input_merge_map*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) :) : (expression_statement "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish = __position._M_current + 1;" (assignment_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish = __position._M_current + 1" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl" (binary_expression "Object_merge_map::Input_merge_map*>_>_" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (binary_expression "__position._M_current + 1" (field_expression "__position._M_current" identifier . field_identifier) + number_literal)) ;)) (return_statement "return pIVar4;" return identifier ;) }))
(translation_unit "int * FUN_0015ea00(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int local_14;\n  int *local_10;\n  \n  local_10 = (int *)0x15ea08;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }\n  piVar3 = (int *)*param_1;\n  if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }\nLAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);\n  piVar3 = (int *)param_1[1];\n  local_14 = param_3;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  *(undefined1 *)(piVar2 + 4) = 1;\n  *piVar2 = param_2;\n  if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }\n  *piVar3 = param_3;\n  piVar3[1] = (int)piVar2;\n  param_1[1] = (int)(piVar3 + 2);\n  return piVar2;\n}\n\n" (function_definition "int * FUN_0015ea00(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int local_14;\n  int *local_10;\n  \n  local_10 = (int *)0x15ea08;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }\n  piVar3 = (int *)*param_1;\n  if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }\nLAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);\n  piVar3 = (int *)param_1[1];\n  local_14 = param_3;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  *(undefined1 *)(piVar2 + 4) = 1;\n  *piVar2 = param_2;\n  if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }\n  *piVar3 = param_3;\n  piVar3[1] = (int)piVar2;\n  param_1[1] = (int)(piVar3 + 2);\n  return piVar2;\n}" primitive_type (pointer_declarator "* FUN_0015ea00(int *param_1,int param_2,int param_3)" * (function_declarator "FUN_0015ea00(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int local_14;\n  int *local_10;\n  \n  local_10 = (int *)0x15ea08;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }\n  piVar3 = (int *)*param_1;\n  if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }\nLAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);\n  piVar3 = (int *)param_1[1];\n  local_14 = param_3;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  *(undefined1 *)(piVar2 + 4) = 1;\n  *piVar2 = param_2;\n  if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }\n  *piVar3 = param_3;\n  piVar3[1] = (int)piVar2;\n  param_1[1] = (int)(piVar3 + 2);\n  return piVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int local_14;" primitive_type identifier ;) (declaration "int *local_10;" primitive_type (pointer_declarator "*local_10" * identifier) ;) (expression_statement "local_10 = (int *)0x15ea08;" (assignment_expression "local_10 = (int *)0x15ea08" identifier = (cast_expression "(int *)0x15ea08" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }" if (parenthesized_expression "(param_3 == -1)" ( (binary_expression "param_3 == -1" identifier == number_literal) )) (compound_statement "{\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }" { (expression_statement "piVar3 = (int *)FUN_0015e4c0();" (assignment_expression "piVar3 = (int *)FUN_0015e4c0()" identifier = (cast_expression "(int *)FUN_0015e4c0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0015e4c0()" identifier (argument_list "()" ( ))))) ;) (labeled_statement "LAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" statement_identifier : (expression_statement "FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" (call_expression "FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3)" identifier (argument_list "("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3)" ( (string_literal ""../../gold/merge.cc"" " string_content ") , number_literal , (string_literal ""get_or_make_input_merge_map"" " string_content ") , identifier ))) ;)) })) (expression_statement "piVar3 = (int *)*param_1;" (assignment_expression "piVar3 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }" if (parenthesized_expression "(piVar3 != (int *)param_1[1])" ( (binary_expression "piVar3 != (int *)param_1[1]" identifier != (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }" { (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (while_statement "while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }" while (parenthesized_expression "(iVar1 != param_3)" ( (binary_expression "iVar1 != param_3" identifier != identifier) )) (compound_statement "{\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }" { (expression_statement "piVar3 = piVar3 + 2;" (assignment_expression "piVar3 = piVar3 + 2" identifier = (binary_expression "piVar3 + 2" identifier + number_literal)) ;) (if_statement "if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;" if (parenthesized_expression "((int *)param_1[1] == piVar3)" ( (binary_expression "(int *)param_1[1] == piVar3" (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == identifier) )) (goto_statement "goto LAB_0015ea46;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) })) (expression_statement "piVar3 = (int *)piVar3[1];" (assignment_expression "piVar3 = (int *)piVar3[1]" identifier = (cast_expression "(int *)piVar3[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }" if (parenthesized_expression "(piVar3 != (int *)0x0)" ( (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }" { (if_statement "if (*piVar3 == param_2) {\n        return piVar3;\n      }" if (parenthesized_expression "(*piVar3 == param_2)" ( (binary_expression "*piVar3 == param_2" (pointer_expression "*piVar3" * identifier) == identifier) )) (compound_statement "{\n        return piVar3;\n      }" { (return_statement "return piVar3;" return identifier ;) })) (goto_statement "goto LAB_0015eacf;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);" statement_identifier : (expression_statement "piVar2 = (int *)FUN_0017ebf0(0x14);" (assignment_expression "piVar2 = (int *)FUN_0017ebf0(0x14)" identifier = (cast_expression "(int *)FUN_0017ebf0(0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;)) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "local_14 = param_3;" (assignment_expression "local_14 = param_3" identifier = identifier) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar2 + 4) = 1;" (assignment_expression "*(undefined1 *)(piVar2 + 4) = 1" (pointer_expression "*(undefined1 *)(piVar2 + 4)" * (cast_expression "(undefined1 *)(piVar2 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 4)" ( (binary_expression "piVar2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*piVar2 = param_2;" (assignment_expression "*piVar2 = param_2" (pointer_expression "*piVar2" * identifier) = identifier) ;) (if_statement "if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }" if (parenthesized_expression "(piVar3 == (int *)param_1[2])" ( (binary_expression "piVar3 == (int *)param_1[2]" identifier == (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }" { (expression_statement "local_10 = piVar2;" (assignment_expression "local_10 = piVar2" identifier = identifier) ;) (expression_statement "FUN_00160130(param_1,piVar3,&local_14);" (call_expression "FUN_00160130(param_1,piVar3,&local_14)" identifier (argument_list "(param_1,piVar3,&local_14)" ( identifier , identifier , (pointer_expression "&local_14" & identifier) ))) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "*piVar3 = param_3;" (assignment_expression "*piVar3 = param_3" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "piVar3[1] = (int)piVar2;" (assignment_expression "piVar3[1] = (int)piVar2" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = (int)(piVar3 + 2);" (assignment_expression "param_1[1] = (int)(piVar3 + 2)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)(piVar3 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar3 + 2)" ( (binary_expression "piVar3 + 2" identifier + number_literal) )))) ;) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) (compound_statement { (return_statement return IDENT ;) })) (goto_statement goto statement_identifier ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0015ea00(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int local_14;\n  int *local_10;\n  \n  local_10 = (int *)0x15ea08;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }\n  piVar3 = (int *)*param_1;\n  if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }\nLAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);\n  piVar3 = (int *)param_1[1];\n  local_14 = param_3;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  *(undefined1 *)(piVar2 + 4) = 1;\n  *piVar2 = param_2;\n  if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }\n  *piVar3 = param_3;\n  piVar3[1] = (int)piVar2;\n  param_1[1] = (int)(piVar3 + 2);\n  return piVar2;\n}" (primitive_type "int") (pointer_declarator "* FUN_0015ea00(int *param_1,int param_2,int param_3)" (* "*") (function_declarator "FUN_0015ea00(int *param_1,int param_2,int param_3)" (identifier "FUN_0015ea00") (parameter_list "(int *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")")))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int local_14;\n  int *local_10;\n  \n  local_10 = (int *)0x15ea08;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }\n  piVar3 = (int *)*param_1;\n  if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }\nLAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);\n  piVar3 = (int *)param_1[1];\n  local_14 = param_3;\n  piVar2[1] = 0;\n  piVar2[2] = 0;\n  piVar2[3] = 0;\n  *(undefined1 *)(piVar2 + 4) = 1;\n  *piVar2 = param_2;\n  if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }\n  *piVar3 = param_3;\n  piVar3[1] = (int)piVar2;\n  param_1[1] = (int)(piVar3 + 2);\n  return piVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (declaration "int *local_10;" (primitive_type "int") (pointer_declarator "*local_10" (* "*") (identifier "local_10")) (; ";")) (expression_statement "local_10 = (int *)0x15ea08;" (assignment_expression "local_10 = (int *)0x15ea08" (identifier "local_10") (= "=") (cast_expression "(int *)0x15ea08" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x15ea08"))) (; ";")) (if_statement "if (param_3 == -1) {\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }" (if "if") (parenthesized_expression "(param_3 == -1)" (( "(") (binary_expression "param_3 == -1" (identifier "param_3") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    piVar3 = (int *)FUN_0015e4c0();\nLAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }" ({ "{") (expression_statement "piVar3 = (int *)FUN_0015e4c0();" (assignment_expression "piVar3 = (int *)FUN_0015e4c0()" (identifier "piVar3") (= "=") (cast_expression "(int *)FUN_0015e4c0()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0015e4c0()" (identifier "FUN_0015e4c0") (argument_list "()" (( "(") () ")"))))) (; ";")) (labeled_statement "LAB_0015eacf:\n                    \n    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" (statement_identifier "LAB_0015eacf") (: ":") (expression_statement "FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" (call_expression "FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3)" (( "(") (string_literal ""../../gold/merge.cc"" (" """) (string_content "../../gold/merge.cc") (" """)) (, ",") (number_literal "0x48") (, ",") (string_literal ""get_or_make_input_merge_map"" (" """) (string_content "get_or_make_input_merge_map") (" """)) (, ",") (identifier "piVar3") () ")"))) (; ";"))) (} "}"))) (expression_statement "piVar3 = (int *)*param_1;" (assignment_expression "piVar3 = (int *)*param_1" (identifier "piVar3") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (piVar3 != (int *)param_1[1]) {\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }" (if "if") (parenthesized_expression "(piVar3 != (int *)param_1[1])" (( "(") (binary_expression "piVar3 != (int *)param_1[1]" (identifier "piVar3") (!= "!=") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n    iVar1 = *piVar3;\n    while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }\n    piVar3 = (int *)piVar3[1];\n    if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }\n  }" ({ "{") (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" (identifier "iVar1") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (while_statement "while (iVar1 != param_3) {\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }" (while "while") (parenthesized_expression "(iVar1 != param_3)" (( "(") (binary_expression "iVar1 != param_3" (identifier "iVar1") (!= "!=") (identifier "param_3")) () ")")) (compound_statement "{\n      piVar3 = piVar3 + 2;\n      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;\n      iVar1 = *piVar3;\n    }" ({ "{") (expression_statement "piVar3 = piVar3 + 2;" (assignment_expression "piVar3 = piVar3 + 2" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 2" (identifier "piVar3") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;" (if "if") (parenthesized_expression "((int *)param_1[1] == piVar3)" (( "(") (binary_expression "(int *)param_1[1] == piVar3" (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "piVar3")) () ")")) (goto_statement "goto LAB_0015ea46;" (goto "goto") (statement_identifier "LAB_0015ea46") (; ";"))) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" (identifier "iVar1") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (} "}"))) (expression_statement "piVar3 = (int *)piVar3[1];" (assignment_expression "piVar3 = (int *)piVar3[1]" (identifier "piVar3") (= "=") (cast_expression "(int *)piVar3[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (piVar3 != (int *)0x0) {\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }" (if "if") (parenthesized_expression "(piVar3 != (int *)0x0)" (( "(") (binary_expression "piVar3 != (int *)0x0" (identifier "piVar3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (*piVar3 == param_2) {\n        return piVar3;\n      }\n      goto LAB_0015eacf;\n    }" ({ "{") (if_statement "if (*piVar3 == param_2) {\n        return piVar3;\n      }" (if "if") (parenthesized_expression "(*piVar3 == param_2)" (( "(") (binary_expression "*piVar3 == param_2" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n        return piVar3;\n      }" ({ "{") (return_statement "return piVar3;" (return "return") (identifier "piVar3") (; ";")) (} "}"))) (goto_statement "goto LAB_0015eacf;" (goto "goto") (statement_identifier "LAB_0015eacf") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0015ea46:\n  piVar2 = (int *)FUN_0017ebf0(0x14);" (statement_identifier "LAB_0015ea46") (: ":") (expression_statement "piVar2 = (int *)FUN_0017ebf0(0x14);" (assignment_expression "piVar2 = (int *)FUN_0017ebf0(0x14)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_0017ebf0(0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0017ebf0(0x14)" (identifier "FUN_0017ebf0") (argument_list "(0x14)" (( "(") (number_literal "0x14") () ")"))))) (; ";"))) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" (identifier "piVar3") (= "=") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "local_14 = param_3;" (assignment_expression "local_14 = param_3" (identifier "local_14") (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(piVar2 + 4) = 1;" (assignment_expression "*(undefined1 *)(piVar2 + 4) = 1" (pointer_expression "*(undefined1 *)(piVar2 + 4)" (* "*") (cast_expression "(undefined1 *)(piVar2 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 4)" (( "(") (binary_expression "piVar2 + 4" (identifier "piVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*piVar2 = param_2;" (assignment_expression "*piVar2 = param_2" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "param_2")) (; ";")) (if_statement "if (piVar3 == (int *)param_1[2]) {\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }" (if "if") (parenthesized_expression "(piVar3 == (int *)param_1[2])" (( "(") (binary_expression "piVar3 == (int *)param_1[2]" (identifier "piVar3") (== "==") (cast_expression "(int *)param_1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (compound_statement "{\n    local_10 = piVar2;\n    FUN_00160130(param_1,piVar3,&local_14);\n    return piVar2;\n  }" ({ "{") (expression_statement "local_10 = piVar2;" (assignment_expression "local_10 = piVar2" (identifier "local_10") (= "=") (identifier "piVar2")) (; ";")) (expression_statement "FUN_00160130(param_1,piVar3,&local_14);" (call_expression "FUN_00160130(param_1,piVar3,&local_14)" (identifier "FUN_00160130") (argument_list "(param_1,piVar3,&local_14)" (( "(") (identifier "param_1") (, ",") (identifier "piVar3") (, ",") (pointer_expression "&local_14" (& "&") (identifier "local_14")) () ")"))) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}"))) (expression_statement "*piVar3 = param_3;" (assignment_expression "*piVar3 = param_3" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar3[1] = (int)piVar2;" (assignment_expression "piVar3[1] = (int)piVar2" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2"))) (; ";")) (expression_statement "param_1[1] = (int)(piVar3 + 2);" (assignment_expression "param_1[1] = (int)(piVar3 + 2)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)(piVar3 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar3 + 2)" (( "(") (binary_expression "piVar3 + 2" (identifier "piVar3") (+ "+") (number_literal "2")) () ")")))) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Input_merge_map * get_or_make_input_merge_map(Object_merge_map * this,
   Output_section_data * output_data, uint shndx) */

type_4 * __thiscall
gold::type_5::get_or_make_input_merge_map
          (type_5 *this,Output_section_data *var_9,type_2 var_2)

{
  type_1 var_6;
  type_2 var_7;
  type_3 __position;
  type_1 var_5;
  type_4 *var_8;
  type_5 *in_stack_ffffffd4;
  type_2 in_stack_ffffffd8;
  pair<unsigned_int,_gold::type_5::type_4*> var_1;
  
  var_1.second = (type_4 *)0x15ea08;
  if (var_2 == 0xffffffff) {
                    /* WARNING: Subroutine does not return */
    var_3(in_stack_ffffffd4,in_stack_ffffffd8);
  }
  var_5 = (this->section_merge_maps_).
           super__Vector_base<std::pair<unsigned_int,_gold::type_5::type_4*>,_std::allocator<std::pair<unsigned_int,_gold::type_5::type_4*>var_4>var_4>
           ._M_impl._M_start;
  var_6 = (this->section_merge_maps_).
           super__Vector_base<std::pair<unsigned_int,_gold::type_5::type_4*>,_std::allocator<std::pair<unsigned_int,_gold::type_5::type_4*>var_4>var_4>
           ._M_impl._M_finish;
  if (var_5 != var_6) {
    var_7 = var_5->first;
    while (var_7 != var_2) {
      var_5 = var_5 + 1;
      if (var_6 == var_5) goto LAB_0015ea46;
      var_7 = var_5->first;
    }
    var_8 = var_5->second;
    if (var_8 != (type_4 *)0x0) {
      if (var_8->var_9 == var_9) {
        return var_8;
      }
                    /* WARNING: Subroutine does not return */
      var_10("../../gold/merge.cc",0x48,"get_or_make_input_merge_map");
    }
  }
LAB_0015ea46:
  var_8 = (type_4 *)var_11(0x14);
  __position._M_current =
       (this->section_merge_maps_).
       super__Vector_base<std::pair<unsigned_int,_gold::type_5::type_4*>,_std::allocator<std::pair<unsigned_int,_gold::type_5::type_4*>var_4>var_4>
       ._M_impl._M_finish;
  var_1.first = var_2;
  (var_8->entries).
  super__Vector_base<gold::Object_merge_map::var_12,_std::allocator<gold::Object_merge_map::var_12>var_4>
  ._M_impl._M_start = (type_1)0x0;
  (var_8->entries).
  super__Vector_base<gold::Object_merge_map::var_12,_std::allocator<gold::Object_merge_map::var_12>var_4>
  ._M_impl._M_finish = (type_1)0x0;
  (var_8->entries).
  super__Vector_base<gold::Object_merge_map::var_12,_std::allocator<gold::Object_merge_map::var_12>var_4>
  ._M_impl._M_end_of_storage = (type_1)0x0;
  var_8->sorted = true;
  var_8->var_9 = var_9;
  if (__position._M_current ==
      (this->section_merge_maps_).
      super__Vector_base<std::pair<unsigned_int,_gold::type_5::type_4*>,_std::allocator<std::pair<unsigned_int,_gold::type_5::type_4*>var_4>var_4>
      ._M_impl._M_end_of_storage) {
    var_1.second = var_8;
    std::
    vector<std::pair<unsigned_int,_gold::Object_merge_map::type_4*>,_std::allocator<std::pair<unsigned_int,_gold::type_5::type_4*>var_4>var_4>
    ::_M_realloc_insert<std::pair<unsigned_int,_gold::type_5::type_4*>var_4>
              (&this->section_merge_maps_,__position,&var_1);
    return var_8;
  }
  (__position._M_current)->first = var_2;
  (__position._M_current)->second = var_8;
  (this->section_merge_maps_).
  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::type_4*>,_std::allocator<std::pair<unsigned_int,_gold::type_5::type_4*>var_4>var_4>
  ._M_impl._M_finish = __position._M_current + 1;
  return var_8;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int * MASKED(int *param_1,int param_2,int param_3)

{
  int iVar1;
  int *piVar2;
  int *piVar3;
  int local_14;
  int *local_10;
  
  local_10 = (int *)0x15ea08;
  if (param_3 == -1) {
    piVar3 = (int *)FUN_0015e4c0();
LAB_0015eacf:
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);
  }
  piVar3 = (int *)*param_1;
  if (piVar3 != (int *)param_1[1]) {
    iVar1 = *piVar3;
    while (iVar1 != param_3) {
      piVar3 = piVar3 + 2;
      if ((int *)param_1[1] == piVar3) goto LAB_0015ea46;
      iVar1 = *piVar3;
    }
    piVar3 = (int *)piVar3[1];
    if (piVar3 != (int *)0x0) {
      if (*piVar3 == param_2) {
        return piVar3;
      }
      goto LAB_0015eacf;
    }
  }
LAB_0015ea46:
  piVar2 = (int *)FUN_0017ebf0(0x14);
  piVar3 = (int *)param_1[1];
  local_14 = param_3;
  piVar2[1] = 0;
  piVar2[2] = 0;
  piVar2[3] = 0;
  *(undefined1 *)(piVar2 + 4) = 1;
  *piVar2 = param_2;
  if (piVar3 == (int *)param_1[2]) {
    local_10 = piVar2;
    FUN_00160130(param_1,piVar3,&local_14);
    return piVar2;
  }
  *piVar3 = param_3;
  piVar3[1] = (int)piVar2;
  param_1[1] = (int)(piVar3 + 2);
  return piVar2;
}

