
/* 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)

{
}



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

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

{
  int iVar1;
  int *piVar2;
  int *piVar3;
  int local_14;
  int *local_10;
  
  local_10 = (int *)0x22a6c8;
  if (param_3 == -1) {
    piVar3 = (int *)FUN_0022a180();
LAB_0022a78f:
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../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_0022a706;
      iVar1 = *piVar3;
    }
    piVar3 = (int *)piVar3[1];
    if (piVar3 != (int *)0x0) {
      if (*piVar3 == param_2) {
        return piVar3;
      }
      goto LAB_0022a78f;
    }
  }
LAB_0022a706:
  piVar2 = (int *)FUN_00246670(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_0022bdf0(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 0x0003a210
ADD EBX,0x1e9938
SUB ESP,0x20
MOV ESI,dword ptr [ESP + 0x38]
MOV EDI,dword ptr [ESP + 0x30]
CMP ESI,-0x1
JZ 0x0022a78a
MOV EDX,dword ptr [EDI]
MOV ECX,dword ptr [EDI + 0x4]
CMP EDX,ECX
JZ 0x0022a706
LEA EAX,[EDX + 0x8]
CMP dword ptr [EDX],ESI
JNZ 0x0022a700
JMP 0x0022a758
ADD EAX,0x8
CMP dword ptr [EAX + -0x8],ESI
JZ 0x0022a758
MOV EDX,EAX
CMP ECX,EAX
JNZ 0x0022a6f8
SUB ESP,0xc
PUSH 0x14
CALL 0x00246670
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 0x0022a76e
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 0x0022a706
MOV EDI,dword ptr [ESP + 0x34]
CMP dword ptr [EAX],EDI
JNZ 0x0022a78f
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 0x0022bdf0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
JMP 0x0022a767
CALL 0x0022a180
PUSH EAX
LEA EAX,[EBX + 0xffefeb6c]
PUSH EAX
LEA EAX,[EBX + 0xffefe7d2]
PUSH 0x48
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_0022a6c0(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 *)0x22a6c8;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../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_0022a706;\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_0022a78f;\n    }\n  }\nLAB_0022a706:\n  piVar2 = (int *)FUN_00246670(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_0022bdf0(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_0022a6c0(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 *)0x22a6c8;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../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_0022a706;\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_0022a78f;\n    }\n  }\nLAB_0022a706:\n  piVar2 = (int *)FUN_00246670(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_0022bdf0(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_0022a6c0(int *param_1,int param_2,int param_3)" * (function_declarator "FUN_0022a6c0(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 *)0x22a6c8;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../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_0022a706;\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_0022a78f;\n    }\n  }\nLAB_0022a706:\n  piVar2 = (int *)FUN_00246670(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_0022bdf0(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 *)0x22a6c8;" (assignment_expression "local_10 = (int *)0x22a6c8" identifier = (cast_expression "(int *)0x22a6c8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../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_0022a180();\nLAB_0022a78f:\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }" { (expression_statement "piVar3 = (int *)FUN_0022a180();" (assignment_expression "piVar3 = (int *)FUN_0022a180()" identifier = (cast_expression "(int *)FUN_0022a180()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0022a180()" identifier (argument_list "()" ( ))))) ;) (labeled_statement "LAB_0022a78f:\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" statement_identifier : comment (expression_statement "FUN_000da200("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" (call_expression "FUN_000da200("../../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_0022a706;\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_0022a78f;\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_0022a706;\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_0022a78f;\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_0022a706;\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_0022a706;\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_0022a706;" 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_0022a706;" 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_0022a78f;\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_0022a78f;\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_0022a78f;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0022a706:\n  piVar2 = (int *)FUN_00246670(0x14);" statement_identifier : (expression_statement "piVar2 = (int *)FUN_00246670(0x14);" (assignment_expression "piVar2 = (int *)FUN_00246670(0x14)" identifier = (cast_expression "(int *)FUN_00246670(0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(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_0022bdf0(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_0022bdf0(param_1,piVar3,&local_14);\n    return piVar2;\n  }" { (expression_statement "local_10 = piVar2;" (assignment_expression "local_10 = piVar2" identifier = identifier) ;) (expression_statement "FUN_0022bdf0(param_1,piVar3,&local_14);" (call_expression "FUN_0022bdf0(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}\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}" { }))
(translation_unit "int * FUN_0022a6c0(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 *)0x22a6c8;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    \n    FUN_000da200("../../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_0022a706;\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_0022a78f;\n    }\n  }\nLAB_0022a706:\n  piVar2 = (int *)FUN_00246670(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_0022bdf0(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_0022a6c0(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 *)0x22a6c8;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    \n    FUN_000da200("../../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_0022a706;\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_0022a78f;\n    }\n  }\nLAB_0022a706:\n  piVar2 = (int *)FUN_00246670(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_0022bdf0(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_0022a6c0(int *param_1,int param_2,int param_3)" * (function_declarator "FUN_0022a6c0(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 *)0x22a6c8;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    \n    FUN_000da200("../../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_0022a706;\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_0022a78f;\n    }\n  }\nLAB_0022a706:\n  piVar2 = (int *)FUN_00246670(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_0022bdf0(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 *)0x22a6c8;" (assignment_expression "local_10 = (int *)0x22a6c8" identifier = (cast_expression "(int *)0x22a6c8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    \n    FUN_000da200("../../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_0022a180();\nLAB_0022a78f:\n                    \n    FUN_000da200("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }" { (expression_statement "piVar3 = (int *)FUN_0022a180();" (assignment_expression "piVar3 = (int *)FUN_0022a180()" identifier = (cast_expression "(int *)FUN_0022a180()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0022a180()" identifier (argument_list "()" ( ))))) ;) (labeled_statement "LAB_0022a78f:\n                    \n    FUN_000da200("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" statement_identifier : (expression_statement "FUN_000da200("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" (call_expression "FUN_000da200("../../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_0022a706;\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_0022a78f;\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_0022a706;\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_0022a78f;\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_0022a706;\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_0022a706;\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_0022a706;" 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_0022a706;" 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_0022a78f;\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_0022a78f;\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_0022a78f;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0022a706:\n  piVar2 = (int *)FUN_00246670(0x14);" statement_identifier : (expression_statement "piVar2 = (int *)FUN_00246670(0x14);" (assignment_expression "piVar2 = (int *)FUN_00246670(0x14)" identifier = (cast_expression "(int *)FUN_00246670(0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(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_0022bdf0(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_0022bdf0(param_1,piVar3,&local_14);\n    return piVar2;\n  }" { (expression_statement "local_10 = piVar2;" (assignment_expression "local_10 = piVar2" identifier = identifier) ;) (expression_statement "FUN_0022bdf0(param_1,piVar3,&local_14);" (call_expression "FUN_0022bdf0(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_0022a6c0(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 *)0x22a6c8;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    \n    FUN_000da200("../../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_0022a706;\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_0022a78f;\n    }\n  }\nLAB_0022a706:\n  piVar2 = (int *)FUN_00246670(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_0022bdf0(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_0022a6c0(int *param_1,int param_2,int param_3)" (* "*") (function_declarator "FUN_0022a6c0(int *param_1,int param_2,int param_3)" (identifier "FUN_0022a6c0") (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 *)0x22a6c8;\n  if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    \n    FUN_000da200("../../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_0022a706;\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_0022a78f;\n    }\n  }\nLAB_0022a706:\n  piVar2 = (int *)FUN_00246670(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_0022bdf0(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 *)0x22a6c8;" (assignment_expression "local_10 = (int *)0x22a6c8" (identifier "local_10") (= "=") (cast_expression "(int *)0x22a6c8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x22a6c8"))) (; ";")) (if_statement "if (param_3 == -1) {\n    piVar3 = (int *)FUN_0022a180();\nLAB_0022a78f:\n                    \n    FUN_000da200("../../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_0022a180();\nLAB_0022a78f:\n                    \n    FUN_000da200("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);\n  }" ({ "{") (expression_statement "piVar3 = (int *)FUN_0022a180();" (assignment_expression "piVar3 = (int *)FUN_0022a180()" (identifier "piVar3") (= "=") (cast_expression "(int *)FUN_0022a180()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0022a180()" (identifier "FUN_0022a180") (argument_list "()" (( "(") () ")"))))) (; ";")) (labeled_statement "LAB_0022a78f:\n                    \n    FUN_000da200("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" (statement_identifier "LAB_0022a78f") (: ":") (expression_statement "FUN_000da200("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3);" (call_expression "FUN_000da200("../../gold/merge.cc",0x48,"get_or_make_input_merge_map",piVar3)" (identifier "FUN_000da200") (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_0022a706;\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_0022a78f;\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_0022a706;\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_0022a78f;\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_0022a706;\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_0022a706;\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_0022a706;" (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_0022a706;" (goto "goto") (statement_identifier "LAB_0022a706") (; ";"))) (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_0022a78f;\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_0022a78f;\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_0022a78f;" (goto "goto") (statement_identifier "LAB_0022a78f") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0022a706:\n  piVar2 = (int *)FUN_00246670(0x14);" (statement_identifier "LAB_0022a706") (: ":") (expression_statement "piVar2 = (int *)FUN_00246670(0x14);" (assignment_expression "piVar2 = (int *)FUN_00246670(0x14)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_00246670(0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00246670(0x14)" (identifier "FUN_00246670") (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_0022bdf0(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_0022bdf0(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_0022bdf0(param_1,piVar3,&local_14);" (call_expression "FUN_0022bdf0(param_1,piVar3,&local_14)" (identifier "FUN_0022bdf0") (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) */

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)

{
}


(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 *)0x22a6c8;
  if (param_3 == -1) {
    piVar3 = (int *)FUN_0022a180();
LAB_0022a78f:
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../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_0022a706;
      iVar1 = *piVar3;
    }
    piVar3 = (int *)piVar3[1];
    if (piVar3 != (int *)0x0) {
      if (*piVar3 == param_2) {
        return piVar3;
      }
      goto LAB_0022a78f;
    }
  }
LAB_0022a706:
  piVar2 = (int *)FUN_00246670(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_0022bdf0(param_1,piVar3,&local_14);
    return piVar2;
  }
  *piVar3 = param_3;
  piVar3[1] = (int)piVar2;
  param_1[1] = (int)(piVar3 + 2);
  return piVar2;
}

