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

int need_pa11_opcode(void)

{
  uint uVar1;
  bfd_boolean bVar2;
  char *format;
  
  uVar1 = pa_number & 0x80;
  if ((uVar1 != 0) && ((the_insn.fpof1 != DBL || (uVar1 = 0, the_insn.fpof2 != DBL)))) {
    uVar1 = bfd_get_mach(stdoutput);
    if (uVar1 < 0xb) {
      bVar2 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb);
      if (bVar2 == 0) {
        format = (char *)dcgettext(0,"could not update architecture and machine",5);
        as_warn(format);
      }
    }
    uVar1 = 1;
  }
  return uVar1;
}



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

uint FUN_000433a0(void)

{
  uint uVar1;
  int iVar2;
  undefined4 uVar3;
  
  uVar1 = DAT_00083ba8 & 0x80;
  if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {
    uVar1 = bfd_get_mach(DAT_00083ec4);
    if (uVar1 < 0xb) {
      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);
      if (iVar2 == 0) {
        uVar3 = dcgettext(0,"could not update architecture and machine",5);
        FUN_0002d580(uVar3);
      }
    }
    uVar1 = 1;
  }
  return uVar1;
}


PUSH ESI
PUSH EBX
CALL 0x00019010
ADD EBX,0x37c59
SUB ESP,0x4
MOV EAX,dword ptr [EBX + 0x8ba8]
AND EAX,0x80
JZ 0x000433ee
CMP dword ptr [EBX + 0x8bf8],0x1
JNZ 0x000433d1
XOR EAX,EAX
CMP dword ptr [EBX + 0x8bfc],0x1
JZ 0x000433ee
LEA ESI,[EBX + 0x8ec4]
SUB ESP,0xc
PUSH dword ptr [ESI]
CALL 0x000174f0
ADD ESP,0x10
CMP EAX,0xa
JBE 0x000433f8
MOV EAX,0x1
ADD ESP,0x4
POP EBX
POP ESI
RET
MOV EAX,dword ptr [ESI]
SUB ESP,0x4
MOV EDX,dword ptr [EAX + 0x4]
PUSH 0xb
PUSH 0x15
PUSH EAX
CALL dword ptr [EDX + 0x154]
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000433e9
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe17d8]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000171a0
MOV dword ptr [ESP],EAX
CALL 0x0002d580
ADD ESP,0x10
JMP 0x000433e9
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_000433a0(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = DAT_00083ba8 & 0x80;\n  if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}\n\n" comment (function_definition "uint FUN_000433a0(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = DAT_00083ba8 & 0x80;\n  if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000433a0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = DAT_00083ba8 & 0x80;\n  if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar1 = DAT_00083ba8 & 0x80;" (assignment_expression "uVar1 = DAT_00083ba8 & 0x80" identifier = (binary_expression "DAT_00083ba8 & 0x80" identifier & number_literal)) ;) (if_statement "if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }" if (parenthesized_expression "((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1))))" ( (binary_expression "(uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))" (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))" ( (parenthesized_expression "(DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1))" ( (binary_expression "DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)" (binary_expression "DAT_00083bf8 != 1" identifier != number_literal) || (parenthesized_expression "(uVar1 = 0, DAT_00083bfc != 1)" ( (comma_expression "uVar1 = 0, DAT_00083bfc != 1" (assignment_expression "uVar1 = 0" identifier = number_literal) , (binary_expression "DAT_00083bfc != 1" identifier != number_literal)) ))) )) ))) )) (compound_statement "{\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }" { (expression_statement "uVar1 = bfd_get_mach(DAT_00083ec4);" (assignment_expression "uVar1 = bfd_get_mach(DAT_00083ec4)" identifier = (call_expression "bfd_get_mach(DAT_00083ec4)" identifier (argument_list "(DAT_00083ec4)" ( identifier )))) ;) (if_statement "if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }" if (parenthesized_expression "(uVar1 < 0xb)" ( (binary_expression "uVar1 < 0xb" identifier < number_literal) )) (compound_statement "{\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }" { (expression_statement "iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);" (assignment_expression "iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb)" identifier = (call_expression "(**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))" ( (pointer_expression "**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154)" * (pointer_expression "*(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154)" * (cast_expression "(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00083ec4 + 4) + 0x154)" ( (binary_expression "*(int *)(DAT_00083ec4 + 4) + 0x154" (pointer_expression "*(int *)(DAT_00083ec4 + 4)" * (cast_expression "(int *)(DAT_00083ec4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00083ec4 + 4)" ( (binary_expression "DAT_00083ec4 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_00083ec4,0x15,0xb)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }" { (expression_statement "uVar3 = dcgettext(0,"could not update architecture and machine",5);" (assignment_expression "uVar3 = dcgettext(0,"could not update architecture and machine",5)" identifier = (call_expression "dcgettext(0,"could not update architecture and machine",5)" identifier (argument_list "(0,"could not update architecture and machine",5)" ( number_literal , (string_literal ""could not update architecture and machine"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002d580(uVar3);" (call_expression "FUN_0002d580(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) })) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = 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/* WARNING: Unknown calling convention */\n\nint need_pa11_opcode(void)\n\n{\n  uint uVar1;\n  bfd_boolean bVar2;\n  char *format;\n  \n  uVar1 = pa_number & 0x80;\n  if ((uVar1 != 0) && ((the_insn.fpof1 != DBL || (uVar1 = 0, the_insn.fpof2 != DBL)))) {\n    uVar1 = bfd_get_mach(stdoutput);\n    if (uVar1 < 0xb) {\n      bVar2 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb);\n      if (bVar2 == 0) {\n        format = (char *)dcgettext(0,"could not update architecture and machine",5);\n        as_warn(format);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}\n\n" comment comment (function_definition "int need_pa11_opcode(void)\n\n{\n  uint uVar1;\n  bfd_boolean bVar2;\n  char *format;\n  \n  uVar1 = pa_number & 0x80;\n  if ((uVar1 != 0) && ((the_insn.fpof1 != DBL || (uVar1 = 0, the_insn.fpof2 != DBL)))) {\n    uVar1 = bfd_get_mach(stdoutput);\n    if (uVar1 < 0xb) {\n      bVar2 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb);\n      if (bVar2 == 0) {\n        format = (char *)dcgettext(0,"could not update architecture and machine",5);\n        as_warn(format);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}" primitive_type (function_declarator "need_pa11_opcode(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  bfd_boolean bVar2;\n  char *format;\n  \n  uVar1 = pa_number & 0x80;\n  if ((uVar1 != 0) && ((the_insn.fpof1 != DBL || (uVar1 = 0, the_insn.fpof2 != DBL)))) {\n    uVar1 = bfd_get_mach(stdoutput);\n    if (uVar1 < 0xb) {\n      bVar2 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb);\n      if (bVar2 == 0) {\n        format = (char *)dcgettext(0,"could not update architecture and machine",5);\n        as_warn(format);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "bfd_boolean bVar2;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (expression_statement "uVar1 = pa_number & 0x80;" (assignment_expression "uVar1 = pa_number & 0x80" identifier = (binary_expression "pa_number & 0x80" identifier & number_literal)) ;) (if_statement "if ((uVar1 != 0) && ((the_insn.fpof1 != DBL || (uVar1 = 0, the_insn.fpof2 != DBL)))) {\n    uVar1 = bfd_get_mach(stdoutput);\n    if (uVar1 < 0xb) {\n      bVar2 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb);\n      if (bVar2 == 0) {\n        format = (char *)dcgettext(0,"could not update architecture and machine",5);\n        as_warn(format);\n      }\n    }\n    uVar1 = 1;\n  }" if (parenthesized_expression "((uVar1 != 0) && ((the_insn.fpof1 != DBL || (uVar1 = 0, the_insn.fpof2 != DBL))))" ( (binary_expression "(uVar1 != 0) && ((the_insn.fpof1 != DBL || (uVar1 = 0, the_insn.fpof2 != DBL)))" (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((the_insn.fpof1 != DBL || (uVar1 = 0, the_insn.fpof2 != DBL)))" ( (parenthesized_expression "(the_insn.fpof1 != DBL || (uVar1 = 0, the_insn.fpof2 != DBL))" ( (binary_expression "the_insn.fpof1 != DBL || (uVar1 = 0, the_insn.fpof2 != DBL)" (binary_expression "the_insn.fpof1 != DBL" (field_expression "the_insn.fpof1" identifier . field_identifier) != identifier) || (parenthesized_expression "(uVar1 = 0, the_insn.fpof2 != DBL)" ( (comma_expression "uVar1 = 0, the_insn.fpof2 != DBL" (assignment_expression "uVar1 = 0" identifier = number_literal) , (binary_expression "the_insn.fpof2 != DBL" (field_expression "the_insn.fpof2" identifier . field_identifier) != identifier)) ))) )) ))) )) (compound_statement "{\n    uVar1 = bfd_get_mach(stdoutput);\n    if (uVar1 < 0xb) {\n      bVar2 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb);\n      if (bVar2 == 0) {\n        format = (char *)dcgettext(0,"could not update architecture and machine",5);\n        as_warn(format);\n      }\n    }\n    uVar1 = 1;\n  }" { (expression_statement "uVar1 = bfd_get_mach(stdoutput);" (assignment_expression "uVar1 = bfd_get_mach(stdoutput)" identifier = (call_expression "bfd_get_mach(stdoutput)" identifier (argument_list "(stdoutput)" ( identifier )))) ;) (if_statement "if (uVar1 < 0xb) {\n      bVar2 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb);\n      if (bVar2 == 0) {\n        format = (char *)dcgettext(0,"could not update architecture and machine",5);\n        as_warn(format);\n      }\n    }" if (parenthesized_expression "(uVar1 < 0xb)" ( (binary_expression "uVar1 < 0xb" identifier < number_literal) )) (compound_statement "{\n      bVar2 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb);\n      if (bVar2 == 0) {\n        format = (char *)dcgettext(0,"could not update architecture and machine",5);\n        as_warn(format);\n      }\n    }" { (expression_statement "bVar2 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb);" (assignment_expression "bVar2 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb)" identifier = (call_expression "(*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb)" (parenthesized_expression "(*stdoutput->xvec->_bfd_set_arch_mach)" ( (pointer_expression "*stdoutput->xvec->_bfd_set_arch_mach" * (field_expression "stdoutput->xvec->_bfd_set_arch_mach" (field_expression "stdoutput->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(stdoutput,bfd_arch_hppa,0xb)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (bVar2 == 0) {\n        format = (char *)dcgettext(0,"could not update architecture and machine",5);\n        as_warn(format);\n      }" if (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        format = (char *)dcgettext(0,"could not update architecture and machine",5);\n        as_warn(format);\n      }" { (expression_statement "format = (char *)dcgettext(0,"could not update architecture and machine",5);" (assignment_expression "format = (char *)dcgettext(0,"could not update architecture and machine",5)" identifier = (cast_expression "(char *)dcgettext(0,"could not update architecture and machine",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"could not update architecture and machine",5)" identifier (argument_list "(0,"could not update architecture and machine",5)" ( number_literal , (string_literal ""could not update architecture and machine"" " string_content ") , number_literal ))))) ;) (expression_statement "as_warn(format);" (call_expression "as_warn(format)" identifier (argument_list "(format)" ( identifier ))) ;) })) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint FUN_000433a0(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = DAT_00083ba8 & 0x80;\n  if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_000433a0(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = DAT_00083ba8 & 0x80;\n  if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000433a0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = DAT_00083ba8 & 0x80;\n  if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar1 = DAT_00083ba8 & 0x80;" (assignment_expression "uVar1 = DAT_00083ba8 & 0x80" identifier = (binary_expression "DAT_00083ba8 & 0x80" identifier & number_literal)) ;) (if_statement "if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }" if (parenthesized_expression "((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1))))" ( (binary_expression "(uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))" (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))" ( (parenthesized_expression "(DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1))" ( (binary_expression "DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)" (binary_expression "DAT_00083bf8 != 1" identifier != number_literal) || (parenthesized_expression "(uVar1 = 0, DAT_00083bfc != 1)" ( (comma_expression "uVar1 = 0, DAT_00083bfc != 1" (assignment_expression "uVar1 = 0" identifier = number_literal) , (binary_expression "DAT_00083bfc != 1" identifier != number_literal)) ))) )) ))) )) (compound_statement "{\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }" { (expression_statement "uVar1 = bfd_get_mach(DAT_00083ec4);" (assignment_expression "uVar1 = bfd_get_mach(DAT_00083ec4)" identifier = (call_expression "bfd_get_mach(DAT_00083ec4)" identifier (argument_list "(DAT_00083ec4)" ( identifier )))) ;) (if_statement "if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }" if (parenthesized_expression "(uVar1 < 0xb)" ( (binary_expression "uVar1 < 0xb" identifier < number_literal) )) (compound_statement "{\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }" { (expression_statement "iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);" (assignment_expression "iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb)" identifier = (call_expression "(**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))" ( (pointer_expression "**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154)" * (pointer_expression "*(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154)" * (cast_expression "(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00083ec4 + 4) + 0x154)" ( (binary_expression "*(int *)(DAT_00083ec4 + 4) + 0x154" (pointer_expression "*(int *)(DAT_00083ec4 + 4)" * (cast_expression "(int *)(DAT_00083ec4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00083ec4 + 4)" ( (binary_expression "DAT_00083ec4 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_00083ec4,0x15,0xb)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }" { (expression_statement "uVar3 = dcgettext(0,"could not update architecture and machine",5);" (assignment_expression "uVar3 = dcgettext(0,"could not update architecture and machine",5)" identifier = (call_expression "dcgettext(0,"could not update architecture and machine",5)" identifier (argument_list "(0,"could not update architecture and machine",5)" ( number_literal , (string_literal ""could not update architecture and machine"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002d580(uVar3);" (call_expression "FUN_0002d580(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) })) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT != LIT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_000433a0(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = DAT_00083ba8 & 0x80;\n  if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_000433a0(void)" (identifier "FUN_000433a0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = DAT_00083ba8 & 0x80;\n  if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "uVar1 = DAT_00083ba8 & 0x80;" (assignment_expression "uVar1 = DAT_00083ba8 & 0x80" (identifier "uVar1") (= "=") (binary_expression "DAT_00083ba8 & 0x80" (identifier "DAT_00083ba8") (& "&") (number_literal "0x80"))) (; ";")) (if_statement "if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }" (if "if") (parenthesized_expression "((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1))))" (( "(") (binary_expression "(uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))" (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))" (( "(") (parenthesized_expression "(DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1))" (( "(") (binary_expression "DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)" (binary_expression "DAT_00083bf8 != 1" (identifier "DAT_00083bf8") (!= "!=") (number_literal "1")) (|| "||") (parenthesized_expression "(uVar1 = 0, DAT_00083bfc != 1)" (( "(") (comma_expression "uVar1 = 0, DAT_00083bfc != 1" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (, ",") (binary_expression "DAT_00083bfc != 1" (identifier "DAT_00083bfc") (!= "!=") (number_literal "1"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = bfd_get_mach(DAT_00083ec4);\n    if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }\n    uVar1 = 1;\n  }" ({ "{") (expression_statement "uVar1 = bfd_get_mach(DAT_00083ec4);" (assignment_expression "uVar1 = bfd_get_mach(DAT_00083ec4)" (identifier "uVar1") (= "=") (call_expression "bfd_get_mach(DAT_00083ec4)" (identifier "bfd_get_mach") (argument_list "(DAT_00083ec4)" (( "(") (identifier "DAT_00083ec4") () ")")))) (; ";")) (if_statement "if (uVar1 < 0xb) {\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }" (if "if") (parenthesized_expression "(uVar1 < 0xb)" (( "(") (binary_expression "uVar1 < 0xb" (identifier "uVar1") (< "<") (number_literal "0xb")) () ")")) (compound_statement "{\n      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);\n      if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }\n    }" ({ "{") (expression_statement "iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);" (assignment_expression "iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154)" (* "*") (cast_expression "(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_00083ec4 + 4) + 0x154)" (( "(") (binary_expression "*(int *)(DAT_00083ec4 + 4) + 0x154" (pointer_expression "*(int *)(DAT_00083ec4 + 4)" (* "*") (cast_expression "(int *)(DAT_00083ec4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00083ec4 + 4)" (( "(") (binary_expression "DAT_00083ec4 + 4" (identifier "DAT_00083ec4") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x154")) () ")"))))) () ")")) (argument_list "(DAT_00083ec4,0x15,0xb)" (( "(") (identifier "DAT_00083ec4") (, ",") (number_literal "0x15") (, ",") (number_literal "0xb") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = dcgettext(0,"could not update architecture and machine",5);\n        FUN_0002d580(uVar3);\n      }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"could not update architecture and machine",5);" (assignment_expression "uVar3 = dcgettext(0,"could not update architecture and machine",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"could not update architecture and machine",5)" (identifier "dcgettext") (argument_list "(0,"could not update architecture and machine",5)" (( "(") (number_literal "0") (, ",") (string_literal ""could not update architecture and machine"" (" """) (string_content "could not update architecture and machine") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002d580(uVar3);" (call_expression "FUN_0002d580(uVar3)" (identifier "FUN_0002d580") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

int function_1(void)

{
  type_1 var_2;
  type_2 var_5;
  char *format;
  
  var_2 = var_1 & 0x80;
  if ((var_2 != 0) && ((the_insn.fpof1 != var_3 || (var_2 = 0, the_insn.fpof2 != var_3)))) {
    var_2 = var_4(stdoutput);
    if (var_2 < 0xb) {
      var_5 = (*stdoutput->xvec->_bfd_set_arch_mach)(stdoutput,bfd_arch_hppa,0xb);
      if (var_5 == 0) {
        format = (char *)var_6(0,"could not update architecture and machine",5);
        var_7(format);
      }
    }
    var_2 = 1;
  }
  return var_2;
}


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

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

uint MASKED(void)

{
  uint uVar1;
  int iVar2;
  undefined4 uVar3;
  
  uVar1 = DAT_00083ba8 & 0x80;
  if ((uVar1 != 0) && ((DAT_00083bf8 != 1 || (uVar1 = 0, DAT_00083bfc != 1)))) {
    uVar1 = bfd_get_mach(DAT_00083ec4);
    if (uVar1 < 0xb) {
      iVar2 = (**(code **)(*(int *)(DAT_00083ec4 + 4) + 0x154))(DAT_00083ec4,0x15,0xb);
      if (iVar2 == 0) {
        uVar3 = dcgettext(0,"could not update architecture and machine",5);
        FUN_0002d580(uVar3);
      }
    }
    uVar1 = 1;
  }
  return uVar1;
}

