
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void gold::supported_emulation_names(vector<char_const*,_std::allocator<char_const*>_> *names)

{
  Target_selector **ppTVar1;
  iterator __position;
  Target_selector *pTVar2;
  
  pTVar2 = anon_unknown.dwarf_14fdad2::target_selectors;
  if (anon_unknown.dwarf_14fdad2::target_selectors != (Target_selector *)0x0) {
    do {
      while (pTVar2->_vptr_Target_selector[7] == Target_selector::do_supported_emulations) {
        if (pTVar2->emulation_ == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");
        }
        __position._M_current =
             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.
             _M_finish;
        if (__position._M_current ==
            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.
            _M_end_of_storage) {
          std::vector<char_const*,_std::allocator<char_const*>_>::
          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);
        }
        else {
          *__position._M_current = pTVar2->emulation_;
          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =
               __position._M_current + 1;
        }
        ppTVar1 = &pTVar2->next_;
        pTVar2 = *ppTVar1;
        if (*ppTVar1 == (Target_selector *)0x0) {
          return;
        }
      }
      (*pTVar2->_vptr_Target_selector[7])(pTVar2,names);
      ppTVar1 = &pTVar2->next_;
      pTVar2 = *ppTVar1;
    } while (*ppTVar1 != (Target_selector *)0x0);
  }
  return;
}



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

void FUN_0018fbc0(int param_1)

{
  int *piVar1;
  int *piVar2;
  
  piVar2 = DAT_00396258;
  if (DAT_00396258 != (int *)0x0) {
    do {
      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {
        if (piVar2[5] == 0) {
                    /* WARNING: Subroutine does not return */
          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");
        }
        piVar1 = *(int **)(param_1 + 4);
        if (piVar1 == *(int **)(param_1 + 8)) {
          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);
        }
        else {
          *piVar1 = piVar2[5];
          *(int **)(param_1 + 4) = piVar1 + 1;
        }
        piVar1 = piVar2 + 6;
        piVar2 = (int *)*piVar1;
        if ((int *)*piVar1 == (int *)0x0) {
          return;
        }
      }
      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);
      piVar1 = piVar2 + 6;
      piVar2 = (int *)*piVar1;
    } while ((int *)*piVar1 != (int *)0x0);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x1ff437
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [EBX + 0x7258]
TEST ESI,ESI
JZ 0x0018fc28
LEA EBP,[EBX + 0xffe00f10]
JMP 0x0018fc0e
MOV EDX,dword ptr [ESI + 0x14]
TEST EDX,EDX
JZ 0x0018fc43
MOV EAX,dword ptr [EDI + 0x4]
CMP EAX,dword ptr [EDI + 0x8]
JZ 0x0018fc30
MOV dword ptr [EAX],EDX
ADD EAX,0x4
MOV dword ptr [EDI + 0x4],EAX
MOV ESI,dword ptr [ESI + 0x18]
TEST ESI,ESI
JZ 0x0018fc28
MOV EAX,dword ptr [ESI]
MOV EAX,dword ptr [EAX + 0x1c]
CMP EAX,EBP
JZ 0x0018fbf0
SUB ESP,0x8
PUSH EDI
PUSH ESI
CALL EAX
MOV ESI,dword ptr [ESI + 0x18]
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x0018fc0e
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EDX,[ESI + 0x14]
PUSH EDX
PUSH EAX
PUSH EDI
CALL 0x0018fdc0
ADD ESP,0x10
JMP 0x0018fc07
SUB ESP,0x4
LEA EAX,[EBX + 0xfff0b4ec]
PUSH EAX
LEA EAX,[EBX + 0xfff0b4ac]
PUSH 0xc8
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0018fbc0(int param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = DAT_00396258;\n  if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0018fbc0(int param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = DAT_00396258;\n  if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0018fbc0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = DAT_00396258;\n  if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = DAT_00396258;" (assignment_expression "piVar2 = DAT_00396258" identifier = identifier) ;) (if_statement "if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }" if (parenthesized_expression "(DAT_00396258 != (int *)0x0)" ( (binary_expression "DAT_00396258 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }" { (do_statement "do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);" do (compound_statement "{\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    }" { (while_statement "while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }" while (parenthesized_expression "(*(code **)(*piVar2 + 0x1c) == FUN_0018ff10)" ( (binary_expression "*(code **)(*piVar2 + 0x1c) == FUN_0018ff10" (pointer_expression "*(code **)(*piVar2 + 0x1c)" * (cast_expression "(code **)(*piVar2 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x1c)" ( (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n        if (piVar2[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }" { (if_statement "if (piVar2[5] == 0) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }" if (parenthesized_expression "(piVar2[5] == 0)" ( (binary_expression "piVar2[5] == 0" (subscript_expression "piVar2[5]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }" { comment (expression_statement "FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");" (call_expression "FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations")" identifier (argument_list "("../../gold/target-select.h",200,"do_supported_emulations")" ( (string_literal ""../../gold/target-select.h"" " string_content ") , number_literal , (string_literal ""do_supported_emulations"" " string_content ") ))) ;) })) (expression_statement "piVar1 = *(int **)(param_1 + 4);" (assignment_expression "piVar1 = *(int **)(param_1 + 4)" identifier = (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }" if (parenthesized_expression "(piVar1 == *(int **)(param_1 + 8))" ( (binary_expression "piVar1 == *(int **)(param_1 + 8)" identifier == (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }" { (expression_statement "FUN_0018fdc0(param_1,piVar1,piVar2 + 5);" (call_expression "FUN_0018fdc0(param_1,piVar1,piVar2 + 5)" identifier (argument_list "(param_1,piVar1,piVar2 + 5)" ( identifier , identifier , (binary_expression "piVar2 + 5" identifier + number_literal) ))) ;) }) (else_clause "else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }" else (compound_statement "{\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }" { (expression_statement "*piVar1 = piVar2[5];" (assignment_expression "*piVar1 = piVar2[5]" (pointer_expression "*piVar1" * identifier) = (subscript_expression "piVar2[5]" identifier [ number_literal ])) ;) (expression_statement "*(int **)(param_1 + 4) = piVar1 + 1;" (assignment_expression "*(int **)(param_1 + 4) = piVar1 + 1" (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) }))) (expression_statement "piVar1 = piVar2 + 6;" (assignment_expression "piVar1 = piVar2 + 6" identifier = (binary_expression "piVar2 + 6" identifier + number_literal)) ;) (expression_statement "piVar2 = (int *)*piVar1;" (assignment_expression "piVar2 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) (if_statement "if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }" if (parenthesized_expression "((int *)*piVar1 == (int *)0x0)" ( (binary_expression "(int *)*piVar1 == (int *)0x0" (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier)) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "(**(code **)(*piVar2 + 0x1c))(piVar2,param_1);" (call_expression "(**(code **)(*piVar2 + 0x1c))(piVar2,param_1)" (parenthesized_expression "(**(code **)(*piVar2 + 0x1c))" ( (pointer_expression "**(code **)(*piVar2 + 0x1c)" * (pointer_expression "*(code **)(*piVar2 + 0x1c)" * (cast_expression "(code **)(*piVar2 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x1c)" ( (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,param_1)" ( identifier , identifier ))) ;) (expression_statement "piVar1 = piVar2 + 6;" (assignment_expression "piVar1 = piVar2 + 6" identifier = (binary_expression "piVar2 + 6" identifier + number_literal)) ;) (expression_statement "piVar2 = (int *)*piVar1;" (assignment_expression "piVar2 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) }) while (parenthesized_expression "((int *)*piVar1 != (int *)0x0)" ( (binary_expression "(int *)*piVar1 != (int *)0x0" (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier)) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid gold::supported_emulation_names(vector<char_const*,_std::allocator<char_const*>_> *names)\n\n{\n  Target_selector **ppTVar1;\n  iterator __position;\n  Target_selector *pTVar2;\n  \n  pTVar2 = anon_unknown.dwarf_14fdad2::target_selectors;\n  if (anon_unknown.dwarf_14fdad2::target_selectors != (Target_selector *)0x0) {\n    do {\n      while (pTVar2->_vptr_Target_selector[7] == Target_selector::do_supported_emulations) {\n        if (pTVar2->emulation_ == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        __position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish;\n        if (__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage) {\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }\n        else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }\n        ppTVar1 = &pTVar2->next_;\n        pTVar2 = *ppTVar1;\n        if (*ppTVar1 == (Target_selector *)0x0) {\n          return;\n        }\n      }\n      (*pTVar2->_vptr_Target_selector[7])(pTVar2,names);\n      ppTVar1 = &pTVar2->next_;\n      pTVar2 = *ppTVar1;\n    } while (*ppTVar1 != (Target_selector *)0x0);\n  }\n  return;\n}\n\n" comment comment (function_definition "void gold::supported_emulation_names(vector<char_const*,_std::allocator<char_const*>_> *names)\n\n{\n  Target_selector **ppTVar1;\n  iterator __position;\n  Target_selector *pTVar2;\n  \n  pTVar2 = anon_unknown.dwarf_14fdad2::target_selectors;\n  if (anon_unknown.dwarf_14fdad2::target_selectors != (Target_selector *)0x0) {\n    do {\n      while (pTVar2->_vptr_Target_selector[7] == Target_selector::do_supported_emulations) {\n        if (pTVar2->emulation_ == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        __position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish;\n        if (__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage) {\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }\n        else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }\n        ppTVar1 = &pTVar2->next_;\n        pTVar2 = *ppTVar1;\n        if (*ppTVar1 == (Target_selector *)0x0) {\n          return;\n        }\n      }\n      (*pTVar2->_vptr_Target_selector[7])(pTVar2,names);\n      ppTVar1 = &pTVar2->next_;\n      pTVar2 = *ppTVar1;\n    } while (*ppTVar1 != (Target_selector *)0x0);\n  }\n  return;\n}" primitive_type (ERROR "gold::" identifier : :) (function_declarator "supported_emulation_names(vector<char_const*,_std::allocator<char_const*>_> *names)" identifier (parameter_list "(vector<char_const*,_std::allocator<char_const*>_> *names)" ( (parameter_declaration "vector<char_const*" type_identifier (ERROR "<char_const" < identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<char_const*>_> *names" type_identifier (ERROR "::allocator<char_const*>_>" : : identifier < identifier * > identifier >) (pointer_declarator "*names" * identifier)) ))) (compound_statement "{\n  Target_selector **ppTVar1;\n  iterator __position;\n  Target_selector *pTVar2;\n  \n  pTVar2 = anon_unknown.dwarf_14fdad2::target_selectors;\n  if (anon_unknown.dwarf_14fdad2::target_selectors != (Target_selector *)0x0) {\n    do {\n      while (pTVar2->_vptr_Target_selector[7] == Target_selector::do_supported_emulations) {\n        if (pTVar2->emulation_ == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        __position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish;\n        if (__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage) {\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }\n        else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }\n        ppTVar1 = &pTVar2->next_;\n        pTVar2 = *ppTVar1;\n        if (*ppTVar1 == (Target_selector *)0x0) {\n          return;\n        }\n      }\n      (*pTVar2->_vptr_Target_selector[7])(pTVar2,names);\n      ppTVar1 = &pTVar2->next_;\n      pTVar2 = *ppTVar1;\n    } while (*ppTVar1 != (Target_selector *)0x0);\n  }\n  return;\n}" { (declaration "Target_selector **ppTVar1;" type_identifier (pointer_declarator "**ppTVar1" * (pointer_declarator "*ppTVar1" * identifier)) ;) (declaration "iterator __position;" type_identifier identifier ;) (declaration "Target_selector *pTVar2;" type_identifier (pointer_declarator "*pTVar2" * identifier) ;) (expression_statement "pTVar2 = anon_unknown.dwarf_14fdad2::target_selectors;" (assignment_expression "pTVar2 = anon_unknown.dwarf_14fdad2" identifier = (field_expression "anon_unknown.dwarf_14fdad2" identifier . field_identifier)) (ERROR "::target_selectors" : : identifier) ;) (if_statement "if (anon_unknown.dwarf_14fdad2::target_selectors != (Target_selector *)0x0) {\n    do {\n      while (pTVar2->_vptr_Target_selector[7] == Target_selector::do_supported_emulations) {\n        if (pTVar2->emulation_ == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        __position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish;\n        if (__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage) {\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }\n        else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }\n        ppTVar1 = &pTVar2->next_;\n        pTVar2 = *ppTVar1;\n        if (*ppTVar1 == (Target_selector *)0x0) {\n          return;\n        }\n      }\n      (*pTVar2->_vptr_Target_selector[7])(pTVar2,names);\n      ppTVar1 = &pTVar2->next_;\n      pTVar2 = *ppTVar1;\n    } while (*ppTVar1 != (Target_selector *)0x0);\n  }" if (parenthesized_expression "(anon_unknown.dwarf_14fdad2::target_selectors != (Target_selector *)0x0)" ( (binary_expression "anon_unknown.dwarf_14fdad2::target_selectors != (Target_selector *)0x0" (field_expression "anon_unknown.dwarf_14fdad2" identifier . field_identifier) (ERROR "::target_selectors" : : identifier) != (cast_expression "(Target_selector *)0x0" ( (type_descriptor "Target_selector *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      while (pTVar2->_vptr_Target_selector[7] == Target_selector::do_supported_emulations) {\n        if (pTVar2->emulation_ == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        __position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish;\n        if (__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage) {\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }\n        else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }\n        ppTVar1 = &pTVar2->next_;\n        pTVar2 = *ppTVar1;\n        if (*ppTVar1 == (Target_selector *)0x0) {\n          return;\n        }\n      }\n      (*pTVar2->_vptr_Target_selector[7])(pTVar2,names);\n      ppTVar1 = &pTVar2->next_;\n      pTVar2 = *ppTVar1;\n    } while (*ppTVar1 != (Target_selector *)0x0);\n  }" { (do_statement "do {\n      while (pTVar2->_vptr_Target_selector[7] == Target_selector::do_supported_emulations) {\n        if (pTVar2->emulation_ == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        __position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish;\n        if (__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage) {\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }\n        else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }\n        ppTVar1 = &pTVar2->next_;\n        pTVar2 = *ppTVar1;\n        if (*ppTVar1 == (Target_selector *)0x0) {\n          return;\n        }\n      }\n      (*pTVar2->_vptr_Target_selector[7])(pTVar2,names);\n      ppTVar1 = &pTVar2->next_;\n      pTVar2 = *ppTVar1;\n    } while (*ppTVar1 != (Target_selector *)0x0);" do (compound_statement "{\n      while (pTVar2->_vptr_Target_selector[7] == Target_selector::do_supported_emulations) {\n        if (pTVar2->emulation_ == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        __position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish;\n        if (__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage) {\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }\n        else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }\n        ppTVar1 = &pTVar2->next_;\n        pTVar2 = *ppTVar1;\n        if (*ppTVar1 == (Target_selector *)0x0) {\n          return;\n        }\n      }\n      (*pTVar2->_vptr_Target_selector[7])(pTVar2,names);\n      ppTVar1 = &pTVar2->next_;\n      pTVar2 = *ppTVar1;\n    }" { (while_statement "while (pTVar2->_vptr_Target_selector[7] == Target_selector::do_supported_emulations) {\n        if (pTVar2->emulation_ == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        __position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish;\n        if (__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage) {\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }\n        else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }\n        ppTVar1 = &pTVar2->next_;\n        pTVar2 = *ppTVar1;\n        if (*ppTVar1 == (Target_selector *)0x0) {\n          return;\n        }\n      }" while (parenthesized_expression "(pTVar2->_vptr_Target_selector[7] == Target_selector::do_supported_emulations)" ( (binary_expression "pTVar2->_vptr_Target_selector[7] == Target_selector" (subscript_expression "pTVar2->_vptr_Target_selector[7]" (field_expression "pTVar2->_vptr_Target_selector" identifier -> field_identifier) [ number_literal ]) == identifier) (ERROR "::do_supported_emulations" : : identifier) )) (compound_statement "{\n        if (pTVar2->emulation_ == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        __position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish;\n        if (__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage) {\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }\n        else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }\n        ppTVar1 = &pTVar2->next_;\n        pTVar2 = *ppTVar1;\n        if (*ppTVar1 == (Target_selector *)0x0) {\n          return;\n        }\n      }" { (if_statement "if (pTVar2->emulation_ == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }" if (parenthesized_expression "(pTVar2->emulation_ == (char *)0x0)" ( (binary_expression "pTVar2->emulation_ == (char *)0x0" (field_expression "pTVar2->emulation_" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");\n        }" { comment (expression_statement "do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations");" (call_expression "do_gold_unreachable("../../gold/target-select.h",200,"do_supported_emulations")" identifier (argument_list "("../../gold/target-select.h",200,"do_supported_emulations")" ( (string_literal ""../../gold/target-select.h"" " string_content ") , number_literal , (string_literal ""do_supported_emulations"" " string_content ") ))) ;) })) (expression_statement "__position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish;" (assignment_expression "__position._M_current =\n             (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish" (field_expression "__position._M_current" identifier . field_identifier) = (field_expression "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n             _M_finish" (field_expression "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl" (parenthesized_expression "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)" ( (ERROR "names->super__Vector_base<char_const*,_std::" (comma_expression "names->super__Vector_base<char_const*,_std" (binary_expression "names->super__Vector_base<char_const" (field_expression "names->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "*" *) , identifier) : :) (binary_expression "allocator<char_const*>_>" (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage) {\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }\n        else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }" if (parenthesized_expression "(__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage)" ( (binary_expression "__position._M_current ==\n            (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage" (field_expression "__position._M_current" identifier . field_identifier) == (field_expression "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl.\n            _M_end_of_storage" (field_expression "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl" (parenthesized_expression "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)" ( (ERROR "names->super__Vector_base<char_const*,_std::" (comma_expression "names->super__Vector_base<char_const*,_std" (binary_expression "names->super__Vector_base<char_const" (field_expression "names->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "*" *) , identifier) : :) (binary_expression "allocator<char_const*>_>" (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) > identifier) )) . field_identifier) . field_identifier)) )) (compound_statement "{\n          std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);\n        }" { (labeled_statement "std::vector<char_const*,_std::allocator<char_const*>_>::\n          _M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);" statement_identifier (ERROR "::vector<char_const*,_std::allocator<char_const*>_>:" : : (comma_expression "vector<char_const*,_std" (binary_expression "vector<char_const" identifier < identifier) (ERROR "*" *) , identifier) : : (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) > :) : (expression_statement "_M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_);" (binary_expression "_M_realloc_insert<char_const*_const&>(names,__position,&pTVar2->emulation_)" (binary_expression "_M_realloc_insert<char_const*_const" identifier < (binary_expression "char_const*_const" identifier * identifier)) (ERROR "&" &) > (parenthesized_expression "(names,__position,&pTVar2->emulation_)" ( (comma_expression "names,__position,&pTVar2->emulation_" identifier , (comma_expression "__position,&pTVar2->emulation_" identifier , (pointer_expression "&pTVar2->emulation_" & (field_expression "pTVar2->emulation_" identifier -> field_identifier)))) ))) ;)) }) (else_clause "else {\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }" else (compound_statement "{\n          *__position._M_current = pTVar2->emulation_;\n          (names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;\n        }" { (expression_statement "*__position._M_current = pTVar2->emulation_;" (assignment_expression "*__position._M_current = pTVar2->emulation_" (pointer_expression "*__position._M_current" * (field_expression "__position._M_current" identifier . field_identifier)) = (field_expression "pTVar2->emulation_" identifier -> field_identifier)) ;) (expression_statement "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1;" (assignment_expression "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish =\n               __position._M_current + 1" (field_expression "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl._M_finish" (field_expression "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)._M_impl" (parenthesized_expression "(names->super__Vector_base<char_const*,_std::allocator<char_const*>_>)" ( (ERROR "names->super__Vector_base<char_const*,_std::" (comma_expression "names->super__Vector_base<char_const*,_std" (binary_expression "names->super__Vector_base<char_const" (field_expression "names->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "*" *) , identifier) : :) (binary_expression "allocator<char_const*>_>" (binary_expression "allocator<char_const*>_" (binary_expression "allocator<char_const" identifier < identifier) (ERROR "*" *) > identifier) > identifier) )) . field_identifier) . field_identifier) = (binary_expression "__position._M_current + 1" (field_expression "__position._M_current" identifier . field_identifier) + number_literal)) ;) }))) (expression_statement "ppTVar1 = &pTVar2->next_;" (assignment_expression "ppTVar1 = &pTVar2->next_" identifier = (pointer_expression "&pTVar2->next_" & (field_expression "pTVar2->next_" identifier -> field_identifier))) ;) (expression_statement "pTVar2 = *ppTVar1;" (assignment_expression "pTVar2 = *ppTVar1" identifier = (pointer_expression "*ppTVar1" * identifier)) ;) (if_statement "if (*ppTVar1 == (Target_selector *)0x0) {\n          return;\n        }" if (parenthesized_expression "(*ppTVar1 == (Target_selector *)0x0)" ( (binary_expression "*ppTVar1 == (Target_selector *)0x0" (pointer_expression "*ppTVar1" * identifier) == (cast_expression "(Target_selector *)0x0" ( (type_descriptor "Target_selector *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "(*pTVar2->_vptr_Target_selector[7])(pTVar2,names);" (call_expression "(*pTVar2->_vptr_Target_selector[7])(pTVar2,names)" (parenthesized_expression "(*pTVar2->_vptr_Target_selector[7])" ( (pointer_expression "*pTVar2->_vptr_Target_selector[7]" * (subscript_expression "pTVar2->_vptr_Target_selector[7]" (field_expression "pTVar2->_vptr_Target_selector" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pTVar2,names)" ( identifier , identifier ))) ;) (expression_statement "ppTVar1 = &pTVar2->next_;" (assignment_expression "ppTVar1 = &pTVar2->next_" identifier = (pointer_expression "&pTVar2->next_" & (field_expression "pTVar2->next_" identifier -> field_identifier))) ;) (expression_statement "pTVar2 = *ppTVar1;" (assignment_expression "pTVar2 = *ppTVar1" identifier = (pointer_expression "*ppTVar1" * identifier)) ;) }) while (parenthesized_expression "(*ppTVar1 != (Target_selector *)0x0)" ( (binary_expression "*ppTVar1 != (Target_selector *)0x0" (pointer_expression "*ppTVar1" * identifier) != (cast_expression "(Target_selector *)0x0" ( (type_descriptor "Target_selector *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0018fbc0(int param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = DAT_00396258;\n  if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0018fbc0(int param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = DAT_00396258;\n  if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0018fbc0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = DAT_00396258;\n  if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = DAT_00396258;" (assignment_expression "piVar2 = DAT_00396258" identifier = identifier) ;) (if_statement "if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }" if (parenthesized_expression "(DAT_00396258 != (int *)0x0)" ( (binary_expression "DAT_00396258 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }" { (do_statement "do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);" do (compound_statement "{\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    }" { (while_statement "while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }" while (parenthesized_expression "(*(code **)(*piVar2 + 0x1c) == FUN_0018ff10)" ( (binary_expression "*(code **)(*piVar2 + 0x1c) == FUN_0018ff10" (pointer_expression "*(code **)(*piVar2 + 0x1c)" * (cast_expression "(code **)(*piVar2 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x1c)" ( (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }" { (if_statement "if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }" if (parenthesized_expression "(piVar2[5] == 0)" ( (binary_expression "piVar2[5] == 0" (subscript_expression "piVar2[5]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }" { (expression_statement "FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");" (call_expression "FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations")" identifier (argument_list "("../../gold/target-select.h",200,"do_supported_emulations")" ( (string_literal ""../../gold/target-select.h"" " string_content ") , number_literal , (string_literal ""do_supported_emulations"" " string_content ") ))) ;) })) (expression_statement "piVar1 = *(int **)(param_1 + 4);" (assignment_expression "piVar1 = *(int **)(param_1 + 4)" identifier = (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }" if (parenthesized_expression "(piVar1 == *(int **)(param_1 + 8))" ( (binary_expression "piVar1 == *(int **)(param_1 + 8)" identifier == (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }" { (expression_statement "FUN_0018fdc0(param_1,piVar1,piVar2 + 5);" (call_expression "FUN_0018fdc0(param_1,piVar1,piVar2 + 5)" identifier (argument_list "(param_1,piVar1,piVar2 + 5)" ( identifier , identifier , (binary_expression "piVar2 + 5" identifier + number_literal) ))) ;) }) (else_clause "else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }" else (compound_statement "{\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }" { (expression_statement "*piVar1 = piVar2[5];" (assignment_expression "*piVar1 = piVar2[5]" (pointer_expression "*piVar1" * identifier) = (subscript_expression "piVar2[5]" identifier [ number_literal ])) ;) (expression_statement "*(int **)(param_1 + 4) = piVar1 + 1;" (assignment_expression "*(int **)(param_1 + 4) = piVar1 + 1" (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) }))) (expression_statement "piVar1 = piVar2 + 6;" (assignment_expression "piVar1 = piVar2 + 6" identifier = (binary_expression "piVar2 + 6" identifier + number_literal)) ;) (expression_statement "piVar2 = (int *)*piVar1;" (assignment_expression "piVar2 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) (if_statement "if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }" if (parenthesized_expression "((int *)*piVar1 == (int *)0x0)" ( (binary_expression "(int *)*piVar1 == (int *)0x0" (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier)) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "(**(code **)(*piVar2 + 0x1c))(piVar2,param_1);" (call_expression "(**(code **)(*piVar2 + 0x1c))(piVar2,param_1)" (parenthesized_expression "(**(code **)(*piVar2 + 0x1c))" ( (pointer_expression "**(code **)(*piVar2 + 0x1c)" * (pointer_expression "*(code **)(*piVar2 + 0x1c)" * (cast_expression "(code **)(*piVar2 + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x1c)" ( (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,param_1)" ( identifier , identifier ))) ;) (expression_statement "piVar1 = piVar2 + 6;" (assignment_expression "piVar1 = piVar2 + 6" identifier = (binary_expression "piVar2 + 6" identifier + number_literal)) ;) (expression_statement "piVar2 = (int *)*piVar1;" (assignment_expression "piVar2 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) }) while (parenthesized_expression "((int *)*piVar1 != (int *)0x0)" ( (binary_expression "(int *)*piVar1 != (int *)0x0" (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier)) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_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)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0018fbc0(int param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = DAT_00396258;\n  if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0018fbc0(int param_1)" (identifier "FUN_0018fbc0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = DAT_00396258;\n  if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }\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")) (; ";")) (expression_statement "piVar2 = DAT_00396258;" (assignment_expression "piVar2 = DAT_00396258" (identifier "piVar2") (= "=") (identifier "DAT_00396258")) (; ";")) (if_statement "if (DAT_00396258 != (int *)0x0) {\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }" (if "if") (parenthesized_expression "(DAT_00396258 != (int *)0x0)" (( "(") (binary_expression "DAT_00396258 != (int *)0x0" (identifier "DAT_00396258") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);\n  }" ({ "{") (do_statement "do {\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    } while ((int *)*piVar1 != (int *)0x0);" (do "do") (compound_statement "{\n      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }\n      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);\n      piVar1 = piVar2 + 6;\n      piVar2 = (int *)*piVar1;\n    }" ({ "{") (while_statement "while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }" (while "while") (parenthesized_expression "(*(code **)(*piVar2 + 0x1c) == FUN_0018ff10)" (( "(") (binary_expression "*(code **)(*piVar2 + 0x1c) == FUN_0018ff10" (pointer_expression "*(code **)(*piVar2 + 0x1c)" (* "*") (cast_expression "(code **)(*piVar2 + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x1c)" (( "(") (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (identifier "FUN_0018ff10")) () ")")) (compound_statement "{\n        if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }\n        piVar1 = *(int **)(param_1 + 4);\n        if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }\n        piVar1 = piVar2 + 6;\n        piVar2 = (int *)*piVar1;\n        if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }\n      }" ({ "{") (if_statement "if (piVar2[5] == 0) {\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }" (if "if") (parenthesized_expression "(piVar2[5] == 0)" (( "(") (binary_expression "piVar2[5] == 0" (subscript_expression "piVar2[5]" (identifier "piVar2") ([ "[") (number_literal "5") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");\n        }" ({ "{") (expression_statement "FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");" (call_expression "FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations")" (identifier "FUN_00069d00") (argument_list "("../../gold/target-select.h",200,"do_supported_emulations")" (( "(") (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") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "piVar1 = *(int **)(param_1 + 4);" (assignment_expression "piVar1 = *(int **)(param_1 + 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (piVar1 == *(int **)(param_1 + 8)) {\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }\n        else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }" (if "if") (parenthesized_expression "(piVar1 == *(int **)(param_1 + 8))" (( "(") (binary_expression "piVar1 == *(int **)(param_1 + 8)" (identifier "piVar1") (== "==") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);\n        }" ({ "{") (expression_statement "FUN_0018fdc0(param_1,piVar1,piVar2 + 5);" (call_expression "FUN_0018fdc0(param_1,piVar1,piVar2 + 5)" (identifier "FUN_0018fdc0") (argument_list "(param_1,piVar1,piVar2 + 5)" (( "(") (identifier "param_1") (, ",") (identifier "piVar1") (, ",") (binary_expression "piVar2 + 5" (identifier "piVar2") (+ "+") (number_literal "5")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }" (else "else") (compound_statement "{\n          *piVar1 = piVar2[5];\n          *(int **)(param_1 + 4) = piVar1 + 1;\n        }" ({ "{") (expression_statement "*piVar1 = piVar2[5];" (assignment_expression "*piVar1 = piVar2[5]" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (subscript_expression "piVar2[5]" (identifier "piVar2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "*(int **)(param_1 + 4) = piVar1 + 1;" (assignment_expression "*(int **)(param_1 + 4) = piVar1 + 1" (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "piVar1 = piVar2 + 6;" (assignment_expression "piVar1 = piVar2 + 6" (identifier "piVar1") (= "=") (binary_expression "piVar2 + 6" (identifier "piVar2") (+ "+") (number_literal "6"))) (; ";")) (expression_statement "piVar2 = (int *)*piVar1;" (assignment_expression "piVar2 = (int *)*piVar1" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (; ";")) (if_statement "if ((int *)*piVar1 == (int *)0x0) {\n          return;\n        }" (if "if") (parenthesized_expression "((int *)*piVar1 == (int *)0x0)" (( "(") (binary_expression "(int *)*piVar1 == (int *)0x0" (cast_expression "(int *)*piVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "(**(code **)(*piVar2 + 0x1c))(piVar2,param_1);" (call_expression "(**(code **)(*piVar2 + 0x1c))(piVar2,param_1)" (parenthesized_expression "(**(code **)(*piVar2 + 0x1c))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0x1c)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0x1c)" (* "*") (cast_expression "(code **)(*piVar2 + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x1c)" (( "(") (binary_expression "*piVar2 + 0x1c" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (argument_list "(piVar2,param_1)" (( "(") (identifier "piVar2") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "piVar1 = piVar2 + 6;" (assignment_expression "piVar1 = piVar2 + 6" (identifier "piVar1") (= "=") (binary_expression "piVar2 + 6" (identifier "piVar2") (+ "+") (number_literal "6"))) (; ";")) (expression_statement "piVar2 = (int *)*piVar1;" (assignment_expression "piVar2 = (int *)*piVar1" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int *)*piVar1 != (int *)0x0)" (( "(") (binary_expression "(int *)*piVar1 != (int *)0x0" (cast_expression "(int *)*piVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void gold::function_1(type_1<var_3*,type_2::var_2<var_3*>var_4> *names)

{
  type_3 **ppTVar1;
  type_4 __position;
  type_3 *pTVar2;
  
  pTVar2 = anon_unknown.dwarf_14fdad2::target_selectors;
  if (anon_unknown.dwarf_14fdad2::target_selectors != (type_3 *)0x0) {
    do {
      while (pTVar2->_vptr_Target_selector[7] == type_3::do_supported_emulations) {
        if (pTVar2->emulation_ == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
          var_1("../../gold/target-select.h",200,"do_supported_emulations");
        }
        __position._M_current =
             (names->super__Vector_base<var_3*,type_2::var_2<var_3*>var_4>var_5)._M_impl.
             _M_finish;
        if (__position._M_current ==
            (names->super__Vector_base<var_3*,type_2::var_2<var_3*>var_4>var_5)._M_impl.
            _M_end_of_storage) {
          std::type_1<var_3*,type_2::var_2<var_3*>var_4>::
          var_6<var_3*var_7&>(names,__position,&pTVar2->emulation_);
        }
        else {
          *__position._M_current = pTVar2->emulation_;
          (names->super__Vector_base<var_3*,type_2::var_2<var_3*>var_4>var_5)._M_impl._M_finish =
               __position._M_current + 1;
        }
        ppTVar1 = &pTVar2->next_;
        pTVar2 = *ppTVar1;
        if (*ppTVar1 == (type_3 *)0x0) {
          return;
        }
      }
      (*pTVar2->_vptr_Target_selector[7])(pTVar2,names);
      ppTVar1 = &pTVar2->next_;
      pTVar2 = *ppTVar1;
    } while (*ppTVar1 != (type_3 *)0x0);
  }
  return;
}


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

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

void MASKED(int param_1)

{
  int *piVar1;
  int *piVar2;
  
  piVar2 = DAT_00396258;
  if (DAT_00396258 != (int *)0x0) {
    do {
      while (*(code **)(*piVar2 + 0x1c) == FUN_0018ff10) {
        if (piVar2[5] == 0) {
                    /* WARNING: Subroutine does not return */
          FUN_00069d00("../../gold/target-select.h",200,"do_supported_emulations");
        }
        piVar1 = *(int **)(param_1 + 4);
        if (piVar1 == *(int **)(param_1 + 8)) {
          FUN_0018fdc0(param_1,piVar1,piVar2 + 5);
        }
        else {
          *piVar1 = piVar2[5];
          *(int **)(param_1 + 4) = piVar1 + 1;
        }
        piVar1 = piVar2 + 6;
        piVar2 = (int *)*piVar1;
        if ((int *)*piVar1 == (int *)0x0) {
          return;
        }
      }
      (**(code **)(*piVar2 + 0x1c))(piVar2,param_1);
      piVar1 = piVar2 + 6;
      piVar2 = (int *)*piVar1;
    } while ((int *)*piVar1 != (int *)0x0);
  }
  return;
}

