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

Object_format gold::General_options::string_to_object_format(char *arg)

{
  Object_format OVar1;
  char *format;
  int iVar2;
  byte *pbVar3;
  byte *pbVar4;
  bool bVar5;
  bool bVar6;
  bool bVar7;
  
  iVar2 = 3;
  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;
  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;
  pbVar3 = (byte *)arg;
  pbVar4 = &DAT_00225a7a;
  do {
    if (iVar2 == 0) break;
    iVar2 = iVar2 + -1;
    bVar5 = *pbVar3 < *pbVar4;
    bVar7 = *pbVar3 == *pbVar4;
    pbVar3 = pbVar3 + 1;
    pbVar4 = pbVar4 + 1;
  } while (bVar7);
  OVar1 = OBJECT_FORMAT_ELF;
  bVar6 = false;
  bVar5 = (!bVar5 && !bVar7) == bVar5;
  if (!bVar5) {
    iVar2 = 8;
    pbVar3 = (byte *)arg;
    pbVar4 = (byte *)"default";
    do {
      if (iVar2 == 0) break;
      iVar2 = iVar2 + -1;
      bVar6 = *pbVar3 < *pbVar4;
      bVar5 = *pbVar3 == *pbVar4;
      pbVar3 = pbVar3 + 1;
      pbVar4 = pbVar4 + 1;
    } while (bVar5);
    bVar7 = false;
    bVar5 = (!bVar6 && !bVar5) == bVar6;
    if (!bVar5) {
      iVar2 = 7;
      OVar1 = OBJECT_FORMAT_BINARY;
      pbVar3 = (byte *)arg;
      pbVar4 = (byte *)"binary";
      do {
        if (iVar2 == 0) break;
        iVar2 = iVar2 + -1;
        bVar7 = *pbVar3 < *pbVar4;
        bVar5 = *pbVar3 == *pbVar4;
        pbVar3 = pbVar3 + 1;
        pbVar4 = pbVar4 + 1;
      } while (bVar5);
      if ((!bVar7 && !bVar5) != bVar7) {
        format = (char *)gettext(
                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"
                                );
        gold_error(format,arg);
        return OBJECT_FORMAT_ELF;
      }
    }
  }
  return OVar1;
}



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

undefined4 FUN_000aa470(byte *param_1)

{
  undefined4 uVar1;
  int iVar2;
  byte *pbVar3;
  byte *pbVar4;
  bool bVar5;
  bool bVar6;
  bool bVar7;
  
  iVar2 = 3;
  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;
  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;
  pbVar3 = param_1;
  pbVar4 = &DAT_00225a7a;
  do {
    if (iVar2 == 0) break;
    iVar2 = iVar2 + -1;
    bVar5 = *pbVar3 < *pbVar4;
    bVar7 = *pbVar3 == *pbVar4;
    pbVar3 = pbVar3 + 1;
    pbVar4 = pbVar4 + 1;
  } while (bVar7);
  uVar1 = 0;
  bVar6 = false;
  bVar5 = (!bVar5 && !bVar7) == bVar5;
  if (!bVar5) {
    iVar2 = 8;
    pbVar3 = param_1;
    pbVar4 = (byte *)"default";
    do {
      if (iVar2 == 0) break;
      iVar2 = iVar2 + -1;
      bVar6 = *pbVar3 < *pbVar4;
      bVar5 = *pbVar3 == *pbVar4;
      pbVar3 = pbVar3 + 1;
      pbVar4 = pbVar4 + 1;
    } while (bVar5);
    bVar7 = false;
    bVar5 = (!bVar6 && !bVar5) == bVar6;
    if (!bVar5) {
      iVar2 = 7;
      uVar1 = 1;
      pbVar3 = param_1;
      pbVar4 = (byte *)"binary";
      do {
        if (iVar2 == 0) break;
        iVar2 = iVar2 + -1;
        bVar7 = *pbVar3 < *pbVar4;
        bVar5 = *pbVar3 == *pbVar4;
        pbVar3 = pbVar3 + 1;
        pbVar4 = pbVar4 + 1;
      } while (bVar5);
      if ((!bVar7 && !bVar5) != bVar7) {
        uVar1 = gettext(
                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"
                       );
        FUN_0005ad00(uVar1,param_1);
        return 0;
      }
    }
  }
  return uVar1;
}


PUSH EBP
MOV ECX,0x3
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x257b82
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x20]
MOV ESI,EBP
LEA EDI,[EBX + 0xfff23a7a]
CMPSB.REPE ES:EDI,ESI
SETA DL
SBB DL,0x0
XOR EAX,EAX
TEST DL,DL
JZ 0x000aa4d8
MOV ECX,0x8
LEA EDI,[EBX + 0xfff23a41]
MOV ESI,EBP
CMPSB.REPE ES:EDI,ESI
SETA DL
SBB DL,0x0
TEST DL,DL
JZ 0x000aa4d8
MOV ECX,0x7
LEA EDI,[EBX + 0xfff23a7e]
MOV ESI,EBP
MOV EAX,0x1
CMPSB.REPE ES:EDI,ESI
SETA DL
SBB DL,0x0
TEST DL,DL
JNZ 0x000aa4e0
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xfff25138]
PUSH EAX
CALL 0x000263b0
POP EDX
POP ECX
PUSH EBP
PUSH EAX
CALL 0x0005ad00
ADD ESP,0x10
XOR EAX,EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000aa470(byte *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = param_1;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  uVar1 = 0;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 FUN_000aa470(byte *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = param_1;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  uVar1 = 0;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000aa470(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = param_1;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  uVar1 = 0;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "iVar2 = 3;" (assignment_expression "iVar2 = 3" identifier = number_literal) ;) (expression_statement "bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;" (assignment_expression "bVar5 = &stack0xfffffff0 < (undefined1 *)0xc" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0xc" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0xc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar7 = &stack0x00000000 == (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0x00000000 == (undefined1 *)0x1c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x1c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x1c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar3 = param_1;" (assignment_expression "pbVar3 = param_1" identifier = identifier) ;) (expression_statement "pbVar4 = &DAT_00225a7a;" (assignment_expression "pbVar4 = &DAT_00225a7a" identifier = (pointer_expression "&DAT_00225a7a" & identifier)) ;) (do_statement "do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar3 < *pbVar4;" (assignment_expression "bVar5 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar7 = *pbVar3 == *pbVar4;" (assignment_expression "bVar7 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "bVar5 = (!bVar5 && !bVar7) == bVar5;" (assignment_expression "bVar5 = (!bVar5 && !bVar7) == bVar5" identifier = (binary_expression "(!bVar5 && !bVar7) == bVar5" (parenthesized_expression "(!bVar5 && !bVar7)" ( (binary_expression "!bVar5 && !bVar7" (unary_expression "!bVar5" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }" if (parenthesized_expression "(!bVar5)" ( (unary_expression "!bVar5" ! identifier) )) (compound_statement "{\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }" { (expression_statement "iVar2 = 8;" (assignment_expression "iVar2 = 8" identifier = number_literal) ;) (expression_statement "pbVar3 = param_1;" (assignment_expression "pbVar3 = param_1" identifier = identifier) ;) (expression_statement "pbVar4 = (byte *)"default";" (assignment_expression "pbVar4 = (byte *)"default"" identifier = (cast_expression "(byte *)"default"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""default"" " string_content "))) ;) (do_statement "do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);" do (compound_statement "{\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar6 = *pbVar3 < *pbVar4;" (assignment_expression "bVar6 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar5 = *pbVar3 == *pbVar4;" (assignment_expression "bVar5 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5)" ( identifier )) ;) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" identifier = false) ;) (expression_statement "bVar5 = (!bVar6 && !bVar5) == bVar6;" (assignment_expression "bVar5 = (!bVar6 && !bVar5) == bVar6" identifier = (binary_expression "(!bVar6 && !bVar5) == bVar6" (parenthesized_expression "(!bVar6 && !bVar5)" ( (binary_expression "!bVar6 && !bVar5" (unary_expression "!bVar6" ! identifier) && (unary_expression "!bVar5" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }" if (parenthesized_expression "(!bVar5)" ( (unary_expression "!bVar5" ! identifier) )) (compound_statement "{\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }" { (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (expression_statement "pbVar3 = param_1;" (assignment_expression "pbVar3 = param_1" identifier = identifier) ;) (expression_statement "pbVar4 = (byte *)"binary";" (assignment_expression "pbVar4 = (byte *)"binary"" identifier = (cast_expression "(byte *)"binary"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""binary"" " string_content "))) ;) (do_statement "do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);" do (compound_statement "{\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar3 < *pbVar4;" (assignment_expression "bVar7 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar5 = *pbVar3 == *pbVar4;" (assignment_expression "bVar5 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5)" ( identifier )) ;) (if_statement "if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }" if (parenthesized_expression "((!bVar7 && !bVar5) != bVar7)" ( (binary_expression "(!bVar7 && !bVar5) != bVar7" (parenthesized_expression "(!bVar7 && !bVar5)" ( (binary_expression "!bVar7 && !bVar5" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar5" ! identifier)) )) != identifier) )) (compound_statement "{\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }" { (expression_statement "uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );" (assignment_expression "uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       )" identifier = (call_expression "gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       )" identifier (argument_list "(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       )" ( (string_literal ""format \'%s\' not supported; treating as elf (supported formats: elf, binary)"" " string_content escape_sequence string_content escape_sequence string_content ") )))) ;) (expression_statement "FUN_0005ad00(uVar1,param_1);" (call_expression "FUN_0005ad00(uVar1,param_1)" identifier (argument_list "(uVar1,param_1)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nObject_format gold::General_options::string_to_object_format(char *arg)\n\n{\n  Object_format OVar1;\n  char *format;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = (byte *)arg;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  OVar1 = OBJECT_FORMAT_ELF;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = (byte *)arg;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      OVar1 = OBJECT_FORMAT_BINARY;\n      pbVar3 = (byte *)arg;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                );\n        gold_error(format,arg);\n        return OBJECT_FORMAT_ELF;\n      }\n    }\n  }\n  return OVar1;\n}\n\n" comment (function_definition "Object_format gold::General_options::string_to_object_format(char *arg)\n\n{\n  Object_format OVar1;\n  char *format;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = (byte *)arg;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  OVar1 = OBJECT_FORMAT_ELF;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = (byte *)arg;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      OVar1 = OBJECT_FORMAT_BINARY;\n      pbVar3 = (byte *)arg;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                );\n        gold_error(format,arg);\n        return OBJECT_FORMAT_ELF;\n      }\n    }\n  }\n  return OVar1;\n}" type_identifier (ERROR "gold::General_options::" identifier : : identifier : :) (function_declarator "string_to_object_format(char *arg)" identifier (parameter_list "(char *arg)" ( (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  Object_format OVar1;\n  char *format;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = (byte *)arg;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  OVar1 = OBJECT_FORMAT_ELF;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = (byte *)arg;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      OVar1 = OBJECT_FORMAT_BINARY;\n      pbVar3 = (byte *)arg;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                );\n        gold_error(format,arg);\n        return OBJECT_FORMAT_ELF;\n      }\n    }\n  }\n  return OVar1;\n}" { (declaration "Object_format OVar1;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "iVar2 = 3;" (assignment_expression "iVar2 = 3" identifier = number_literal) ;) (expression_statement "bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;" (assignment_expression "bVar5 = &stack0xfffffff0 < (undefined1 *)0xc" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0xc" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0xc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar7 = &stack0x00000000 == (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0x00000000 == (undefined1 *)0x1c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x1c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x1c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar3 = (byte *)arg;" (assignment_expression "pbVar3 = (byte *)arg" identifier = (cast_expression "(byte *)arg" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar4 = &DAT_00225a7a;" (assignment_expression "pbVar4 = &DAT_00225a7a" identifier = (pointer_expression "&DAT_00225a7a" & identifier)) ;) (do_statement "do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar3 < *pbVar4;" (assignment_expression "bVar5 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar7 = *pbVar3 == *pbVar4;" (assignment_expression "bVar7 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (expression_statement "OVar1 = OBJECT_FORMAT_ELF;" (assignment_expression "OVar1 = OBJECT_FORMAT_ELF" identifier = identifier) ;) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "bVar5 = (!bVar5 && !bVar7) == bVar5;" (assignment_expression "bVar5 = (!bVar5 && !bVar7) == bVar5" identifier = (binary_expression "(!bVar5 && !bVar7) == bVar5" (parenthesized_expression "(!bVar5 && !bVar7)" ( (binary_expression "!bVar5 && !bVar7" (unary_expression "!bVar5" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = (byte *)arg;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      OVar1 = OBJECT_FORMAT_BINARY;\n      pbVar3 = (byte *)arg;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                );\n        gold_error(format,arg);\n        return OBJECT_FORMAT_ELF;\n      }\n    }\n  }" if (parenthesized_expression "(!bVar5)" ( (unary_expression "!bVar5" ! identifier) )) (compound_statement "{\n    iVar2 = 8;\n    pbVar3 = (byte *)arg;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      OVar1 = OBJECT_FORMAT_BINARY;\n      pbVar3 = (byte *)arg;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                );\n        gold_error(format,arg);\n        return OBJECT_FORMAT_ELF;\n      }\n    }\n  }" { (expression_statement "iVar2 = 8;" (assignment_expression "iVar2 = 8" identifier = number_literal) ;) (expression_statement "pbVar3 = (byte *)arg;" (assignment_expression "pbVar3 = (byte *)arg" identifier = (cast_expression "(byte *)arg" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar4 = (byte *)"default";" (assignment_expression "pbVar4 = (byte *)"default"" identifier = (cast_expression "(byte *)"default"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""default"" " string_content "))) ;) (do_statement "do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);" do (compound_statement "{\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar6 = *pbVar3 < *pbVar4;" (assignment_expression "bVar6 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar5 = *pbVar3 == *pbVar4;" (assignment_expression "bVar5 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5)" ( identifier )) ;) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" identifier = false) ;) (expression_statement "bVar5 = (!bVar6 && !bVar5) == bVar6;" (assignment_expression "bVar5 = (!bVar6 && !bVar5) == bVar6" identifier = (binary_expression "(!bVar6 && !bVar5) == bVar6" (parenthesized_expression "(!bVar6 && !bVar5)" ( (binary_expression "!bVar6 && !bVar5" (unary_expression "!bVar6" ! identifier) && (unary_expression "!bVar5" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar5) {\n      iVar2 = 7;\n      OVar1 = OBJECT_FORMAT_BINARY;\n      pbVar3 = (byte *)arg;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                );\n        gold_error(format,arg);\n        return OBJECT_FORMAT_ELF;\n      }\n    }" if (parenthesized_expression "(!bVar5)" ( (unary_expression "!bVar5" ! identifier) )) (compound_statement "{\n      iVar2 = 7;\n      OVar1 = OBJECT_FORMAT_BINARY;\n      pbVar3 = (byte *)arg;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                );\n        gold_error(format,arg);\n        return OBJECT_FORMAT_ELF;\n      }\n    }" { (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (expression_statement "OVar1 = OBJECT_FORMAT_BINARY;" (assignment_expression "OVar1 = OBJECT_FORMAT_BINARY" identifier = identifier) ;) (expression_statement "pbVar3 = (byte *)arg;" (assignment_expression "pbVar3 = (byte *)arg" identifier = (cast_expression "(byte *)arg" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar4 = (byte *)"binary";" (assignment_expression "pbVar4 = (byte *)"binary"" identifier = (cast_expression "(byte *)"binary"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""binary"" " string_content "))) ;) (do_statement "do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);" do (compound_statement "{\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar3 < *pbVar4;" (assignment_expression "bVar7 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar5 = *pbVar3 == *pbVar4;" (assignment_expression "bVar5 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5)" ( identifier )) ;) (if_statement "if ((!bVar7 && !bVar5) != bVar7) {\n        format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                );\n        gold_error(format,arg);\n        return OBJECT_FORMAT_ELF;\n      }" if (parenthesized_expression "((!bVar7 && !bVar5) != bVar7)" ( (binary_expression "(!bVar7 && !bVar5) != bVar7" (parenthesized_expression "(!bVar7 && !bVar5)" ( (binary_expression "!bVar7 && !bVar5" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar5" ! identifier)) )) != identifier) )) (compound_statement "{\n        format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                );\n        gold_error(format,arg);\n        return OBJECT_FORMAT_ELF;\n      }" { (expression_statement "format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                );" (assignment_expression "format = (char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                )" identifier = (cast_expression "(char *)gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                )" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                )" identifier (argument_list "(\n                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                                )" ( (string_literal ""format \'%s\' not supported; treating as elf (supported formats: elf, binary)"" " string_content escape_sequence string_content escape_sequence string_content ") ))))) ;) (expression_statement "gold_error(format,arg);" (call_expression "gold_error(format,arg)" identifier (argument_list "(format,arg)" ( identifier , identifier ))) ;) (return_statement "return OBJECT_FORMAT_ELF;" return identifier ;) })) })) })) (return_statement "return OVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_000aa470(byte *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = param_1;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  uVar1 = 0;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_000aa470(byte *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = param_1;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  uVar1 = 0;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000aa470(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = param_1;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  uVar1 = 0;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "iVar2 = 3;" (assignment_expression "iVar2 = 3" identifier = number_literal) ;) (expression_statement "bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;" (assignment_expression "bVar5 = &stack0xfffffff0 < (undefined1 *)0xc" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0xc" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0xc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar7 = &stack0x00000000 == (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0x00000000 == (undefined1 *)0x1c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x1c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x1c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar3 = param_1;" (assignment_expression "pbVar3 = param_1" identifier = identifier) ;) (expression_statement "pbVar4 = &DAT_00225a7a;" (assignment_expression "pbVar4 = &DAT_00225a7a" identifier = (pointer_expression "&DAT_00225a7a" & identifier)) ;) (do_statement "do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar3 < *pbVar4;" (assignment_expression "bVar5 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar7 = *pbVar3 == *pbVar4;" (assignment_expression "bVar7 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "bVar5 = (!bVar5 && !bVar7) == bVar5;" (assignment_expression "bVar5 = (!bVar5 && !bVar7) == bVar5" identifier = (binary_expression "(!bVar5 && !bVar7) == bVar5" (parenthesized_expression "(!bVar5 && !bVar7)" ( (binary_expression "!bVar5 && !bVar7" (unary_expression "!bVar5" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }" if (parenthesized_expression "(!bVar5)" ( (unary_expression "!bVar5" ! identifier) )) (compound_statement "{\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }" { (expression_statement "iVar2 = 8;" (assignment_expression "iVar2 = 8" identifier = number_literal) ;) (expression_statement "pbVar3 = param_1;" (assignment_expression "pbVar3 = param_1" identifier = identifier) ;) (expression_statement "pbVar4 = (byte *)"default";" (assignment_expression "pbVar4 = (byte *)"default"" identifier = (cast_expression "(byte *)"default"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""default"" " string_content "))) ;) (do_statement "do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);" do (compound_statement "{\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar6 = *pbVar3 < *pbVar4;" (assignment_expression "bVar6 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar5 = *pbVar3 == *pbVar4;" (assignment_expression "bVar5 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5)" ( identifier )) ;) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" identifier = false) ;) (expression_statement "bVar5 = (!bVar6 && !bVar5) == bVar6;" (assignment_expression "bVar5 = (!bVar6 && !bVar5) == bVar6" identifier = (binary_expression "(!bVar6 && !bVar5) == bVar6" (parenthesized_expression "(!bVar6 && !bVar5)" ( (binary_expression "!bVar6 && !bVar5" (unary_expression "!bVar6" ! identifier) && (unary_expression "!bVar5" ! identifier)) )) == identifier)) ;) (if_statement "if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }" if (parenthesized_expression "(!bVar5)" ( (unary_expression "!bVar5" ! identifier) )) (compound_statement "{\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }" { (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (expression_statement "pbVar3 = param_1;" (assignment_expression "pbVar3 = param_1" identifier = identifier) ;) (expression_statement "pbVar4 = (byte *)"binary";" (assignment_expression "pbVar4 = (byte *)"binary"" identifier = (cast_expression "(byte *)"binary"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""binary"" " string_content "))) ;) (do_statement "do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);" do (compound_statement "{\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar3 < *pbVar4;" (assignment_expression "bVar7 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar5 = *pbVar3 == *pbVar4;" (assignment_expression "bVar5 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar5)" ( identifier )) ;) (if_statement "if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }" if (parenthesized_expression "((!bVar7 && !bVar5) != bVar7)" ( (binary_expression "(!bVar7 && !bVar5) != bVar7" (parenthesized_expression "(!bVar7 && !bVar5)" ( (binary_expression "!bVar7 && !bVar5" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar5" ! identifier)) )) != identifier) )) (compound_statement "{\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }" { (expression_statement "uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );" (assignment_expression "uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       )" identifier = (call_expression "gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       )" identifier (argument_list "(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       )" ( (string_literal ""format \'%s\' not supported; treating as elf (supported formats: elf, binary)"" " string_content escape_sequence string_content escape_sequence string_content ") )))) ;) (expression_statement "FUN_0005ad00(uVar1,param_1);" (call_expression "FUN_0005ad00(uVar1,param_1)" identifier (argument_list "(uVar1,param_1)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT)) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT)) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })) })) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_000aa470(byte *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = param_1;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  uVar1 = 0;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_000aa470(byte *param_1)" (identifier "FUN_000aa470") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  iVar2 = 3;\n  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;\n  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;\n  pbVar3 = param_1;\n  pbVar4 = &DAT_00225a7a;\n  do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);\n  uVar1 = 0;\n  bVar6 = false;\n  bVar5 = (!bVar5 && !bVar7) == bVar5;\n  if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "bool bVar5;" (primitive_type "bool") (identifier "bVar5") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (expression_statement "iVar2 = 3;" (assignment_expression "iVar2 = 3" (identifier "iVar2") (= "=") (number_literal "3")) (; ";")) (expression_statement "bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;" (assignment_expression "bVar5 = &stack0xfffffff0 < (undefined1 *)0xc" (identifier "bVar5") (= "=") (binary_expression "&stack0xfffffff0 < (undefined1 *)0xc" (pointer_expression "&stack0xfffffff0" (& "&") (identifier "stack0xfffffff0")) (< "<") (cast_expression "(undefined1 *)0xc" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xc")))) (; ";")) (expression_statement "bVar7 = &stack0x00000000 == (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0x00000000 == (undefined1 *)0x1c" (identifier "bVar7") (= "=") (binary_expression "&stack0x00000000 == (undefined1 *)0x1c" (pointer_expression "&stack0x00000000" (& "&") (identifier "stack0x00000000")) (== "==") (cast_expression "(undefined1 *)0x1c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1c")))) (; ";")) (expression_statement "pbVar3 = param_1;" (assignment_expression "pbVar3 = param_1" (identifier "pbVar3") (= "=") (identifier "param_1")) (; ";")) (expression_statement "pbVar4 = &DAT_00225a7a;" (assignment_expression "pbVar4 = &DAT_00225a7a" (identifier "pbVar4") (= "=") (pointer_expression "&DAT_00225a7a" (& "&") (identifier "DAT_00225a7a"))) (; ";")) (do_statement "do {\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  } while (bVar7);" (do "do") (compound_statement "{\n    if (iVar2 == 0) break;\n    iVar2 = iVar2 + -1;\n    bVar5 = *pbVar3 < *pbVar4;\n    bVar7 = *pbVar3 == *pbVar4;\n    pbVar3 = pbVar3 + 1;\n    pbVar4 = pbVar4 + 1;\n  }" ({ "{") (if_statement "if (iVar2 == 0) break;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar5 = *pbVar3 < *pbVar4;" (assignment_expression "bVar5 = *pbVar3 < *pbVar4" (identifier "bVar5") (= "=") (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (< "<") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")))) (; ";")) (expression_statement "bVar7 = *pbVar3 == *pbVar4;" (assignment_expression "bVar7 = *pbVar3 == *pbVar4" (identifier "bVar7") (= "=") (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (== "==") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")))) (; ";")) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" (identifier "bVar6") (= "=") (false "false")) (; ";")) (expression_statement "bVar5 = (!bVar5 && !bVar7) == bVar5;" (assignment_expression "bVar5 = (!bVar5 && !bVar7) == bVar5" (identifier "bVar5") (= "=") (binary_expression "(!bVar5 && !bVar7) == bVar5" (parenthesized_expression "(!bVar5 && !bVar7)" (( "(") (binary_expression "!bVar5 && !bVar7" (unary_expression "!bVar5" (! "!") (identifier "bVar5")) (&& "&&") (unary_expression "!bVar7" (! "!") (identifier "bVar7"))) () ")")) (== "==") (identifier "bVar5"))) (; ";")) (if_statement "if (!bVar5) {\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(!bVar5)" (( "(") (unary_expression "!bVar5" (! "!") (identifier "bVar5")) () ")")) (compound_statement "{\n    iVar2 = 8;\n    pbVar3 = param_1;\n    pbVar4 = (byte *)"default";\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);\n    bVar7 = false;\n    bVar5 = (!bVar6 && !bVar5) == bVar6;\n    if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar2 = 8;" (assignment_expression "iVar2 = 8" (identifier "iVar2") (= "=") (number_literal "8")) (; ";")) (expression_statement "pbVar3 = param_1;" (assignment_expression "pbVar3 = param_1" (identifier "pbVar3") (= "=") (identifier "param_1")) (; ";")) (expression_statement "pbVar4 = (byte *)"default";" (assignment_expression "pbVar4 = (byte *)"default"" (identifier "pbVar4") (= "=") (cast_expression "(byte *)"default"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""default"" (" """) (string_content "default") (" """)))) (; ";")) (do_statement "do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    } while (bVar5);" (do "do") (compound_statement "{\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < *pbVar4;\n      bVar5 = *pbVar3 == *pbVar4;\n      pbVar3 = pbVar3 + 1;\n      pbVar4 = pbVar4 + 1;\n    }" ({ "{") (if_statement "if (iVar2 == 0) break;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar6 = *pbVar3 < *pbVar4;" (assignment_expression "bVar6 = *pbVar3 < *pbVar4" (identifier "bVar6") (= "=") (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (< "<") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")))) (; ";")) (expression_statement "bVar5 = *pbVar3 == *pbVar4;" (assignment_expression "bVar5 = *pbVar3 == *pbVar4" (identifier "bVar5") (= "=") (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (== "==") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")))) (; ";")) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar5)" (( "(") (identifier "bVar5") () ")")) (; ";")) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" (identifier "bVar7") (= "=") (false "false")) (; ";")) (expression_statement "bVar5 = (!bVar6 && !bVar5) == bVar6;" (assignment_expression "bVar5 = (!bVar6 && !bVar5) == bVar6" (identifier "bVar5") (= "=") (binary_expression "(!bVar6 && !bVar5) == bVar6" (parenthesized_expression "(!bVar6 && !bVar5)" (( "(") (binary_expression "!bVar6 && !bVar5" (unary_expression "!bVar6" (! "!") (identifier "bVar6")) (&& "&&") (unary_expression "!bVar5" (! "!") (identifier "bVar5"))) () ")")) (== "==") (identifier "bVar6"))) (; ";")) (if_statement "if (!bVar5) {\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }" (if "if") (parenthesized_expression "(!bVar5)" (( "(") (unary_expression "!bVar5" (! "!") (identifier "bVar5")) () ")")) (compound_statement "{\n      iVar2 = 7;\n      uVar1 = 1;\n      pbVar3 = param_1;\n      pbVar4 = (byte *)"binary";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);\n      if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }\n    }" ({ "{") (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" (identifier "iVar2") (= "=") (number_literal "7")) (; ";")) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (expression_statement "pbVar3 = param_1;" (assignment_expression "pbVar3 = param_1" (identifier "pbVar3") (= "=") (identifier "param_1")) (; ";")) (expression_statement "pbVar4 = (byte *)"binary";" (assignment_expression "pbVar4 = (byte *)"binary"" (identifier "pbVar4") (= "=") (cast_expression "(byte *)"binary"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""binary"" (" """) (string_content "binary") (" """)))) (; ";")) (do_statement "do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      } while (bVar5);" (do "do") (compound_statement "{\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar7 = *pbVar3 < *pbVar4;\n        bVar5 = *pbVar3 == *pbVar4;\n        pbVar3 = pbVar3 + 1;\n        pbVar4 = pbVar4 + 1;\n      }" ({ "{") (if_statement "if (iVar2 == 0) break;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar7 = *pbVar3 < *pbVar4;" (assignment_expression "bVar7 = *pbVar3 < *pbVar4" (identifier "bVar7") (= "=") (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (< "<") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")))) (; ";")) (expression_statement "bVar5 = *pbVar3 == *pbVar4;" (assignment_expression "bVar5 = *pbVar3 == *pbVar4" (identifier "bVar5") (= "=") (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (== "==") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")))) (; ";")) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar5)" (( "(") (identifier "bVar5") () ")")) (; ";")) (if_statement "if ((!bVar7 && !bVar5) != bVar7) {\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }" (if "if") (parenthesized_expression "((!bVar7 && !bVar5) != bVar7)" (( "(") (binary_expression "(!bVar7 && !bVar5) != bVar7" (parenthesized_expression "(!bVar7 && !bVar5)" (( "(") (binary_expression "!bVar7 && !bVar5" (unary_expression "!bVar7" (! "!") (identifier "bVar7")) (&& "&&") (unary_expression "!bVar5" (! "!") (identifier "bVar5"))) () ")")) (!= "!=") (identifier "bVar7")) () ")")) (compound_statement "{\n        uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );\n        FUN_0005ad00(uVar1,param_1);\n        return 0;\n      }" ({ "{") (expression_statement "uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       );" (assignment_expression "uVar1 = gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       )" (identifier "uVar1") (= "=") (call_expression "gettext(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       )" (identifier "gettext") (argument_list "(\n                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"\n                       )" (( "(") (string_literal ""format \'%s\' not supported; treating as elf (supported formats: elf, binary)"" (" """) (string_content "format ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content " not supported; treating as elf (supported formats: elf, binary)") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0005ad00(uVar1,param_1);" (call_expression "FUN_0005ad00(uVar1,param_1)" (identifier "FUN_0005ad00") (argument_list "(uVar1,param_1)" (( "(") (identifier "uVar1") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

type_1 gold::General_options::function_1(char *arg)

{
  type_1 OVar1;
  char *format;
  int var_1;
  type_2 *var_2;
  type_2 *var_3;
  bool var_4;
  bool var_5;
  bool var_6;
  
  var_1 = 3;
  var_4 = &stack0xfffffff0 < (type_3 *)0xc;
  var_6 = &stack0x00000000 == (type_3 *)0x1c;
  var_2 = (type_2 *)arg;
  var_3 = &DAT_00225a7a;
  do {
    if (var_1 == 0) break;
    var_1 = var_1 + -1;
    var_4 = *var_2 < *var_3;
    var_6 = *var_2 == *var_3;
    var_2 = var_2 + 1;
    var_3 = var_3 + 1;
  } while (var_6);
  OVar1 = OBJECT_FORMAT_ELF;
  var_5 = false;
  var_4 = (!var_4 && !var_6) == var_4;
  if (!var_4) {
    var_1 = 8;
    var_2 = (type_2 *)arg;
    var_3 = (type_2 *)"default";
    do {
      if (var_1 == 0) break;
      var_1 = var_1 + -1;
      var_5 = *var_2 < *var_3;
      var_4 = *var_2 == *var_3;
      var_2 = var_2 + 1;
      var_3 = var_3 + 1;
    } while (var_4);
    var_6 = false;
    var_4 = (!var_5 && !var_4) == var_5;
    if (!var_4) {
      var_1 = 7;
      OVar1 = OBJECT_FORMAT_BINARY;
      var_2 = (type_2 *)arg;
      var_3 = (type_2 *)"binary";
      do {
        if (var_1 == 0) break;
        var_1 = var_1 + -1;
        var_6 = *var_2 < *var_3;
        var_4 = *var_2 == *var_3;
        var_2 = var_2 + 1;
        var_3 = var_3 + 1;
      } while (var_4);
      if ((!var_6 && !var_4) != var_6) {
        format = (char *)var_7(
                                "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"
                                );
        var_8(format,arg);
        return OBJECT_FORMAT_ELF;
      }
    }
  }
  return OVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier)))) (if_statement condition: (parenthesized_expression (unary_expression argument: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (string_literal (string_content))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier)))) (if_statement condition: (parenthesized_expression (unary_expression argument: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (string_literal (string_content))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement (number_literal)))))))) (return_statement (identifier)))))

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

undefined4 MASKED(byte *param_1)

{
  undefined4 uVar1;
  int iVar2;
  byte *pbVar3;
  byte *pbVar4;
  bool bVar5;
  bool bVar6;
  bool bVar7;
  
  iVar2 = 3;
  bVar5 = &stack0xfffffff0 < (undefined1 *)0xc;
  bVar7 = &stack0x00000000 == (undefined1 *)0x1c;
  pbVar3 = param_1;
  pbVar4 = &DAT_00225a7a;
  do {
    if (iVar2 == 0) break;
    iVar2 = iVar2 + -1;
    bVar5 = *pbVar3 < *pbVar4;
    bVar7 = *pbVar3 == *pbVar4;
    pbVar3 = pbVar3 + 1;
    pbVar4 = pbVar4 + 1;
  } while (bVar7);
  uVar1 = 0;
  bVar6 = false;
  bVar5 = (!bVar5 && !bVar7) == bVar5;
  if (!bVar5) {
    iVar2 = 8;
    pbVar3 = param_1;
    pbVar4 = (byte *)"default";
    do {
      if (iVar2 == 0) break;
      iVar2 = iVar2 + -1;
      bVar6 = *pbVar3 < *pbVar4;
      bVar5 = *pbVar3 == *pbVar4;
      pbVar3 = pbVar3 + 1;
      pbVar4 = pbVar4 + 1;
    } while (bVar5);
    bVar7 = false;
    bVar5 = (!bVar6 && !bVar5) == bVar6;
    if (!bVar5) {
      iVar2 = 7;
      uVar1 = 1;
      pbVar3 = param_1;
      pbVar4 = (byte *)"binary";
      do {
        if (iVar2 == 0) break;
        iVar2 = iVar2 + -1;
        bVar7 = *pbVar3 < *pbVar4;
        bVar5 = *pbVar3 == *pbVar4;
        pbVar3 = pbVar3 + 1;
        pbVar4 = pbVar4 + 1;
      } while (bVar5);
      if ((!bVar7 && !bVar5) != bVar7) {
        uVar1 = gettext(
                       "format \'%s\' not supported; treating as elf (supported formats: elf, binary)"
                       );
        FUN_0005ad00(uVar1,param_1);
        return 0;
      }
    }
  }
  return uVar1;
}

