
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */

void gold::print_output_format(void)

{
  General_options *pGVar1;
  Target_selector *pTVar2;
  char *pcVar3;
  Target *pTVar4;
  char *format;
  
  pTVar4 = parameters->target_;
  pTVar2 = anon_unknown.dwarf_136b568::target_selectors;
  if (pTVar4 == (Target *)0x0) {
    pGVar1 = parameters->options_;
    if (pGVar1 == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
    }
    if ((pGVar1->oformat_).user_set_via_option != false) {
      pcVar3 = (pGVar1->oformat_).value;
      pTVar4 = select_target_by_bfd_name(pcVar3);
      if (pTVar4 != (Target *)0x0) {
        puts(pcVar3);
        return;
      }
      format = (char *)gettext("unrecognized output format %s");
      gold_error(format,pcVar3);
      return;
    }
    parameters_force_valid_target();
    pTVar4 = parameters->target_;
    pTVar2 = anon_unknown.dwarf_136b568::target_selectors;
    if (pTVar4 == (Target *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x69,"target");
    }
  }
  while( true ) {
    if (pTVar2 == (Target_selector *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/target-select.cc",0xd8,"print_output_format");
    }
    pcVar3 = (char *)(*pTVar2->_vptr_Target_selector[8])(pTVar2,pTVar4);
    if (pcVar3 != (char *)0x0) break;
    pTVar2 = pTVar2->next_;
  }
  puts(pcVar3);
  return;
}



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

void FUN_00134380(void)

{
  int *piVar1;
  char *pcVar2;
  int iVar3;
  undefined4 uVar4;
  
  iVar3 = *(int *)(DAT_00302378 + 0xc);
  piVar1 = DAT_00309258;
  if (iVar3 == 0) {
    iVar3 = *(int *)(DAT_00302378 + 8);
    if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);
    }
    if (*(char *)(iVar3 + 0x27e8) != '\0') {
      pcVar2 = *(char **)(iVar3 + 0x27ec);
      iVar3 = FUN_00134240(pcVar2);
      if (iVar3 != 0) {
        puts(pcVar2);
        return;
      }
      uVar4 = gettext("unrecognized output format %s");
      FUN_0005ad00(uVar4,pcVar2);
      return;
    }
    FUN_000ee7b0();
    iVar3 = *(int *)(DAT_00302378 + 0xc);
    piVar1 = DAT_00309258;
    if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);
    }
  }
  while( true ) {
    if (piVar1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");
    }
    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);
    if (pcVar2 != (char *)0x0) break;
    piVar1 = (int *)piVar1[6];
  }
  puts(pcVar2);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x1cdc78
LEA ESI,[EBX + 0x378]
MOV EAX,dword ptr [ESI]
MOV EDI,dword ptr [EAX + 0xc]
TEST EDI,EDI
JZ 0x001343e0
MOV ESI,dword ptr [EBX + 0x7258]
TEST ESI,ESI
JNZ 0x001343bb
JMP 0x00134464
MOV ESI,dword ptr [ESI + 0x18]
TEST ESI,ESI
JZ 0x00134464
SUB ESP,0x8
MOV EAX,dword ptr [ESI]
PUSH EDI
PUSH ESI
CALL dword ptr [EAX + 0x20]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001343b0
SUB ESP,0xc
PUSH EAX
CALL 0x000268f0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x0013447f
CMP byte ptr [EAX + 0x27e8],0x0
JNZ 0x00134420
CALL 0x000ee7b0
MOV EAX,dword ptr [ESI]
MOV EDI,dword ptr [EAX + 0xc]
TEST EDI,EDI
JNZ 0x0013439d
PUSH EAX
LEA EAX,[EBX + 0xfff2f2e8]
PUSH EAX
LEA EAX,[EBX + 0xfff1e970]
PUSH 0x69
PUSH EAX
CALL 0x0005f0b0
MOV ESI,dword ptr [EAX + 0x27ec]
SUB ESP,0xc
PUSH ESI
CALL 0x00134240
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00134444
SUB ESP,0xc
PUSH ESI
CALL 0x000268f0
ADD ESP,0x10
JMP 0x001343d8
SUB ESP,0xc
LEA EAX,[EBX + 0xfff2a55d]
PUSH EAX
CALL 0x000263b0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x0005ad00
ADD ESP,0x10
JMP 0x001343d8
SUB ESP,0x4
LEA EAX,[EBX + 0xfff2f2f8]
PUSH EAX
LEA EAX,[EBX + 0xfff2f2b0]
PUSH 0xd8
PUSH EAX
CALL 0x0005f0b0
LEA EAX,[EBX + 0xfff2f2f0]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xfff1e970]
PUSH 0x5c
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00134380(void)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  iVar3 = *(int *)(DAT_00302378 + 0xc);\n  piVar1 = DAT_00309258;\n  if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }\n  puts(pcVar2);\n  return;\n}\n\n" comment (function_definition "void FUN_00134380(void)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  iVar3 = *(int *)(DAT_00302378 + 0xc);\n  piVar1 = DAT_00309258;\n  if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }\n  puts(pcVar2);\n  return;\n}" primitive_type (function_declarator "FUN_00134380(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  iVar3 = *(int *)(DAT_00302378 + 0xc);\n  piVar1 = DAT_00309258;\n  if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }\n  puts(pcVar2);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "iVar3 = *(int *)(DAT_00302378 + 0xc);" (assignment_expression "iVar3 = *(int *)(DAT_00302378 + 0xc)" identifier = (pointer_expression "*(int *)(DAT_00302378 + 0xc)" * (cast_expression "(int *)(DAT_00302378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 0xc)" ( (binary_expression "DAT_00302378 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = DAT_00309258;" (assignment_expression "piVar1 = DAT_00309258" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }" { (expression_statement "iVar3 = *(int *)(DAT_00302378 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_00302378 + 8)" identifier = (pointer_expression "*(int *)(DAT_00302378 + 8)" * (cast_expression "(int *)(DAT_00302378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 8)" ( (binary_expression "DAT_00302378 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }" { comment (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);" (call_expression "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",&DAT_00302378)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , (pointer_expression "&DAT_00302378" & identifier) ))) ;) })) (if_statement "if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }" if (parenthesized_expression "(*(char *)(iVar3 + 0x27e8) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x27e8) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x27e8)" * (cast_expression "(char *)(iVar3 + 0x27e8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x27e8)" ( (binary_expression "iVar3 + 0x27e8" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }" { (expression_statement "pcVar2 = *(char **)(iVar3 + 0x27ec);" (assignment_expression "pcVar2 = *(char **)(iVar3 + 0x27ec)" identifier = (pointer_expression "*(char **)(iVar3 + 0x27ec)" * (cast_expression "(char **)(iVar3 + 0x27ec)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x27ec)" ( (binary_expression "iVar3 + 0x27ec" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = FUN_00134240(pcVar2);" (assignment_expression "iVar3 = FUN_00134240(pcVar2)" identifier = (call_expression "FUN_00134240(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (if_statement "if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        puts(pcVar2);\n        return;\n      }" { (expression_statement "puts(pcVar2);" (call_expression "puts(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar4 = gettext("unrecognized output format %s");" (assignment_expression "uVar4 = gettext("unrecognized output format %s")" identifier = (call_expression "gettext("unrecognized output format %s")" identifier (argument_list "("unrecognized output format %s")" ( (string_literal ""unrecognized output format %s"" " string_content ") )))) ;) (expression_statement "FUN_0005ad00(uVar4,pcVar2);" (call_expression "FUN_0005ad00(uVar4,pcVar2)" identifier (argument_list "(uVar4,pcVar2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000ee7b0();" (call_expression "FUN_000ee7b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(DAT_00302378 + 0xc);" (assignment_expression "iVar3 = *(int *)(DAT_00302378 + 0xc)" identifier = (pointer_expression "*(int *)(DAT_00302378 + 0xc)" * (cast_expression "(int *)(DAT_00302378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 0xc)" ( (binary_expression "DAT_00302378 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = DAT_00309258;" (assignment_expression "piVar1 = DAT_00309258" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }" { comment (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);" (call_expression "FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",DAT_00302378)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })) })) (while_statement "while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }" { (if_statement "if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }" { comment (expression_statement "FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");" (call_expression "FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format")" identifier (argument_list "("../../gold/target-select.cc",0xd8,"print_output_format")" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""print_output_format"" " string_content ") ))) ;) })) (expression_statement "pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);" (assignment_expression "pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3)" identifier = (cast_expression "(char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*piVar1 + 0x20))(piVar1,iVar3)" (parenthesized_expression "(**(code **)(*piVar1 + 0x20))" ( (pointer_expression "**(code **)(*piVar1 + 0x20)" * (pointer_expression "*(code **)(*piVar1 + 0x20)" * (cast_expression "(code **)(*piVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x20)" ( (binary_expression "*piVar1 + 0x20" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,iVar3)" ( identifier , identifier ))))) ;) (if_statement "if (pcVar2 != (char *)0x0) break;" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "piVar1 = (int *)piVar1[6];" (assignment_expression "piVar1 = (int *)piVar1[6]" identifier = (cast_expression "(int *)piVar1[6]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[6]" identifier [ number_literal ]))) ;) })) (expression_statement "puts(pcVar2);" (call_expression "puts(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n\nvoid gold::print_output_format(void)\n\n{\n  General_options *pGVar1;\n  Target_selector *pTVar2;\n  char *pcVar3;\n  Target *pTVar4;\n  char *format;\n  \n  pTVar4 = parameters->target_;\n  pTVar2 = anon_unknown.dwarf_136b568::target_selectors;\n  if (pTVar4 == (Target *)0x0) {\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((pGVar1->oformat_).user_set_via_option != false) {\n      pcVar3 = (pGVar1->oformat_).value;\n      pTVar4 = select_target_by_bfd_name(pcVar3);\n      if (pTVar4 != (Target *)0x0) {\n        puts(pcVar3);\n        return;\n      }\n      format = (char *)gettext("unrecognized output format %s");\n      gold_error(format,pcVar3);\n      return;\n    }\n    parameters_force_valid_target();\n    pTVar4 = parameters->target_;\n    pTVar2 = anon_unknown.dwarf_136b568::target_selectors;\n    if (pTVar4 == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n  }\n  while( true ) {\n    if (pTVar2 == (Target_selector *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar3 = (char *)(*pTVar2->_vptr_Target_selector[8])(pTVar2,pTVar4);\n    if (pcVar3 != (char *)0x0) break;\n    pTVar2 = pTVar2->next_;\n  }\n  puts(pcVar3);\n  return;\n}\n\n" comment comment (function_definition "void gold::print_output_format(void)\n\n{\n  General_options *pGVar1;\n  Target_selector *pTVar2;\n  char *pcVar3;\n  Target *pTVar4;\n  char *format;\n  \n  pTVar4 = parameters->target_;\n  pTVar2 = anon_unknown.dwarf_136b568::target_selectors;\n  if (pTVar4 == (Target *)0x0) {\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((pGVar1->oformat_).user_set_via_option != false) {\n      pcVar3 = (pGVar1->oformat_).value;\n      pTVar4 = select_target_by_bfd_name(pcVar3);\n      if (pTVar4 != (Target *)0x0) {\n        puts(pcVar3);\n        return;\n      }\n      format = (char *)gettext("unrecognized output format %s");\n      gold_error(format,pcVar3);\n      return;\n    }\n    parameters_force_valid_target();\n    pTVar4 = parameters->target_;\n    pTVar2 = anon_unknown.dwarf_136b568::target_selectors;\n    if (pTVar4 == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n  }\n  while( true ) {\n    if (pTVar2 == (Target_selector *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar3 = (char *)(*pTVar2->_vptr_Target_selector[8])(pTVar2,pTVar4);\n    if (pcVar3 != (char *)0x0) break;\n    pTVar2 = pTVar2->next_;\n  }\n  puts(pcVar3);\n  return;\n}" primitive_type (ERROR "gold::" identifier : :) (function_declarator "print_output_format(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  General_options *pGVar1;\n  Target_selector *pTVar2;\n  char *pcVar3;\n  Target *pTVar4;\n  char *format;\n  \n  pTVar4 = parameters->target_;\n  pTVar2 = anon_unknown.dwarf_136b568::target_selectors;\n  if (pTVar4 == (Target *)0x0) {\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((pGVar1->oformat_).user_set_via_option != false) {\n      pcVar3 = (pGVar1->oformat_).value;\n      pTVar4 = select_target_by_bfd_name(pcVar3);\n      if (pTVar4 != (Target *)0x0) {\n        puts(pcVar3);\n        return;\n      }\n      format = (char *)gettext("unrecognized output format %s");\n      gold_error(format,pcVar3);\n      return;\n    }\n    parameters_force_valid_target();\n    pTVar4 = parameters->target_;\n    pTVar2 = anon_unknown.dwarf_136b568::target_selectors;\n    if (pTVar4 == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n  }\n  while( true ) {\n    if (pTVar2 == (Target_selector *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar3 = (char *)(*pTVar2->_vptr_Target_selector[8])(pTVar2,pTVar4);\n    if (pcVar3 != (char *)0x0) break;\n    pTVar2 = pTVar2->next_;\n  }\n  puts(pcVar3);\n  return;\n}" { (declaration "General_options *pGVar1;" type_identifier (pointer_declarator "*pGVar1" * identifier) ;) (declaration "Target_selector *pTVar2;" type_identifier (pointer_declarator "*pTVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "Target *pTVar4;" type_identifier (pointer_declarator "*pTVar4" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (expression_statement "pTVar4 = parameters->target_;" (assignment_expression "pTVar4 = parameters->target_" identifier = (field_expression "parameters->target_" identifier -> field_identifier)) ;) (expression_statement "pTVar2 = anon_unknown.dwarf_136b568::target_selectors;" (assignment_expression "pTVar2 = anon_unknown.dwarf_136b568" identifier = (field_expression "anon_unknown.dwarf_136b568" identifier . field_identifier)) (ERROR "::target_selectors" : : identifier) ;) (if_statement "if (pTVar4 == (Target *)0x0) {\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((pGVar1->oformat_).user_set_via_option != false) {\n      pcVar3 = (pGVar1->oformat_).value;\n      pTVar4 = select_target_by_bfd_name(pcVar3);\n      if (pTVar4 != (Target *)0x0) {\n        puts(pcVar3);\n        return;\n      }\n      format = (char *)gettext("unrecognized output format %s");\n      gold_error(format,pcVar3);\n      return;\n    }\n    parameters_force_valid_target();\n    pTVar4 = parameters->target_;\n    pTVar2 = anon_unknown.dwarf_136b568::target_selectors;\n    if (pTVar4 == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n  }" if (parenthesized_expression "(pTVar4 == (Target *)0x0)" ( (binary_expression "pTVar4 == (Target *)0x0" identifier == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((pGVar1->oformat_).user_set_via_option != false) {\n      pcVar3 = (pGVar1->oformat_).value;\n      pTVar4 = select_target_by_bfd_name(pcVar3);\n      if (pTVar4 != (Target *)0x0) {\n        puts(pcVar3);\n        return;\n      }\n      format = (char *)gettext("unrecognized output format %s");\n      gold_error(format,pcVar3);\n      return;\n    }\n    parameters_force_valid_target();\n    pTVar4 = parameters->target_;\n    pTVar2 = anon_unknown.dwarf_136b568::target_selectors;\n    if (pTVar4 == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n  }" { (expression_statement "pGVar1 = parameters->options_;" (assignment_expression "pGVar1 = parameters->options_" identifier = (field_expression "parameters->options_" identifier -> field_identifier)) ;) (if_statement "if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" if (parenthesized_expression "(pGVar1 == (General_options *)0x0)" ( (binary_expression "pGVar1 == (General_options *)0x0" identifier == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (if_statement "if ((pGVar1->oformat_).user_set_via_option != false) {\n      pcVar3 = (pGVar1->oformat_).value;\n      pTVar4 = select_target_by_bfd_name(pcVar3);\n      if (pTVar4 != (Target *)0x0) {\n        puts(pcVar3);\n        return;\n      }\n      format = (char *)gettext("unrecognized output format %s");\n      gold_error(format,pcVar3);\n      return;\n    }" if (parenthesized_expression "((pGVar1->oformat_).user_set_via_option != false)" ( (binary_expression "(pGVar1->oformat_).user_set_via_option != false" (field_expression "(pGVar1->oformat_).user_set_via_option" (parenthesized_expression "(pGVar1->oformat_)" ( (field_expression "pGVar1->oformat_" identifier -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n      pcVar3 = (pGVar1->oformat_).value;\n      pTVar4 = select_target_by_bfd_name(pcVar3);\n      if (pTVar4 != (Target *)0x0) {\n        puts(pcVar3);\n        return;\n      }\n      format = (char *)gettext("unrecognized output format %s");\n      gold_error(format,pcVar3);\n      return;\n    }" { (expression_statement "pcVar3 = (pGVar1->oformat_).value;" (assignment_expression "pcVar3 = (pGVar1->oformat_).value" identifier = (field_expression "(pGVar1->oformat_).value" (parenthesized_expression "(pGVar1->oformat_)" ( (field_expression "pGVar1->oformat_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pTVar4 = select_target_by_bfd_name(pcVar3);" (assignment_expression "pTVar4 = select_target_by_bfd_name(pcVar3)" identifier = (call_expression "select_target_by_bfd_name(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier )))) ;) (if_statement "if (pTVar4 != (Target *)0x0) {\n        puts(pcVar3);\n        return;\n      }" if (parenthesized_expression "(pTVar4 != (Target *)0x0)" ( (binary_expression "pTVar4 != (Target *)0x0" identifier != (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puts(pcVar3);\n        return;\n      }" { (expression_statement "puts(pcVar3);" (call_expression "puts(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "format = (char *)gettext("unrecognized output format %s");" (assignment_expression "format = (char *)gettext("unrecognized output format %s")" identifier = (cast_expression "(char *)gettext("unrecognized output format %s")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unrecognized output format %s")" identifier (argument_list "("unrecognized output format %s")" ( (string_literal ""unrecognized output format %s"" " string_content ") ))))) ;) (expression_statement "gold_error(format,pcVar3);" (call_expression "gold_error(format,pcVar3)" identifier (argument_list "(format,pcVar3)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "parameters_force_valid_target();" (call_expression "parameters_force_valid_target()" identifier (argument_list "()" ( ))) ;) (expression_statement "pTVar4 = parameters->target_;" (assignment_expression "pTVar4 = parameters->target_" identifier = (field_expression "parameters->target_" identifier -> field_identifier)) ;) (expression_statement "pTVar2 = anon_unknown.dwarf_136b568::target_selectors;" (assignment_expression "pTVar2 = anon_unknown.dwarf_136b568" identifier = (field_expression "anon_unknown.dwarf_136b568" identifier . field_identifier)) (ERROR "::target_selectors" : : identifier) ;) (if_statement "if (pTVar4 == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }" if (parenthesized_expression "(pTVar4 == (Target *)0x0)" ( (binary_expression "pTVar4 == (Target *)0x0" identifier == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) })) (while_statement "while( true ) {\n    if (pTVar2 == (Target_selector *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar3 = (char *)(*pTVar2->_vptr_Target_selector[8])(pTVar2,pTVar4);\n    if (pcVar3 != (char *)0x0) break;\n    pTVar2 = pTVar2->next_;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (pTVar2 == (Target_selector *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar3 = (char *)(*pTVar2->_vptr_Target_selector[8])(pTVar2,pTVar4);\n    if (pcVar3 != (char *)0x0) break;\n    pTVar2 = pTVar2->next_;\n  }" { (if_statement "if (pTVar2 == (Target_selector *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/target-select.cc",0xd8,"print_output_format");\n    }" if (parenthesized_expression "(pTVar2 == (Target_selector *)0x0)" ( (binary_expression "pTVar2 == (Target_selector *)0x0" identifier == (cast_expression "(Target_selector *)0x0" ( (type_descriptor "Target_selector *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/target-select.cc",0xd8,"print_output_format");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/target-select.cc",0xd8,"print_output_format");" (call_expression "do_gold_unreachable("../../gold/target-select.cc",0xd8,"print_output_format")" identifier (argument_list "("../../gold/target-select.cc",0xd8,"print_output_format")" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""print_output_format"" " string_content ") ))) ;) })) (expression_statement "pcVar3 = (char *)(*pTVar2->_vptr_Target_selector[8])(pTVar2,pTVar4);" (assignment_expression "pcVar3 = (char *)(*pTVar2->_vptr_Target_selector[8])(pTVar2,pTVar4)" identifier = (cast_expression "(char *)(*pTVar2->_vptr_Target_selector[8])(pTVar2,pTVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pTVar2->_vptr_Target_selector[8])(pTVar2,pTVar4)" (parenthesized_expression "(*pTVar2->_vptr_Target_selector[8])" ( (pointer_expression "*pTVar2->_vptr_Target_selector[8]" * (subscript_expression "pTVar2->_vptr_Target_selector[8]" (field_expression "pTVar2->_vptr_Target_selector" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pTVar2,pTVar4)" ( identifier , identifier ))))) ;) (if_statement "if (pcVar3 != (char *)0x0) break;" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pTVar2 = pTVar2->next_;" (assignment_expression "pTVar2 = pTVar2->next_" identifier = (field_expression "pTVar2->next_" identifier -> field_identifier)) ;) })) (expression_statement "puts(pcVar3);" (call_expression "puts(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00134380(void)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  iVar3 = *(int *)(DAT_00302378 + 0xc);\n  piVar1 = DAT_00309258;\n  if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }\n  puts(pcVar2);\n  return;\n}\n\n" (function_definition "void FUN_00134380(void)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  iVar3 = *(int *)(DAT_00302378 + 0xc);\n  piVar1 = DAT_00309258;\n  if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }\n  puts(pcVar2);\n  return;\n}" primitive_type (function_declarator "FUN_00134380(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  iVar3 = *(int *)(DAT_00302378 + 0xc);\n  piVar1 = DAT_00309258;\n  if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }\n  puts(pcVar2);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "iVar3 = *(int *)(DAT_00302378 + 0xc);" (assignment_expression "iVar3 = *(int *)(DAT_00302378 + 0xc)" identifier = (pointer_expression "*(int *)(DAT_00302378 + 0xc)" * (cast_expression "(int *)(DAT_00302378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 0xc)" ( (binary_expression "DAT_00302378 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = DAT_00309258;" (assignment_expression "piVar1 = DAT_00309258" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }" { (expression_statement "iVar3 = *(int *)(DAT_00302378 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_00302378 + 8)" identifier = (pointer_expression "*(int *)(DAT_00302378 + 8)" * (cast_expression "(int *)(DAT_00302378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 8)" ( (binary_expression "DAT_00302378 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }" { (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);" (call_expression "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",&DAT_00302378)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , (pointer_expression "&DAT_00302378" & identifier) ))) ;) })) (if_statement "if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }" if (parenthesized_expression "(*(char *)(iVar3 + 0x27e8) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x27e8) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x27e8)" * (cast_expression "(char *)(iVar3 + 0x27e8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x27e8)" ( (binary_expression "iVar3 + 0x27e8" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }" { (expression_statement "pcVar2 = *(char **)(iVar3 + 0x27ec);" (assignment_expression "pcVar2 = *(char **)(iVar3 + 0x27ec)" identifier = (pointer_expression "*(char **)(iVar3 + 0x27ec)" * (cast_expression "(char **)(iVar3 + 0x27ec)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x27ec)" ( (binary_expression "iVar3 + 0x27ec" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = FUN_00134240(pcVar2);" (assignment_expression "iVar3 = FUN_00134240(pcVar2)" identifier = (call_expression "FUN_00134240(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (if_statement "if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        puts(pcVar2);\n        return;\n      }" { (expression_statement "puts(pcVar2);" (call_expression "puts(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar4 = gettext("unrecognized output format %s");" (assignment_expression "uVar4 = gettext("unrecognized output format %s")" identifier = (call_expression "gettext("unrecognized output format %s")" identifier (argument_list "("unrecognized output format %s")" ( (string_literal ""unrecognized output format %s"" " string_content ") )))) ;) (expression_statement "FUN_0005ad00(uVar4,pcVar2);" (call_expression "FUN_0005ad00(uVar4,pcVar2)" identifier (argument_list "(uVar4,pcVar2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000ee7b0();" (call_expression "FUN_000ee7b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(DAT_00302378 + 0xc);" (assignment_expression "iVar3 = *(int *)(DAT_00302378 + 0xc)" identifier = (pointer_expression "*(int *)(DAT_00302378 + 0xc)" * (cast_expression "(int *)(DAT_00302378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 0xc)" ( (binary_expression "DAT_00302378 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = DAT_00309258;" (assignment_expression "piVar1 = DAT_00309258" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }" { (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);" (call_expression "FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",DAT_00302378)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })) })) (while_statement "while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }" { (if_statement "if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }" { (expression_statement "FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");" (call_expression "FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format")" identifier (argument_list "("../../gold/target-select.cc",0xd8,"print_output_format")" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""print_output_format"" " string_content ") ))) ;) })) (expression_statement "pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);" (assignment_expression "pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3)" identifier = (cast_expression "(char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*piVar1 + 0x20))(piVar1,iVar3)" (parenthesized_expression "(**(code **)(*piVar1 + 0x20))" ( (pointer_expression "**(code **)(*piVar1 + 0x20)" * (pointer_expression "*(code **)(*piVar1 + 0x20)" * (cast_expression "(code **)(*piVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x20)" ( (binary_expression "*piVar1 + 0x20" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,iVar3)" ( identifier , identifier ))))) ;) (if_statement "if (pcVar2 != (char *)0x0) break;" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "piVar1 = (int *)piVar1[6];" (assignment_expression "piVar1 = (int *)piVar1[6]" identifier = (cast_expression "(int *)piVar1[6]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[6]" identifier [ number_literal ]))) ;) })) (expression_statement "puts(pcVar2);" (call_expression "puts(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (pointer_expression & IDENT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (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 = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) })) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00134380(void)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  iVar3 = *(int *)(DAT_00302378 + 0xc);\n  piVar1 = DAT_00309258;\n  if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }\n  puts(pcVar2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00134380(void)" (identifier "FUN_00134380") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  iVar3 = *(int *)(DAT_00302378 + 0xc);\n  piVar1 = DAT_00309258;\n  if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }\n  puts(pcVar2);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (expression_statement "iVar3 = *(int *)(DAT_00302378 + 0xc);" (assignment_expression "iVar3 = *(int *)(DAT_00302378 + 0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(DAT_00302378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_00302378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00302378 + 0xc)" (( "(") (binary_expression "DAT_00302378 + 0xc" (identifier "DAT_00302378") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "piVar1 = DAT_00309258;" (assignment_expression "piVar1 = DAT_00309258" (identifier "piVar1") (= "=") (identifier "DAT_00309258")) (; ";")) (if_statement "if (iVar3 == 0) {\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = *(int *)(DAT_00302378 + 8);\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }\n    if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }\n    FUN_000ee7b0();\n    iVar3 = *(int *)(DAT_00302378 + 0xc);\n    piVar1 = DAT_00309258;\n    if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }\n  }" ({ "{") (expression_statement "iVar3 = *(int *)(DAT_00302378 + 8);" (assignment_expression "iVar3 = *(int *)(DAT_00302378 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(DAT_00302378 + 8)" (* "*") (cast_expression "(int *)(DAT_00302378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00302378 + 8)" (( "(") (binary_expression "DAT_00302378 + 8" (identifier "DAT_00302378") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);\n    }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);" (call_expression "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/parameters.h",0x5c,"options",&DAT_00302378)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) (, ",") (pointer_expression "&DAT_00302378" (& "&") (identifier "DAT_00302378")) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(iVar3 + 0x27e8) != '\0') {\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar3 + 0x27e8) != '\0')" (( "(") (binary_expression "*(char *)(iVar3 + 0x27e8) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x27e8)" (* "*") (cast_expression "(char *)(iVar3 + 0x27e8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x27e8)" (( "(") (binary_expression "iVar3 + 0x27e8" (identifier "iVar3") (+ "+") (number_literal "0x27e8")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      pcVar2 = *(char **)(iVar3 + 0x27ec);\n      iVar3 = FUN_00134240(pcVar2);\n      if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }\n      uVar4 = gettext("unrecognized output format %s");\n      FUN_0005ad00(uVar4,pcVar2);\n      return;\n    }" ({ "{") (expression_statement "pcVar2 = *(char **)(iVar3 + 0x27ec);" (assignment_expression "pcVar2 = *(char **)(iVar3 + 0x27ec)" (identifier "pcVar2") (= "=") (pointer_expression "*(char **)(iVar3 + 0x27ec)" (* "*") (cast_expression "(char **)(iVar3 + 0x27ec)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x27ec)" (( "(") (binary_expression "iVar3 + 0x27ec" (identifier "iVar3") (+ "+") (number_literal "0x27ec")) () ")"))))) (; ";")) (expression_statement "iVar3 = FUN_00134240(pcVar2);" (assignment_expression "iVar3 = FUN_00134240(pcVar2)" (identifier "iVar3") (= "=") (call_expression "FUN_00134240(pcVar2)" (identifier "FUN_00134240") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n        puts(pcVar2);\n        return;\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puts(pcVar2);\n        return;\n      }" ({ "{") (expression_statement "puts(pcVar2);" (call_expression "puts(pcVar2)" (identifier "puts") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar4 = gettext("unrecognized output format %s");" (assignment_expression "uVar4 = gettext("unrecognized output format %s")" (identifier "uVar4") (= "=") (call_expression "gettext("unrecognized output format %s")" (identifier "gettext") (argument_list "("unrecognized output format %s")" (( "(") (string_literal ""unrecognized output format %s"" (" """) (string_content "unrecognized output format %s") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0005ad00(uVar4,pcVar2);" (call_expression "FUN_0005ad00(uVar4,pcVar2)" (identifier "FUN_0005ad00") (argument_list "(uVar4,pcVar2)" (( "(") (identifier "uVar4") (, ",") (identifier "pcVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000ee7b0();" (call_expression "FUN_000ee7b0()" (identifier "FUN_000ee7b0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(DAT_00302378 + 0xc);" (assignment_expression "iVar3 = *(int *)(DAT_00302378 + 0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(DAT_00302378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_00302378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00302378 + 0xc)" (( "(") (binary_expression "DAT_00302378 + 0xc" (identifier "DAT_00302378") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "piVar1 = DAT_00309258;" (assignment_expression "piVar1 = DAT_00309258" (identifier "piVar1") (= "=") (identifier "DAT_00309258")) (; ";")) (if_statement "if (iVar3 == 0) {\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);\n    }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);" (call_expression "FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/parameters.h",0x69,"target",DAT_00302378)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (identifier "DAT_00302378") () ")"))) (; ";")) (} "}"))) (} "}"))) (while_statement "while( true ) {\n    if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }\n    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);\n    if (pcVar2 != (char *)0x0) break;\n    piVar1 = (int *)piVar1[6];\n  }" ({ "{") (if_statement "if (piVar1 == (int *)0x0) {\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");\n    }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");" (call_expression "FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format")" (identifier "FUN_0005f0b0") (argument_list "("../../gold/target-select.cc",0xd8,"print_output_format")" (( "(") (string_literal ""../../gold/target-select.cc"" (" """) (string_content "../../gold/target-select.cc") (" """)) (, ",") (number_literal "0xd8") (, ",") (string_literal ""print_output_format"" (" """) (string_content "print_output_format") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);" (assignment_expression "pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3)" (identifier "pcVar2") (= "=") (cast_expression "(char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(*piVar1 + 0x20))(piVar1,iVar3)" (parenthesized_expression "(**(code **)(*piVar1 + 0x20))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x20)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x20)" (* "*") (cast_expression "(code **)(*piVar1 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x20)" (( "(") (binary_expression "*piVar1 + 0x20" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "(piVar1,iVar3)" (( "(") (identifier "piVar1") (, ",") (identifier "iVar3") () ")"))))) (; ";")) (if_statement "if (pcVar2 != (char *)0x0) break;" (if "if") (parenthesized_expression "(pcVar2 != (char *)0x0)" (( "(") (binary_expression "pcVar2 != (char *)0x0" (identifier "pcVar2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar1 = (int *)piVar1[6];" (assignment_expression "piVar1 = (int *)piVar1[6]" (identifier "piVar1") (= "=") (cast_expression "(int *)piVar1[6]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[6]" (identifier "piVar1") ([ "[") (number_literal "6") (] "]")))) (; ";")) (} "}"))) (expression_statement "puts(pcVar2);" (call_expression "puts(pcVar2)" (identifier "puts") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */

void gold::function_1(void)

{
  type_1 *var_2;
  type_2 *var_9;
  char *var_10;
  type_3 *var_1;
  char *format;
  
  var_1 = parameters->target_;
  var_9 = anon_unknown.dwarf_136b568::target_selectors;
  if (var_1 == (type_3 *)0x0) {
    var_2 = parameters->options_;
    if (var_2 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_3("../../gold/parameters.h",0x5c,"options");
    }
    if ((var_2->oformat_).user_set_via_option != false) {
      var_10 = (var_2->oformat_).value;
      var_1 = var_4(var_10);
      if (var_1 != (type_3 *)0x0) {
        var_5(var_10);
        return;
      }
      format = (char *)var_6("unrecognized output format %s");
      var_7(format,var_10);
      return;
    }
    var_8();
    var_1 = parameters->target_;
    var_9 = anon_unknown.dwarf_136b568::target_selectors;
    if (var_1 == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_3("../../gold/parameters.h",0x69,"target");
    }
  }
  while( true ) {
    if (var_9 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_3("../../gold/target-select.cc",0xd8,"print_output_format");
    }
    var_10 = (char *)(*var_9->_vptr_Target_selector[8])(var_9,var_1);
    if (var_10 != (char *)0x0) break;
    var_9 = var_9->next_;
  }
  var_5(var_10);
  return;
}


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

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

void MASKED(void)

{
  int *piVar1;
  char *pcVar2;
  int iVar3;
  undefined4 uVar4;
  
  iVar3 = *(int *)(DAT_00302378 + 0xc);
  piVar1 = DAT_00309258;
  if (iVar3 == 0) {
    iVar3 = *(int *)(DAT_00302378 + 8);
    if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",&DAT_00302378);
    }
    if (*(char *)(iVar3 + 0x27e8) != '\0') {
      pcVar2 = *(char **)(iVar3 + 0x27ec);
      iVar3 = FUN_00134240(pcVar2);
      if (iVar3 != 0) {
        puts(pcVar2);
        return;
      }
      uVar4 = gettext("unrecognized output format %s");
      FUN_0005ad00(uVar4,pcVar2);
      return;
    }
    FUN_000ee7b0();
    iVar3 = *(int *)(DAT_00302378 + 0xc);
    piVar1 = DAT_00309258;
    if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/parameters.h",0x69,"target",DAT_00302378);
    }
  }
  while( true ) {
    if (piVar1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/target-select.cc",0xd8,"print_output_format");
    }
    pcVar2 = (char *)(**(code **)(*piVar1 + 0x20))(piVar1,iVar3);
    if (pcVar2 != (char *)0x0) break;
    piVar1 = (int *)piVar1[6];
  }
  puts(pcVar2);
  return;
}

