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

bfd_architecture i386_arch(void)

{
  char *pcVar1;
  
  if (cpu_arch_isa == PROCESSOR_L1OM) {
    if (flag_code == CODE_64BIT) {
      return bfd_arch_l1om;
    }
    pcVar1 = "Intel L1OM is 64bit ELF only";
  }
  else if (cpu_arch_isa == PROCESSOR_K1OM) {
    if (flag_code == CODE_64BIT) {
      return bfd_arch_k1om;
    }
    pcVar1 = "Intel K1OM is 64bit ELF only";
  }
  else {
    if (cpu_arch_isa != PROCESSOR_IAMCU) {
      return bfd_arch_i386;
    }
    if (flag_code != CODE_64BIT) {
      return bfd_arch_iamcu;
    }
    pcVar1 = "Intel MCU is 32bit ELF only";
  }
  pcVar1 = (char *)dcgettext(0,pcVar1,5);
                    /* WARNING: Subroutine does not return */
  as_fatal(pcVar1);
}



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

undefined4 __regparm3 FUN_0004e260(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  char *pcVar1;
  undefined4 uVar2;
  
  if (DAT_00088e20 == 10) {
    if (DAT_00088f0c == 2) {
      return 9;
    }
    pcVar1 = "Intel L1OM is 64bit ELF only";
  }
  else if (DAT_00088e20 == 0xb) {
    if (DAT_00088f0c == 2) {
      return 10;
    }
    pcVar1 = "Intel K1OM is 64bit ELF only";
    param_3 = param_2;
  }
  else {
    if (DAT_00088e20 != 0xc) {
      return 8;
    }
    if (DAT_00088f0c != 2) {
      return 0xb;
    }
    pcVar1 = "Intel MCU is 32bit ELF only";
    param_3 = 0xc;
  }
  uVar2 = dcgettext(0,pcVar1,5,param_3);
                    /* WARNING: Subroutine does not return */
  FUN_0002be00(uVar2);
}


PUSH EBX
CALL 0x00016000
ADD EBX,0x31d9a
SUB ESP,0x8
MOV EAX,dword ptr [EBX + 0x8e20]
CMP EAX,0xa
JZ 0x0004e2b8
CMP EAX,0xb
JZ 0x0004e2a0
CMP EAX,0xc
JNZ 0x0004e2d0
CMP dword ptr [EBX + 0x8f0c],0x2
JZ 0x0004e2da
ADD ESP,0x8
MOV EAX,0xb
POP EBX
RET
CMP dword ptr [EBX + 0x8f0c],0x2
JNZ 0x0004e2f3
ADD ESP,0x8
MOV EAX,0xa
POP EBX
RET
CMP dword ptr [EBX + 0x8f0c],0x2
JNZ 0x0004e2fe
ADD ESP,0x8
MOV EAX,0x9
POP EBX
RET
ADD ESP,0x8
MOV EAX,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfffe3f8e]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
MOV dword ptr [ESP],EAX
CALL 0x0002be00
LEA EAX,[EBX + 0xfffe3f71]
PUSH EDX
PUSH 0x5
JMP 0x0004e2e3
LEA EAX,[EBX + 0xfffe3f54]
PUSH ECX
PUSH 0x5
JMP 0x0004e2e3
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_0004e260(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }\n  uVar2 = dcgettext(0,pcVar1,5,param_3);\n                    /* WARNING: Subroutine does not return */\n  FUN_0002be00(uVar2);\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_0004e260(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }\n  uVar2 = dcgettext(0,pcVar1,5,param_3);\n                    /* WARNING: Subroutine does not return */\n  FUN_0002be00(uVar2);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0004e260(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }\n  uVar2 = dcgettext(0,pcVar1,5,param_3);\n                    /* WARNING: Subroutine does not return */\n  FUN_0002be00(uVar2);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" if (parenthesized_expression "(DAT_00088e20 == 10)" ( (binary_expression "DAT_00088e20 == 10" identifier == number_literal) )) (compound_statement "{\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }" { (if_statement "if (DAT_00088f0c == 2) {\n      return 9;\n    }" if (parenthesized_expression "(DAT_00088f0c == 2)" ( (binary_expression "DAT_00088f0c == 2" identifier == number_literal) )) (compound_statement "{\n      return 9;\n    }" { (return_statement "return 9;" return number_literal ;) })) (expression_statement "pcVar1 = "Intel L1OM is 64bit ELF only";" (assignment_expression "pcVar1 = "Intel L1OM is 64bit ELF only"" identifier = (string_literal ""Intel L1OM is 64bit ELF only"" " string_content ")) ;) }) (else_clause "else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" else (if_statement "if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" if (parenthesized_expression "(DAT_00088e20 == 0xb)" ( (binary_expression "DAT_00088e20 == 0xb" identifier == number_literal) )) (compound_statement "{\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }" { (if_statement "if (DAT_00088f0c == 2) {\n      return 10;\n    }" if (parenthesized_expression "(DAT_00088f0c == 2)" ( (binary_expression "DAT_00088f0c == 2" identifier == number_literal) )) (compound_statement "{\n      return 10;\n    }" { (return_statement "return 10;" return number_literal ;) })) (expression_statement "pcVar1 = "Intel K1OM is 64bit ELF only";" (assignment_expression "pcVar1 = "Intel K1OM is 64bit ELF only"" identifier = (string_literal ""Intel K1OM is 64bit ELF only"" " string_content ")) ;) (expression_statement "param_3 = param_2;" (assignment_expression "param_3 = param_2" identifier = identifier) ;) }) (else_clause "else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" else (compound_statement "{\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" { (if_statement "if (DAT_00088e20 != 0xc) {\n      return 8;\n    }" if (parenthesized_expression "(DAT_00088e20 != 0xc)" ( (binary_expression "DAT_00088e20 != 0xc" identifier != number_literal) )) (compound_statement "{\n      return 8;\n    }" { (return_statement "return 8;" return number_literal ;) })) (if_statement "if (DAT_00088f0c != 2) {\n      return 0xb;\n    }" if (parenthesized_expression "(DAT_00088f0c != 2)" ( (binary_expression "DAT_00088f0c != 2" identifier != number_literal) )) (compound_statement "{\n      return 0xb;\n    }" { (return_statement "return 0xb;" return number_literal ;) })) (expression_statement "pcVar1 = "Intel MCU is 32bit ELF only";" (assignment_expression "pcVar1 = "Intel MCU is 32bit ELF only"" identifier = (string_literal ""Intel MCU is 32bit ELF only"" " string_content ")) ;) (expression_statement "param_3 = 0xc;" (assignment_expression "param_3 = 0xc" identifier = number_literal) ;) }))))) (expression_statement "uVar2 = dcgettext(0,pcVar1,5,param_3);" (assignment_expression "uVar2 = dcgettext(0,pcVar1,5,param_3)" identifier = (call_expression "dcgettext(0,pcVar1,5,param_3)" identifier (argument_list "(0,pcVar1,5,param_3)" ( number_literal , identifier , number_literal , identifier )))) ;) comment (expression_statement "FUN_0002be00(uVar2);" (call_expression "FUN_0002be00(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_architecture i386_arch(void)\n\n{\n  char *pcVar1;\n  \n  if (cpu_arch_isa == PROCESSOR_L1OM) {\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_l1om;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (cpu_arch_isa == PROCESSOR_K1OM) {\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_k1om;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n  }\n  else {\n    if (cpu_arch_isa != PROCESSOR_IAMCU) {\n      return bfd_arch_i386;\n    }\n    if (flag_code != CODE_64BIT) {\n      return bfd_arch_iamcu;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n                    /* WARNING: Subroutine does not return */\n  as_fatal(pcVar1);\n}\n\n" comment comment (function_definition "bfd_architecture i386_arch(void)\n\n{\n  char *pcVar1;\n  \n  if (cpu_arch_isa == PROCESSOR_L1OM) {\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_l1om;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (cpu_arch_isa == PROCESSOR_K1OM) {\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_k1om;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n  }\n  else {\n    if (cpu_arch_isa != PROCESSOR_IAMCU) {\n      return bfd_arch_i386;\n    }\n    if (flag_code != CODE_64BIT) {\n      return bfd_arch_iamcu;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n                    /* WARNING: Subroutine does not return */\n  as_fatal(pcVar1);\n}" type_identifier (function_declarator "i386_arch(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  \n  if (cpu_arch_isa == PROCESSOR_L1OM) {\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_l1om;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (cpu_arch_isa == PROCESSOR_K1OM) {\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_k1om;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n  }\n  else {\n    if (cpu_arch_isa != PROCESSOR_IAMCU) {\n      return bfd_arch_i386;\n    }\n    if (flag_code != CODE_64BIT) {\n      return bfd_arch_iamcu;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n                    /* WARNING: Subroutine does not return */\n  as_fatal(pcVar1);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (cpu_arch_isa == PROCESSOR_L1OM) {\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_l1om;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (cpu_arch_isa == PROCESSOR_K1OM) {\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_k1om;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n  }\n  else {\n    if (cpu_arch_isa != PROCESSOR_IAMCU) {\n      return bfd_arch_i386;\n    }\n    if (flag_code != CODE_64BIT) {\n      return bfd_arch_iamcu;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n  }" if (parenthesized_expression "(cpu_arch_isa == PROCESSOR_L1OM)" ( (binary_expression "cpu_arch_isa == PROCESSOR_L1OM" identifier == identifier) )) (compound_statement "{\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_l1om;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }" { (if_statement "if (flag_code == CODE_64BIT) {\n      return bfd_arch_l1om;\n    }" if (parenthesized_expression "(flag_code == CODE_64BIT)" ( (binary_expression "flag_code == CODE_64BIT" identifier == identifier) )) (compound_statement "{\n      return bfd_arch_l1om;\n    }" { (return_statement "return bfd_arch_l1om;" return identifier ;) })) (expression_statement "pcVar1 = "Intel L1OM is 64bit ELF only";" (assignment_expression "pcVar1 = "Intel L1OM is 64bit ELF only"" identifier = (string_literal ""Intel L1OM is 64bit ELF only"" " string_content ")) ;) }) (else_clause "else if (cpu_arch_isa == PROCESSOR_K1OM) {\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_k1om;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n  }\n  else {\n    if (cpu_arch_isa != PROCESSOR_IAMCU) {\n      return bfd_arch_i386;\n    }\n    if (flag_code != CODE_64BIT) {\n      return bfd_arch_iamcu;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n  }" else (if_statement "if (cpu_arch_isa == PROCESSOR_K1OM) {\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_k1om;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n  }\n  else {\n    if (cpu_arch_isa != PROCESSOR_IAMCU) {\n      return bfd_arch_i386;\n    }\n    if (flag_code != CODE_64BIT) {\n      return bfd_arch_iamcu;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n  }" if (parenthesized_expression "(cpu_arch_isa == PROCESSOR_K1OM)" ( (binary_expression "cpu_arch_isa == PROCESSOR_K1OM" identifier == identifier) )) (compound_statement "{\n    if (flag_code == CODE_64BIT) {\n      return bfd_arch_k1om;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n  }" { (if_statement "if (flag_code == CODE_64BIT) {\n      return bfd_arch_k1om;\n    }" if (parenthesized_expression "(flag_code == CODE_64BIT)" ( (binary_expression "flag_code == CODE_64BIT" identifier == identifier) )) (compound_statement "{\n      return bfd_arch_k1om;\n    }" { (return_statement "return bfd_arch_k1om;" return identifier ;) })) (expression_statement "pcVar1 = "Intel K1OM is 64bit ELF only";" (assignment_expression "pcVar1 = "Intel K1OM is 64bit ELF only"" identifier = (string_literal ""Intel K1OM is 64bit ELF only"" " string_content ")) ;) }) (else_clause "else {\n    if (cpu_arch_isa != PROCESSOR_IAMCU) {\n      return bfd_arch_i386;\n    }\n    if (flag_code != CODE_64BIT) {\n      return bfd_arch_iamcu;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n  }" else (compound_statement "{\n    if (cpu_arch_isa != PROCESSOR_IAMCU) {\n      return bfd_arch_i386;\n    }\n    if (flag_code != CODE_64BIT) {\n      return bfd_arch_iamcu;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n  }" { (if_statement "if (cpu_arch_isa != PROCESSOR_IAMCU) {\n      return bfd_arch_i386;\n    }" if (parenthesized_expression "(cpu_arch_isa != PROCESSOR_IAMCU)" ( (binary_expression "cpu_arch_isa != PROCESSOR_IAMCU" identifier != identifier) )) (compound_statement "{\n      return bfd_arch_i386;\n    }" { (return_statement "return bfd_arch_i386;" return identifier ;) })) (if_statement "if (flag_code != CODE_64BIT) {\n      return bfd_arch_iamcu;\n    }" if (parenthesized_expression "(flag_code != CODE_64BIT)" ( (binary_expression "flag_code != CODE_64BIT" identifier != identifier) )) (compound_statement "{\n      return bfd_arch_iamcu;\n    }" { (return_statement "return bfd_arch_iamcu;" return identifier ;) })) (expression_statement "pcVar1 = "Intel MCU is 32bit ELF only";" (assignment_expression "pcVar1 = "Intel MCU is 32bit ELF only"" identifier = (string_literal ""Intel MCU is 32bit ELF only"" " string_content ")) ;) }))))) (expression_statement "pcVar1 = (char *)dcgettext(0,pcVar1,5);" (assignment_expression "pcVar1 = (char *)dcgettext(0,pcVar1,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar1,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar1,5)" identifier (argument_list "(0,pcVar1,5)" ( number_literal , identifier , number_literal ))))) ;) comment (expression_statement "as_fatal(pcVar1);" (call_expression "as_fatal(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) })))
(translation_unit "undefined4 __regparm3 FUN_0004e260(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }\n  uVar2 = dcgettext(0,pcVar1,5,param_3);\n                    \n  FUN_0002be00(uVar2);\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0004e260(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }\n  uVar2 = dcgettext(0,pcVar1,5,param_3);\n                    \n  FUN_0002be00(uVar2);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0004e260(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }\n  uVar2 = dcgettext(0,pcVar1,5,param_3);\n                    \n  FUN_0002be00(uVar2);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" if (parenthesized_expression "(DAT_00088e20 == 10)" ( (binary_expression "DAT_00088e20 == 10" identifier == number_literal) )) (compound_statement "{\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }" { (if_statement "if (DAT_00088f0c == 2) {\n      return 9;\n    }" if (parenthesized_expression "(DAT_00088f0c == 2)" ( (binary_expression "DAT_00088f0c == 2" identifier == number_literal) )) (compound_statement "{\n      return 9;\n    }" { (return_statement "return 9;" return number_literal ;) })) (expression_statement "pcVar1 = "Intel L1OM is 64bit ELF only";" (assignment_expression "pcVar1 = "Intel L1OM is 64bit ELF only"" identifier = (string_literal ""Intel L1OM is 64bit ELF only"" " string_content ")) ;) }) (else_clause "else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" else (if_statement "if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" if (parenthesized_expression "(DAT_00088e20 == 0xb)" ( (binary_expression "DAT_00088e20 == 0xb" identifier == number_literal) )) (compound_statement "{\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }" { (if_statement "if (DAT_00088f0c == 2) {\n      return 10;\n    }" if (parenthesized_expression "(DAT_00088f0c == 2)" ( (binary_expression "DAT_00088f0c == 2" identifier == number_literal) )) (compound_statement "{\n      return 10;\n    }" { (return_statement "return 10;" return number_literal ;) })) (expression_statement "pcVar1 = "Intel K1OM is 64bit ELF only";" (assignment_expression "pcVar1 = "Intel K1OM is 64bit ELF only"" identifier = (string_literal ""Intel K1OM is 64bit ELF only"" " string_content ")) ;) (expression_statement "param_3 = param_2;" (assignment_expression "param_3 = param_2" identifier = identifier) ;) }) (else_clause "else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" else (compound_statement "{\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" { (if_statement "if (DAT_00088e20 != 0xc) {\n      return 8;\n    }" if (parenthesized_expression "(DAT_00088e20 != 0xc)" ( (binary_expression "DAT_00088e20 != 0xc" identifier != number_literal) )) (compound_statement "{\n      return 8;\n    }" { (return_statement "return 8;" return number_literal ;) })) (if_statement "if (DAT_00088f0c != 2) {\n      return 0xb;\n    }" if (parenthesized_expression "(DAT_00088f0c != 2)" ( (binary_expression "DAT_00088f0c != 2" identifier != number_literal) )) (compound_statement "{\n      return 0xb;\n    }" { (return_statement "return 0xb;" return number_literal ;) })) (expression_statement "pcVar1 = "Intel MCU is 32bit ELF only";" (assignment_expression "pcVar1 = "Intel MCU is 32bit ELF only"" identifier = (string_literal ""Intel MCU is 32bit ELF only"" " string_content ")) ;) (expression_statement "param_3 = 0xc;" (assignment_expression "param_3 = 0xc" identifier = number_literal) ;) }))))) (expression_statement "uVar2 = dcgettext(0,pcVar1,5,param_3);" (assignment_expression "uVar2 = dcgettext(0,pcVar1,5,param_3)" identifier = (call_expression "dcgettext(0,pcVar1,5,param_3)" identifier (argument_list "(0,pcVar1,5,param_3)" ( number_literal , identifier , number_literal , identifier )))) ;) (expression_statement "FUN_0002be00(uVar2);" (call_expression "FUN_0002be00(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })))
(function_definition "undefined4 __regparm3 FUN_0004e260(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }\n  uVar2 = dcgettext(0,pcVar1,5,param_3);\n                    \n  FUN_0002be00(uVar2);\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0004e260(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0004e260") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }\n  uVar2 = dcgettext(0,pcVar1,5,param_3);\n                    \n  FUN_0002be00(uVar2);\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (DAT_00088e20 == 10) {\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }\n  else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" (if "if") (parenthesized_expression "(DAT_00088e20 == 10)" (( "(") (binary_expression "DAT_00088e20 == 10" (identifier "DAT_00088e20") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n    if (DAT_00088f0c == 2) {\n      return 9;\n    }\n    pcVar1 = "Intel L1OM is 64bit ELF only";\n  }" ({ "{") (if_statement "if (DAT_00088f0c == 2) {\n      return 9;\n    }" (if "if") (parenthesized_expression "(DAT_00088f0c == 2)" (( "(") (binary_expression "DAT_00088f0c == 2" (identifier "DAT_00088f0c") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      return 9;\n    }" ({ "{") (return_statement "return 9;" (return "return") (number_literal "9") (; ";")) (} "}"))) (expression_statement "pcVar1 = "Intel L1OM is 64bit ELF only";" (assignment_expression "pcVar1 = "Intel L1OM is 64bit ELF only"" (identifier "pcVar1") (= "=") (string_literal ""Intel L1OM is 64bit ELF only"" (" """) (string_content "Intel L1OM is 64bit ELF only") (" """))) (; ";")) (} "}")) (else_clause "else if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" (else "else") (if_statement "if (DAT_00088e20 == 0xb) {\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }\n  else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" (if "if") (parenthesized_expression "(DAT_00088e20 == 0xb)" (( "(") (binary_expression "DAT_00088e20 == 0xb" (identifier "DAT_00088e20") (== "==") (number_literal "0xb")) () ")")) (compound_statement "{\n    if (DAT_00088f0c == 2) {\n      return 10;\n    }\n    pcVar1 = "Intel K1OM is 64bit ELF only";\n    param_3 = param_2;\n  }" ({ "{") (if_statement "if (DAT_00088f0c == 2) {\n      return 10;\n    }" (if "if") (parenthesized_expression "(DAT_00088f0c == 2)" (( "(") (binary_expression "DAT_00088f0c == 2" (identifier "DAT_00088f0c") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      return 10;\n    }" ({ "{") (return_statement "return 10;" (return "return") (number_literal "10") (; ";")) (} "}"))) (expression_statement "pcVar1 = "Intel K1OM is 64bit ELF only";" (assignment_expression "pcVar1 = "Intel K1OM is 64bit ELF only"" (identifier "pcVar1") (= "=") (string_literal ""Intel K1OM is 64bit ELF only"" (" """) (string_content "Intel K1OM is 64bit ELF only") (" """))) (; ";")) (expression_statement "param_3 = param_2;" (assignment_expression "param_3 = param_2" (identifier "param_3") (= "=") (identifier "param_2")) (; ";")) (} "}")) (else_clause "else {\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" (else "else") (compound_statement "{\n    if (DAT_00088e20 != 0xc) {\n      return 8;\n    }\n    if (DAT_00088f0c != 2) {\n      return 0xb;\n    }\n    pcVar1 = "Intel MCU is 32bit ELF only";\n    param_3 = 0xc;\n  }" ({ "{") (if_statement "if (DAT_00088e20 != 0xc) {\n      return 8;\n    }" (if "if") (parenthesized_expression "(DAT_00088e20 != 0xc)" (( "(") (binary_expression "DAT_00088e20 != 0xc" (identifier "DAT_00088e20") (!= "!=") (number_literal "0xc")) () ")")) (compound_statement "{\n      return 8;\n    }" ({ "{") (return_statement "return 8;" (return "return") (number_literal "8") (; ";")) (} "}"))) (if_statement "if (DAT_00088f0c != 2) {\n      return 0xb;\n    }" (if "if") (parenthesized_expression "(DAT_00088f0c != 2)" (( "(") (binary_expression "DAT_00088f0c != 2" (identifier "DAT_00088f0c") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n      return 0xb;\n    }" ({ "{") (return_statement "return 0xb;" (return "return") (number_literal "0xb") (; ";")) (} "}"))) (expression_statement "pcVar1 = "Intel MCU is 32bit ELF only";" (assignment_expression "pcVar1 = "Intel MCU is 32bit ELF only"" (identifier "pcVar1") (= "=") (string_literal ""Intel MCU is 32bit ELF only"" (" """) (string_content "Intel MCU is 32bit ELF only") (" """))) (; ";")) (expression_statement "param_3 = 0xc;" (assignment_expression "param_3 = 0xc" (identifier "param_3") (= "=") (number_literal "0xc")) (; ";")) (} "}")))))) (expression_statement "uVar2 = dcgettext(0,pcVar1,5,param_3);" (assignment_expression "uVar2 = dcgettext(0,pcVar1,5,param_3)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,pcVar1,5,param_3)" (identifier "dcgettext") (argument_list "(0,pcVar1,5,param_3)" (( "(") (number_literal "0") (, ",") (identifier "pcVar1") (, ",") (number_literal "5") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "FUN_0002be00(uVar2);" (call_expression "FUN_0002be00(uVar2)" (identifier "FUN_0002be00") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (} "}")))

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

type_1 function_1(void)

{
  char *pcVar1;
  
  if (var_1 == var_2) {
    if (var_3 == var_4) {
      return bfd_arch_l1om;
    }
    pcVar1 = "Intel L1OM is 64bit ELF only";
  }
  else if (var_1 == var_5) {
    if (var_3 == var_4) {
      return bfd_arch_k1om;
    }
    pcVar1 = "Intel K1OM is 64bit ELF only";
  }
  else {
    if (var_1 != var_6) {
      return bfd_arch_i386;
    }
    if (var_3 != var_4) {
      return bfd_arch_iamcu;
    }
    pcVar1 = "Intel MCU is 32bit ELF only";
  }
  pcVar1 = (char *)var_7(0,pcVar1,5);
                    /* WARNING: Subroutine does not return */
  var_8(pcVar1);
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (number_literal) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))))

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

undefined4 __regparm3 MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  char *pcVar1;
  undefined4 uVar2;
  
  if (DAT_00088e20 == 10) {
    if (DAT_00088f0c == 2) {
      return 9;
    }
    pcVar1 = "Intel L1OM is 64bit ELF only";
  }
  else if (DAT_00088e20 == 0xb) {
    if (DAT_00088f0c == 2) {
      return 10;
    }
    pcVar1 = "Intel K1OM is 64bit ELF only";
    param_3 = param_2;
  }
  else {
    if (DAT_00088e20 != 0xc) {
      return 8;
    }
    if (DAT_00088f0c != 2) {
      return 0xb;
    }
    pcVar1 = "Intel MCU is 32bit ELF only";
    param_3 = 0xc;
  }
  uVar2 = dcgettext(0,pcVar1,5,param_3);
                    /* WARNING: Subroutine does not return */
  FUN_0002be00(uVar2);
}

