
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void gldaarch64linux32b_finish(void)

{
  int iVar1;
  char *fmt;
  
  if (((link_info._0_1_ & 3) != 2) && (stub_file->the_bfd->sections != (bfd_section *)0x0)) {
    iVar1 = elf32_aarch64_build_stubs(&link_info);
    if (iVar1 == 0) {
      fmt = (char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5);
      einfo(fmt);
      finish_default();
      return;
    }
  }
  finish_default();
  return;
}



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

void FUN_0005f870(void)

{
  int iVar1;
  undefined4 uVar2;
  
  if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {
    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);
    if (iVar1 == 0) {
      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);
      FUN_00034dc0(uVar2);
      FUN_00033a50();
      return;
    }
  }
  FUN_00033a50();
  return;
}


PUSH EBX
CALL 0x00017c50
ADD EBX,0x16278a
SUB ESP,0x8
LEA EDX,[EBX + 0x25e0]
MOVZX EAX,byte ptr [EDX]
AND EAX,0x3
CMP AL,0x2
JZ 0x0005f8af
MOV EAX,dword ptr [EBX + 0x22cc]
MOV EAX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + 0x60]
TEST EAX,EAX
JZ 0x0005f8af
SUB ESP,0xc
PUSH EDX
CALL 0x00016c90
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0005f8c0
CALL 0x00033a50
ADD ESP,0x8
POP EBX
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xffeed178]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016380
MOV dword ptr [ESP],EAX
CALL 0x00034dc0
ADD ESP,0x10
CALL 0x00033a50
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0005f870(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }\n  FUN_00033a50();\n  return;\n}\n\n" comment (function_definition "void FUN_0005f870(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }\n  FUN_00033a50();\n  return;\n}" primitive_type (function_declarator "FUN_0005f870(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }\n  FUN_00033a50();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }" if (parenthesized_expression "(((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0))" ( (binary_expression "((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)" (parenthesized_expression "((DAT_001c45e0 & 3) != 2)" ( (binary_expression "(DAT_001c45e0 & 3) != 2" (parenthesized_expression "(DAT_001c45e0 & 3)" ( (binary_expression "DAT_001c45e0 & 3" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)" ( (binary_expression "*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0" (pointer_expression "*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60)" * (cast_expression "(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_001c42cc + 0x10) + 0x60)" ( (binary_expression "*(int *)(DAT_001c42cc + 0x10) + 0x60" (pointer_expression "*(int *)(DAT_001c42cc + 0x10)" * (cast_expression "(int *)(DAT_001c42cc + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001c42cc + 0x10)" ( (binary_expression "DAT_001c42cc + 0x10" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }" { (expression_statement "iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);" (assignment_expression "iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0)" identifier = (call_expression "elf32_aarch64_build_stubs(&DAT_001c45e0)" identifier (argument_list "(&DAT_001c45e0)" ( (pointer_expression "&DAT_001c45e0" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }" { (expression_statement "uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: can not build stubs: %E\n",5)" identifier (argument_list "(0,"%X%P: can not build stubs: %E\n",5)" ( number_literal , (string_literal ""%X%P: can not build stubs: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034dc0(uVar2);" (call_expression "FUN_00034dc0(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_00033a50();" (call_expression "FUN_00033a50()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "FUN_00033a50();" (call_expression "FUN_00033a50()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid gldaarch64linux32b_finish(void)\n\n{\n  int iVar1;\n  char *fmt;\n  \n  if (((link_info._0_1_ & 3) != 2) && (stub_file->the_bfd->sections != (bfd_section *)0x0)) {\n    iVar1 = elf32_aarch64_build_stubs(&link_info);\n    if (iVar1 == 0) {\n      fmt = (char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      einfo(fmt);\n      finish_default();\n      return;\n    }\n  }\n  finish_default();\n  return;\n}\n\n" comment comment (function_definition "void gldaarch64linux32b_finish(void)\n\n{\n  int iVar1;\n  char *fmt;\n  \n  if (((link_info._0_1_ & 3) != 2) && (stub_file->the_bfd->sections != (bfd_section *)0x0)) {\n    iVar1 = elf32_aarch64_build_stubs(&link_info);\n    if (iVar1 == 0) {\n      fmt = (char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      einfo(fmt);\n      finish_default();\n      return;\n    }\n  }\n  finish_default();\n  return;\n}" primitive_type (function_declarator "gldaarch64linux32b_finish(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  char *fmt;\n  \n  if (((link_info._0_1_ & 3) != 2) && (stub_file->the_bfd->sections != (bfd_section *)0x0)) {\n    iVar1 = elf32_aarch64_build_stubs(&link_info);\n    if (iVar1 == 0) {\n      fmt = (char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      einfo(fmt);\n      finish_default();\n      return;\n    }\n  }\n  finish_default();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (if_statement "if (((link_info._0_1_ & 3) != 2) && (stub_file->the_bfd->sections != (bfd_section *)0x0)) {\n    iVar1 = elf32_aarch64_build_stubs(&link_info);\n    if (iVar1 == 0) {\n      fmt = (char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      einfo(fmt);\n      finish_default();\n      return;\n    }\n  }" if (parenthesized_expression "(((link_info._0_1_ & 3) != 2) && (stub_file->the_bfd->sections != (bfd_section *)0x0))" ( (binary_expression "((link_info._0_1_ & 3) != 2) && (stub_file->the_bfd->sections != (bfd_section *)0x0)" (parenthesized_expression "((link_info._0_1_ & 3) != 2)" ( (binary_expression "(link_info._0_1_ & 3) != 2" (parenthesized_expression "(link_info._0_1_ & 3)" ( (binary_expression "link_info._0_1_ & 3" (field_expression "link_info._0_1_" identifier . field_identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(stub_file->the_bfd->sections != (bfd_section *)0x0)" ( (binary_expression "stub_file->the_bfd->sections != (bfd_section *)0x0" (field_expression "stub_file->the_bfd->sections" (field_expression "stub_file->the_bfd" identifier -> field_identifier) -> field_identifier) != (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    iVar1 = elf32_aarch64_build_stubs(&link_info);\n    if (iVar1 == 0) {\n      fmt = (char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      einfo(fmt);\n      finish_default();\n      return;\n    }\n  }" { (expression_statement "iVar1 = elf32_aarch64_build_stubs(&link_info);" (assignment_expression "iVar1 = elf32_aarch64_build_stubs(&link_info)" identifier = (call_expression "elf32_aarch64_build_stubs(&link_info)" identifier (argument_list "(&link_info)" ( (pointer_expression "&link_info" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n      fmt = (char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      einfo(fmt);\n      finish_default();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      fmt = (char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      einfo(fmt);\n      finish_default();\n      return;\n    }" { (expression_statement "fmt = (char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%X%P: can not build stubs: %E\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%X%P: can not build stubs: %E\n",5)" identifier (argument_list "(0,"%X%P: can not build stubs: %E\n",5)" ( number_literal , (string_literal ""%X%P: can not build stubs: %E\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt);" (call_expression "einfo(fmt)" identifier (argument_list "(fmt)" ( identifier ))) ;) (expression_statement "finish_default();" (call_expression "finish_default()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "finish_default();" (call_expression "finish_default()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005f870(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }\n  FUN_00033a50();\n  return;\n}\n\n" (function_definition "void FUN_0005f870(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }\n  FUN_00033a50();\n  return;\n}" primitive_type (function_declarator "FUN_0005f870(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }\n  FUN_00033a50();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }" if (parenthesized_expression "(((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0))" ( (binary_expression "((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)" (parenthesized_expression "((DAT_001c45e0 & 3) != 2)" ( (binary_expression "(DAT_001c45e0 & 3) != 2" (parenthesized_expression "(DAT_001c45e0 & 3)" ( (binary_expression "DAT_001c45e0 & 3" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)" ( (binary_expression "*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0" (pointer_expression "*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60)" * (cast_expression "(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_001c42cc + 0x10) + 0x60)" ( (binary_expression "*(int *)(DAT_001c42cc + 0x10) + 0x60" (pointer_expression "*(int *)(DAT_001c42cc + 0x10)" * (cast_expression "(int *)(DAT_001c42cc + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001c42cc + 0x10)" ( (binary_expression "DAT_001c42cc + 0x10" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }" { (expression_statement "iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);" (assignment_expression "iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0)" identifier = (call_expression "elf32_aarch64_build_stubs(&DAT_001c45e0)" identifier (argument_list "(&DAT_001c45e0)" ( (pointer_expression "&DAT_001c45e0" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }" { (expression_statement "uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: can not build stubs: %E\n",5)" identifier (argument_list "(0,"%X%P: can not build stubs: %E\n",5)" ( number_literal , (string_literal ""%X%P: can not build stubs: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034dc0(uVar2);" (call_expression "FUN_00034dc0(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_00033a50();" (call_expression "FUN_00033a50()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "FUN_00033a50();" (call_expression "FUN_00033a50()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (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 escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005f870(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }\n  FUN_00033a50();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005f870(void)" (identifier "FUN_0005f870") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }\n  FUN_00033a50();\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0))" (( "(") (binary_expression "((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)" (parenthesized_expression "((DAT_001c45e0 & 3) != 2)" (( "(") (binary_expression "(DAT_001c45e0 & 3) != 2" (parenthesized_expression "(DAT_001c45e0 & 3)" (( "(") (binary_expression "DAT_001c45e0 & 3" (identifier "DAT_001c45e0") (& "&") (number_literal "3")) () ")")) (!= "!=") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0" (pointer_expression "*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60)" (* "*") (cast_expression "(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_001c42cc + 0x10) + 0x60)" (( "(") (binary_expression "*(int *)(DAT_001c42cc + 0x10) + 0x60" (pointer_expression "*(int *)(DAT_001c42cc + 0x10)" (* "*") (cast_expression "(int *)(DAT_001c42cc + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001c42cc + 0x10)" (( "(") (binary_expression "DAT_001c42cc + 0x10" (identifier "DAT_001c42cc") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x60")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);\n    if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);" (assignment_expression "iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0)" (identifier "iVar1") (= "=") (call_expression "elf32_aarch64_build_stubs(&DAT_001c45e0)" (identifier "elf32_aarch64_build_stubs") (argument_list "(&DAT_001c45e0)" (( "(") (pointer_expression "&DAT_001c45e0" (& "&") (identifier "DAT_001c45e0")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);\n      FUN_00034dc0(uVar2);\n      FUN_00033a50();\n      return;\n    }" ({ "{") (expression_statement "uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%X%P: can not build stubs: %E\n",5)" (identifier "dcgettext") (argument_list "(0,"%X%P: can not build stubs: %E\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%X%P: can not build stubs: %E\n"" (" """) (string_content "%X%P: can not build stubs: %E") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034dc0(uVar2);" (call_expression "FUN_00034dc0(uVar2)" (identifier "FUN_00034dc0") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "FUN_00033a50();" (call_expression "FUN_00033a50()" (identifier "FUN_00033a50") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_00033a50();" (call_expression "FUN_00033a50()" (identifier "FUN_00033a50") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  int var_2;
  char *fmt;
  
  if (((link_info._0_1_ & 3) != 2) && (stub_file->the_bfd->sections != (type_1 *)0x0)) {
    var_2 = var_1(&link_info);
    if (var_2 == 0) {
      fmt = (char *)var_3(0,"%X%P: can not build stubs: %E\n",5);
      var_4(fmt);
      var_5();
      return;
    }
  }
  var_5();
  return;
}


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

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

void MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  
  if (((DAT_001c45e0 & 3) != 2) && (*(int *)(*(int *)(DAT_001c42cc + 0x10) + 0x60) != 0)) {
    iVar1 = elf32_aarch64_build_stubs(&DAT_001c45e0);
    if (iVar1 == 0) {
      uVar2 = dcgettext(0,"%X%P: can not build stubs: %E\n",5);
      FUN_00034dc0(uVar2);
      FUN_00033a50();
      return;
    }
  }
  FUN_00033a50();
  return;
}

