
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void
   do_supported_emulations(Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>
   * this, vector<char_const*,_std::allocator<char_const*>_> * emulations) */

void __thiscall
gold::
Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>
::do_supported_emulations
          (Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>
           *this,vector<char_const*,_std::allocator<char_const*>_> *emulations)

{
}



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

void __regparm2 FUN_0007d370(undefined4 param_1,undefined4 param_2,int param_3,int param_4)

{
  int *piVar1;
  int *piVar2;
  
  if (*(int *)(param_3 + 0x5c) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);
  }
  if (*(int *)(param_3 + 0x14) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);
  }
  piVar2 = *(int **)(param_4 + 4);
  piVar1 = *(int **)(param_4 + 8);
  if (piVar2 == piVar1) {
    FUN_00072810(param_4,piVar1,param_3 + 0x14);
    piVar2 = *(int **)(param_4 + 4);
    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;
  }
  else {
    *piVar2 = *(int *)(param_3 + 0x14);
    piVar2 = piVar2 + 1;
    *(int **)(param_4 + 4) = piVar2;
    if (piVar2 == piVar1) {
LAB_0007d3db:
      FUN_00072810(param_4,piVar2,param_3 + 0x5c);
      return;
    }
  }
  *piVar2 = *(int *)(param_3 + 0x5c);
  *(int **)(param_4 + 4) = piVar2 + 1;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00050b50
ADD EBX,0x56cc84
MOV ESI,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [EDI + 0x5c]
TEST ECX,ECX
JZ 0x0007d3f0
MOV ECX,dword ptr [EDI + 0x14]
TEST ECX,ECX
JZ 0x0007d409
MOV EAX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [ESI + 0x8]
CMP EAX,EDX
JZ 0x0007d3c0
MOV dword ptr [EAX],ECX
ADD EAX,0x4
MOV dword ptr [ESI + 0x4],EAX
CMP EAX,EDX
JZ 0x0007d3db
MOV EDX,dword ptr [EDI + 0x5c]
ADD EAX,0x4
MOV dword ptr [EAX + -0x4],EDX
MOV dword ptr [ESI + 0x4],EAX
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EDI + 0x14]
PUSH EAX
PUSH EDX
PUSH ESI
CALL 0x00072810
MOV EAX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [ESI + 0x8]
ADD ESP,0x10
CMP EAX,EDX
JNZ 0x0007d3aa
SUB ESP,0x4
ADD EDI,0x5c
PUSH EDI
PUSH EAX
PUSH ESI
CALL 0x00072810
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
PUSH EDX
LEA EDX,[EBX + 0xffe68b14]
PUSH EDX
LEA EDX,[EBX + 0xffe633f4]
PUSH 0x90
PUSH EDX
CALL 0x002446e0
LEA EDX,[EBX + 0xffe693a8]
PUSH EAX
PUSH EDX
LEA EDX,[EBX + 0xffe65e12]
PUSH 0xc8
PUSH EDX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm2 FUN_0007d370(undefined4 param_1,undefined4 param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  if (*(int *)(param_3 + 0x5c) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }\n  if (*(int *)(param_3 + 0x14) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }\n  piVar2 = *(int **)(param_4 + 4);\n  piVar1 = *(int **)(param_4 + 8);\n  if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }\n  *piVar2 = *(int *)(param_3 + 0x5c);\n  *(int **)(param_4 + 4) = piVar2 + 1;\n  return;\n}\n\n" comment (function_definition "void __regparm2 FUN_0007d370(undefined4 param_1,undefined4 param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  if (*(int *)(param_3 + 0x5c) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }\n  if (*(int *)(param_3 + 0x14) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }\n  piVar2 = *(int **)(param_4 + 4);\n  piVar1 = *(int **)(param_4 + 8);\n  if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }\n  *piVar2 = *(int *)(param_3 + 0x5c);\n  *(int **)(param_4 + 4) = piVar2 + 1;\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_0007d370(undefined4 param_1,undefined4 param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  if (*(int *)(param_3 + 0x5c) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }\n  if (*(int *)(param_3 + 0x14) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }\n  piVar2 = *(int **)(param_4 + 4);\n  piVar1 = *(int **)(param_4 + 8);\n  if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }\n  *piVar2 = *(int *)(param_3 + 0x5c);\n  *(int **)(param_4 + 4) = piVar2 + 1;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if (*(int *)(param_3 + 0x5c) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }" if (parenthesized_expression "(*(int *)(param_3 + 0x5c) == 0)" ( (binary_expression "*(int *)(param_3 + 0x5c) == 0" (pointer_expression "*(int *)(param_3 + 0x5c)" * (cast_expression "(int *)(param_3 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x5c)" ( (binary_expression "param_3 + 0x5c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);" (call_expression "FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2)" identifier (argument_list "("../../gold/nacl.h",0x90,"do_supported_emulations",param_2)" ( (string_literal ""../../gold/nacl.h"" " string_content ") , number_literal , (string_literal ""do_supported_emulations"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(int *)(param_3 + 0x14) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }" if (parenthesized_expression "(*(int *)(param_3 + 0x14) == 0)" ( (binary_expression "*(int *)(param_3 + 0x14) == 0" (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);" (call_expression "FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1)" identifier (argument_list "("../../gold/target-select.h",200,"do_supported_emulations",param_1)" ( (string_literal ""../../gold/target-select.h"" " string_content ") , number_literal , (string_literal ""do_supported_emulations"" " string_content ") , identifier ))) ;) })) (expression_statement "piVar2 = *(int **)(param_4 + 4);" (assignment_expression "piVar2 = *(int **)(param_4 + 4)" identifier = (pointer_expression "*(int **)(param_4 + 4)" * (cast_expression "(int **)(param_4 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(param_4 + 8);" (assignment_expression "piVar1 = *(int **)(param_4 + 8)" identifier = (pointer_expression "*(int **)(param_4 + 8)" * (cast_expression "(int **)(param_4 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }" if (parenthesized_expression "(piVar2 == piVar1)" ( (binary_expression "piVar2 == piVar1" identifier == identifier) )) (compound_statement "{\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }" { (expression_statement "FUN_00072810(param_4,piVar1,param_3 + 0x14);" (call_expression "FUN_00072810(param_4,piVar1,param_3 + 0x14)" identifier (argument_list "(param_4,piVar1,param_3 + 0x14)" ( identifier , identifier , (binary_expression "param_3 + 0x14" identifier + number_literal) ))) ;) (expression_statement "piVar2 = *(int **)(param_4 + 4);" (assignment_expression "piVar2 = *(int **)(param_4 + 4)" identifier = (pointer_expression "*(int **)(param_4 + 4)" * (cast_expression "(int **)(param_4 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;" if (parenthesized_expression "(piVar2 == *(int **)(param_4 + 8))" ( (binary_expression "piVar2 == *(int **)(param_4 + 8)" identifier == (pointer_expression "*(int **)(param_4 + 8)" * (cast_expression "(int **)(param_4 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) )) (goto_statement "goto LAB_0007d3db;" goto statement_identifier ;)) }) (else_clause "else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }" else (compound_statement "{\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }" { (expression_statement "*piVar2 = *(int *)(param_3 + 0x14);" (assignment_expression "*piVar2 = *(int *)(param_3 + 0x14)" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "*(int **)(param_4 + 4) = piVar2;" (assignment_expression "*(int **)(param_4 + 4) = piVar2" (pointer_expression "*(int **)(param_4 + 4)" * (cast_expression "(int **)(param_4 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }" if (parenthesized_expression "(piVar2 == piVar1)" ( (binary_expression "piVar2 == piVar1" identifier == identifier) )) (compound_statement "{\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }" { (labeled_statement "LAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);" statement_identifier : (expression_statement "FUN_00072810(param_4,piVar2,param_3 + 0x5c);" (call_expression "FUN_00072810(param_4,piVar2,param_3 + 0x5c)" identifier (argument_list "(param_4,piVar2,param_3 + 0x5c)" ( identifier , identifier , (binary_expression "param_3 + 0x5c" identifier + number_literal) ))) ;)) (return_statement "return;" return ;) })) }))) (expression_statement "*piVar2 = *(int *)(param_3 + 0x5c);" (assignment_expression "*piVar2 = *(int *)(param_3 + 0x5c)" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*(int *)(param_3 + 0x5c)" * (cast_expression "(int *)(param_3 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x5c)" ( (binary_expression "param_3 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "*(int **)(param_4 + 4) = piVar2 + 1;" (assignment_expression "*(int **)(param_4 + 4) = piVar2 + 1" (pointer_expression "*(int **)(param_4 + 4)" * (cast_expression "(int **)(param_4 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: void\n   do_supported_emulations(Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>\n   * this, vector<char_const*,_std::allocator<char_const*>_> * emulations) */\n\nvoid __thiscall\ngold::\nTarget_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>\n::do_supported_emulations\n          (Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>\n           *this,vector<char_const*,_std::allocator<char_const*>_> *emulations)\n\n{\n}\n\n" comment comment comment (ERROR "void __thiscall\ngold::\nTarget_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>\n::do_supported_emulations\n          (Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>\n           *this,vector<char_const*,_std::allocator<char_const*>_> *emulations)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::\nTarget_selector_nacl<(anonymous_namespace)::" identifier : : identifier < ( identifier ) : :) identifier (ERROR "<64>" < number_literal >) , (function_declarator "_(anonymous_namespace)::Target_x86_64_nacl<64>_>\n::do_supported_emulations\n          (Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>\n           *this,vector<char_const*,_std::allocator<char_const*>_> *emulations)" identifier (parameter_list "(anonymous_namespace)" ( (parameter_declaration "anonymous_namespace" type_identifier) )) (ERROR "::" : :) identifier (ERROR "<64>" < number_literal >) identifier (ERROR ">\n::" > : :) (call_expression "do_supported_emulations\n          (Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>\n           *this,vector<char_const*,_std::allocator<char_const*>_> *emulations)" identifier (argument_list "(Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>\n           *this,vector<char_const*,_std::allocator<char_const*>_> *emulations)" ( (binary_expression "Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>\n           *this" (binary_expression "Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_" (binary_expression "Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64" (binary_expression "Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl" (binary_expression "Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64" (binary_expression "Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64" identifier < (ERROR "(anonymous_namespace)::" (parenthesized_expression "(anonymous_namespace)" ( identifier )) : :) identifier) < number_literal) > (ERROR ",_(anonymous_namespace)::" , (call_expression "_(anonymous_namespace)" identifier (argument_list "(anonymous_namespace)" ( identifier ))) : :) identifier) < number_literal) > identifier) (ERROR ">" >) * identifier) , (binary_expression "vector<char_const" identifier < identifier) (ERROR "*" *) , (ERROR "_std::" identifier : :) (binary_expression "allocator<char_const*>_> *emulations" (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) (ERROR ">" >) * identifier) ))))) (compound_statement "{\n}" { }))
(translation_unit "void __regparm2 FUN_0007d370(undefined4 param_1,undefined4 param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  if (*(int *)(param_3 + 0x5c) == 0) {\n                    \n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }\n  if (*(int *)(param_3 + 0x14) == 0) {\n                    \n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }\n  piVar2 = *(int **)(param_4 + 4);\n  piVar1 = *(int **)(param_4 + 8);\n  if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }\n  *piVar2 = *(int *)(param_3 + 0x5c);\n  *(int **)(param_4 + 4) = piVar2 + 1;\n  return;\n}\n\n" (function_definition "void __regparm2 FUN_0007d370(undefined4 param_1,undefined4 param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  if (*(int *)(param_3 + 0x5c) == 0) {\n                    \n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }\n  if (*(int *)(param_3 + 0x14) == 0) {\n                    \n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }\n  piVar2 = *(int **)(param_4 + 4);\n  piVar1 = *(int **)(param_4 + 8);\n  if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }\n  *piVar2 = *(int *)(param_3 + 0x5c);\n  *(int **)(param_4 + 4) = piVar2 + 1;\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_0007d370(undefined4 param_1,undefined4 param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  if (*(int *)(param_3 + 0x5c) == 0) {\n                    \n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }\n  if (*(int *)(param_3 + 0x14) == 0) {\n                    \n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }\n  piVar2 = *(int **)(param_4 + 4);\n  piVar1 = *(int **)(param_4 + 8);\n  if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }\n  *piVar2 = *(int *)(param_3 + 0x5c);\n  *(int **)(param_4 + 4) = piVar2 + 1;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if (*(int *)(param_3 + 0x5c) == 0) {\n                    \n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }" if (parenthesized_expression "(*(int *)(param_3 + 0x5c) == 0)" ( (binary_expression "*(int *)(param_3 + 0x5c) == 0" (pointer_expression "*(int *)(param_3 + 0x5c)" * (cast_expression "(int *)(param_3 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x5c)" ( (binary_expression "param_3 + 0x5c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }" { (expression_statement "FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);" (call_expression "FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2)" identifier (argument_list "("../../gold/nacl.h",0x90,"do_supported_emulations",param_2)" ( (string_literal ""../../gold/nacl.h"" " string_content ") , number_literal , (string_literal ""do_supported_emulations"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(int *)(param_3 + 0x14) == 0) {\n                    \n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }" if (parenthesized_expression "(*(int *)(param_3 + 0x14) == 0)" ( (binary_expression "*(int *)(param_3 + 0x14) == 0" (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }" { (expression_statement "FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);" (call_expression "FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1)" identifier (argument_list "("../../gold/target-select.h",200,"do_supported_emulations",param_1)" ( (string_literal ""../../gold/target-select.h"" " string_content ") , number_literal , (string_literal ""do_supported_emulations"" " string_content ") , identifier ))) ;) })) (expression_statement "piVar2 = *(int **)(param_4 + 4);" (assignment_expression "piVar2 = *(int **)(param_4 + 4)" identifier = (pointer_expression "*(int **)(param_4 + 4)" * (cast_expression "(int **)(param_4 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(param_4 + 8);" (assignment_expression "piVar1 = *(int **)(param_4 + 8)" identifier = (pointer_expression "*(int **)(param_4 + 8)" * (cast_expression "(int **)(param_4 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }" if (parenthesized_expression "(piVar2 == piVar1)" ( (binary_expression "piVar2 == piVar1" identifier == identifier) )) (compound_statement "{\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }" { (expression_statement "FUN_00072810(param_4,piVar1,param_3 + 0x14);" (call_expression "FUN_00072810(param_4,piVar1,param_3 + 0x14)" identifier (argument_list "(param_4,piVar1,param_3 + 0x14)" ( identifier , identifier , (binary_expression "param_3 + 0x14" identifier + number_literal) ))) ;) (expression_statement "piVar2 = *(int **)(param_4 + 4);" (assignment_expression "piVar2 = *(int **)(param_4 + 4)" identifier = (pointer_expression "*(int **)(param_4 + 4)" * (cast_expression "(int **)(param_4 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;" if (parenthesized_expression "(piVar2 == *(int **)(param_4 + 8))" ( (binary_expression "piVar2 == *(int **)(param_4 + 8)" identifier == (pointer_expression "*(int **)(param_4 + 8)" * (cast_expression "(int **)(param_4 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) )) (goto_statement "goto LAB_0007d3db;" goto statement_identifier ;)) }) (else_clause "else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }" else (compound_statement "{\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }" { (expression_statement "*piVar2 = *(int *)(param_3 + 0x14);" (assignment_expression "*piVar2 = *(int *)(param_3 + 0x14)" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "*(int **)(param_4 + 4) = piVar2;" (assignment_expression "*(int **)(param_4 + 4) = piVar2" (pointer_expression "*(int **)(param_4 + 4)" * (cast_expression "(int **)(param_4 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }" if (parenthesized_expression "(piVar2 == piVar1)" ( (binary_expression "piVar2 == piVar1" identifier == identifier) )) (compound_statement "{\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }" { (labeled_statement "LAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);" statement_identifier : (expression_statement "FUN_00072810(param_4,piVar2,param_3 + 0x5c);" (call_expression "FUN_00072810(param_4,piVar2,param_3 + 0x5c)" identifier (argument_list "(param_4,piVar2,param_3 + 0x5c)" ( identifier , identifier , (binary_expression "param_3 + 0x5c" identifier + number_literal) ))) ;)) (return_statement "return;" return ;) })) }))) (expression_statement "*piVar2 = *(int *)(param_3 + 0x5c);" (assignment_expression "*piVar2 = *(int *)(param_3 + 0x5c)" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*(int *)(param_3 + 0x5c)" * (cast_expression "(int *)(param_3 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x5c)" ( (binary_expression "param_3 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "*(int **)(param_4 + 4) = piVar2 + 1;" (assignment_expression "*(int **)(param_4 + 4) = piVar2 + 1" (pointer_expression "*(int **)(param_4 + 4)" * (cast_expression "(int **)(param_4 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;)) (return_statement return ;) })) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })))
(function_definition "void __regparm2 FUN_0007d370(undefined4 param_1,undefined4 param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  if (*(int *)(param_3 + 0x5c) == 0) {\n                    \n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }\n  if (*(int *)(param_3 + 0x14) == 0) {\n                    \n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }\n  piVar2 = *(int **)(param_4 + 4);\n  piVar1 = *(int **)(param_4 + 8);\n  if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }\n  *piVar2 = *(int *)(param_3 + 0x5c);\n  *(int **)(param_4 + 4) = piVar2 + 1;\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_0007d370(undefined4 param_1,undefined4 param_2,int param_3,int param_4)" (identifier "FUN_0007d370") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,int param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  if (*(int *)(param_3 + 0x5c) == 0) {\n                    \n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }\n  if (*(int *)(param_3 + 0x14) == 0) {\n                    \n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }\n  piVar2 = *(int **)(param_4 + 4);\n  piVar1 = *(int **)(param_4 + 8);\n  if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }\n  *piVar2 = *(int *)(param_3 + 0x5c);\n  *(int **)(param_4 + 4) = piVar2 + 1;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (if_statement "if (*(int *)(param_3 + 0x5c) == 0) {\n                    \n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_3 + 0x5c) == 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x5c) == 0" (pointer_expression "*(int *)(param_3 + 0x5c)" (* "*") (cast_expression "(int *)(param_3 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x5c)" (( "(") (binary_expression "param_3 + 0x5c" (identifier "param_3") (+ "+") (number_literal "0x5c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);" (call_expression "FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2)" (identifier "FUN_002446e0") (argument_list "("../../gold/nacl.h",0x90,"do_supported_emulations",param_2)" (( "(") (string_literal ""../../gold/nacl.h"" (" """) (string_content "../../gold/nacl.h") (" """)) (, ",") (number_literal "0x90") (, ",") (string_literal ""do_supported_emulations"" (" """) (string_content "do_supported_emulations") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_3 + 0x14) == 0) {\n                    \n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_3 + 0x14) == 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x14) == 0" (pointer_expression "*(int *)(param_3 + 0x14)" (* "*") (cast_expression "(int *)(param_3 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);" (call_expression "FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1)" (identifier "FUN_002446e0") (argument_list "("../../gold/target-select.h",200,"do_supported_emulations",param_1)" (( "(") (string_literal ""../../gold/target-select.h"" (" """) (string_content "../../gold/target-select.h") (" """)) (, ",") (number_literal "200") (, ",") (string_literal ""do_supported_emulations"" (" """) (string_content "do_supported_emulations") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar2 = *(int **)(param_4 + 4);" (assignment_expression "piVar2 = *(int **)(param_4 + 4)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_4 + 4)" (* "*") (cast_expression "(int **)(param_4 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "piVar1 = *(int **)(param_4 + 8);" (assignment_expression "piVar1 = *(int **)(param_4 + 8)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_4 + 8)" (* "*") (cast_expression "(int **)(param_4 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (piVar2 == piVar1) {\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }\n  else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(piVar2 == piVar1)" (( "(") (binary_expression "piVar2 == piVar1" (identifier "piVar2") (== "==") (identifier "piVar1")) () ")")) (compound_statement "{\n    FUN_00072810(param_4,piVar1,param_3 + 0x14);\n    piVar2 = *(int **)(param_4 + 4);\n    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;\n  }" ({ "{") (expression_statement "FUN_00072810(param_4,piVar1,param_3 + 0x14);" (call_expression "FUN_00072810(param_4,piVar1,param_3 + 0x14)" (identifier "FUN_00072810") (argument_list "(param_4,piVar1,param_3 + 0x14)" (( "(") (identifier "param_4") (, ",") (identifier "piVar1") (, ",") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")"))) (; ";")) (expression_statement "piVar2 = *(int **)(param_4 + 4);" (assignment_expression "piVar2 = *(int **)(param_4 + 4)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_4 + 4)" (* "*") (cast_expression "(int **)(param_4 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;" (if "if") (parenthesized_expression "(piVar2 == *(int **)(param_4 + 8))" (( "(") (binary_expression "piVar2 == *(int **)(param_4 + 8)" (identifier "piVar2") (== "==") (pointer_expression "*(int **)(param_4 + 8)" (* "*") (cast_expression "(int **)(param_4 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")"))))) () ")")) (goto_statement "goto LAB_0007d3db;" (goto "goto") (statement_identifier "LAB_0007d3db") (; ";"))) (} "}")) (else_clause "else {\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }" (else "else") (compound_statement "{\n    *piVar2 = *(int *)(param_3 + 0x14);\n    piVar2 = piVar2 + 1;\n    *(int **)(param_4 + 4) = piVar2;\n    if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }\n  }" ({ "{") (expression_statement "*piVar2 = *(int *)(param_3 + 0x14);" (assignment_expression "*piVar2 = *(int *)(param_3 + 0x14)" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (pointer_expression "*(int *)(param_3 + 0x14)" (* "*") (cast_expression "(int *)(param_3 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int **)(param_4 + 4) = piVar2;" (assignment_expression "*(int **)(param_4 + 4) = piVar2" (pointer_expression "*(int **)(param_4 + 4)" (* "*") (cast_expression "(int **)(param_4 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "piVar2")) (; ";")) (if_statement "if (piVar2 == piVar1) {\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }" (if "if") (parenthesized_expression "(piVar2 == piVar1)" (( "(") (binary_expression "piVar2 == piVar1" (identifier "piVar2") (== "==") (identifier "piVar1")) () ")")) (compound_statement "{\nLAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);\n      return;\n    }" ({ "{") (labeled_statement "LAB_0007d3db:\n      FUN_00072810(param_4,piVar2,param_3 + 0x5c);" (statement_identifier "LAB_0007d3db") (: ":") (expression_statement "FUN_00072810(param_4,piVar2,param_3 + 0x5c);" (call_expression "FUN_00072810(param_4,piVar2,param_3 + 0x5c)" (identifier "FUN_00072810") (argument_list "(param_4,piVar2,param_3 + 0x5c)" (( "(") (identifier "param_4") (, ",") (identifier "piVar2") (, ",") (binary_expression "param_3 + 0x5c" (identifier "param_3") (+ "+") (number_literal "0x5c")) () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (expression_statement "*piVar2 = *(int *)(param_3 + 0x5c);" (assignment_expression "*piVar2 = *(int *)(param_3 + 0x5c)" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (pointer_expression "*(int *)(param_3 + 0x5c)" (* "*") (cast_expression "(int *)(param_3 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x5c)" (( "(") (binary_expression "param_3 + 0x5c" (identifier "param_3") (+ "+") (number_literal "0x5c")) () ")"))))) (; ";")) (expression_statement "*(int **)(param_4 + 4) = piVar2 + 1;" (assignment_expression "*(int **)(param_4 + 4) = piVar2 + 1" (pointer_expression "*(int **)(param_4 + 4)" (* "*") (cast_expression "(int **)(param_4 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void
   do_supported_emulations(Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>
   * this, vector<char_const*,_std::allocator<char_const*>_> * emulations) */

void __thiscall
gold::
Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>
::do_supported_emulations
          (Target_selector_nacl<(anonymous_namespace)::Target_selector_x86_64<64>,_(anonymous_namespace)::Target_x86_64_nacl<64>_>
           *this,vector<char_const*,_std::allocator<char_const*>_> *emulations)

{
}


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

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

void __regparm2 MASKED(undefined4 param_1,undefined4 param_2,int param_3,int param_4)

{
  int *piVar1;
  int *piVar2;
  
  if (*(int *)(param_3 + 0x5c) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/nacl.h",0x90,"do_supported_emulations",param_2);
  }
  if (*(int *)(param_3 + 0x14) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/target-select.h",200,"do_supported_emulations",param_1);
  }
  piVar2 = *(int **)(param_4 + 4);
  piVar1 = *(int **)(param_4 + 8);
  if (piVar2 == piVar1) {
    FUN_00072810(param_4,piVar1,param_3 + 0x14);
    piVar2 = *(int **)(param_4 + 4);
    if (piVar2 == *(int **)(param_4 + 8)) goto LAB_0007d3db;
  }
  else {
    *piVar2 = *(int *)(param_3 + 0x14);
    piVar2 = piVar2 + 1;
    *(int **)(param_4 + 4) = piVar2;
    if (piVar2 == piVar1) {
LAB_0007d3db:
      FUN_00072810(param_4,piVar2,param_3 + 0x5c);
      return;
    }
  }
  *piVar2 = *(int *)(param_3 + 0x5c);
  *(int **)(param_4 + 4) = piVar2 + 1;
  return;
}

