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

void __regparm3 dump_dwarf(bfd *abfd)

{
  bfd_endian bVar1;
  char *pcVar2;
  uint uVar3;
  void *pvVar4;
  char *message;
  
  is_relocatable = (bfd_boolean)((*(uint *)&abfd->field_0x28 >> 5 & 0x42) == 0);
  uVar3 = bfd_arch_bits_per_address(abfd);
  eh_addr_size = uVar3 >> 3;
  bVar1 = abfd->xvec->byteorder;
  if (bVar1 == BFD_ENDIAN_BIG) {
    byte_get = byte_get_big_endian;
  }
  else {
    if (bVar1 != BFD_ENDIAN_LITTLE) {
      pcVar2 = abfd->filename;
      message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5);
      warn(message,pcVar2);
      return;
    }
    byte_get = byte_get_little_endian;
  }
  uVar3 = bfd_get_arch(abfd);
  if (uVar3 == 0x43) {
    init_dwarf_regnames_riscv();
    goto LAB_00016fb8;
  }
  if (0x43 < uVar3) {
    if (uVar3 == 0x46) {
      init_dwarf_regnames_s390();
    }
    else if (uVar3 == 0x53) {
      init_dwarf_regnames_aarch64();
    }
    goto LAB_00016fb8;
  }
  if (uVar3 != 8) {
    if (uVar3 == 0xb) {
      init_dwarf_regnames_iamcu();
    }
    goto LAB_00016fb8;
  }
  uVar3 = bfd_get_mach(abfd);
  if (uVar3 < 0x12) {
    if ((0xf < uVar3) || (uVar3 - 8 < 2)) {
LAB_000170be:
      init_dwarf_regnames_x86_64();
      goto LAB_00016fb8;
    }
  }
  else if ((uVar3 == 0x88) || (uVar3 == 0x90)) goto LAB_000170be;
  init_dwarf_regnames_i386();
LAB_00016fb8:
  pvVar4 = load_separate_debug_file(abfd,abfd->filename);
  bfd_map_over_sections(abfd,dump_dwarf_section,0);
  if (pvVar4 != (void *)0x0) {
    bfd_map_over_sections(pvVar4,dump_dwarf_section,0);
  }
  free_debug_memory();
  return;
}



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

void __regparm3 FUN_00016f30(undefined4 *param_1)

{
  undefined4 uVar1;
  uint uVar2;
  int iVar3;
  undefined4 uVar4;
  
  DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);
  uVar2 = bfd_arch_bits_per_address(param_1);
  DAT_00074ab8 = uVar2 >> 3;
  if (*(int *)(param_1[1] + 8) == 0) {
    DAT_00074aec = FUN_00047030;
  }
  else {
    if (*(int *)(param_1[1] + 8) != 1) {
      uVar1 = *param_1;
      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);
      warn(uVar4,uVar1);
      return;
    }
    DAT_00074aec = FUN_00047680;
  }
  uVar2 = bfd_get_arch(param_1);
  if (uVar2 == 0x43) {
    FUN_0002cc80();
    goto LAB_00016fb8;
  }
  if (0x43 < uVar2) {
    if (uVar2 == 0x46) {
      FUN_0002cc50();
    }
    else if (uVar2 == 0x53) {
      FUN_0002cc20();
    }
    goto LAB_00016fb8;
  }
  if (uVar2 != 8) {
    if (uVar2 == 0xb) {
      FUN_0002cbc0();
    }
    goto LAB_00016fb8;
  }
  uVar2 = bfd_get_mach(param_1);
  if (uVar2 < 0x12) {
    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {
LAB_000170be:
      FUN_0002cbf0();
      goto LAB_00016fb8;
    }
  }
  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;
  FUN_0002cb90();
LAB_00016fb8:
  iVar3 = FUN_000351c0(param_1,*param_1);
  bfd_map_over_sections(param_1,FUN_0001b900,0);
  if (iVar3 != 0) {
    bfd_map_over_sections(iVar3,FUN_0001b900,0);
  }
  FUN_000354e0();
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x000153a0
ADD EBX,0x5a0c5
SUB ESP,0x18
MOV EAX,dword ptr [EAX + 0x28]
PUSH ESI
SHR EAX,0x5
TEST AL,0x42
SETZ AL
MOVZX EAX,AL
MOV dword ptr [EBX + 0x103c],EAX
CALL 0x00014820
LEA EDX,[EBX + 0x3ab8]
ADD ESP,0x10
SHR EAX,0x3
MOV dword ptr [EDX],EAX
MOV EAX,dword ptr [ESI + 0x4]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x00017018
LEA EAX,[EBX + 0x3aec]
LEA EDX,[EBX + 0xfffd6030]
MOV dword ptr [EAX],EDX
SUB ESP,0xc
PUSH ESI
CALL 0x00014480
ADD ESP,0x10
CMP EAX,0x43
JZ 0x00017060
JBE 0x00017000
CMP EAX,0x46
JZ 0x00017070
CMP EAX,0x53
JNZ 0x00016fb8
CALL 0x0002cc20
LEA ESI,[ESI]
SUB ESP,0x8
PUSH dword ptr [ESI]
LEA EBP,[EBX + 0xfffaa900]
PUSH ESI
CALL 0x000351c0
ADD ESP,0xc
PUSH 0x0
MOV EDI,EAX
PUSH EBP
PUSH ESI
CALL 0x00014780
ADD ESP,0x10
TEST EDI,EDI
JZ 0x00016fed
SUB ESP,0x4
PUSH 0x0
PUSH EBP
PUSH EDI
CALL 0x00014780
ADD ESP,0x10
CALL 0x000354e0
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EAX,0x8
JZ 0x00017080
CMP EAX,0xb
JNZ 0x00016fb8
CALL 0x0002cbc0
JMP 0x00016fb8
CMP EAX,0x1
JNZ 0x00017030
LEA EAX,[EBX + 0x3aec]
LEA EDX,[EBX + 0xfffd6680]
MOV dword ptr [EAX],EDX
JMP 0x00016f88
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdc0c0]
MOV ESI,dword ptr [ESI]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141f0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00047500
ADD ESP,0x10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x0002cc80
JMP 0x00016fb8
CALL 0x0002cc50
JMP 0x00016fb8
SUB ESP,0xc
PUSH ESI
CALL 0x00014570
ADD ESP,0x10
CMP EAX,0x11
JA 0x000170b0
CMP EAX,0x10
JNC 0x000170be
SUB EAX,0x8
CMP EAX,0x1
JBE 0x000170be
CALL 0x0002cb90
JMP 0x00016fb8
CMP EAX,0x88
JZ 0x000170be
CMP EAX,0x90
JNZ 0x0001709e
CALL 0x0002cbf0
JMP 0x00016fb8
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00016f30(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);\n  uVar2 = bfd_arch_bits_per_address(param_1);\n  DAT_00074ab8 = uVar2 >> 3;\n  if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }\n  uVar2 = bfd_get_arch(param_1);\n  if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar2 = bfd_get_mach(param_1);\n  if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;\n  FUN_0002cb90();\nLAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);\n  bfd_map_over_sections(param_1,FUN_0001b900,0);\n  if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }\n  FUN_000354e0();\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00016f30(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);\n  uVar2 = bfd_arch_bits_per_address(param_1);\n  DAT_00074ab8 = uVar2 >> 3;\n  if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }\n  uVar2 = bfd_get_arch(param_1);\n  if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar2 = bfd_get_mach(param_1);\n  if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;\n  FUN_0002cb90();\nLAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);\n  bfd_map_over_sections(param_1,FUN_0001b900,0);\n  if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }\n  FUN_000354e0();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00016f30(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);\n  uVar2 = bfd_arch_bits_per_address(param_1);\n  DAT_00074ab8 = uVar2 >> 3;\n  if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }\n  uVar2 = bfd_get_arch(param_1);\n  if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar2 = bfd_get_mach(param_1);\n  if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;\n  FUN_0002cb90();\nLAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);\n  bfd_map_over_sections(param_1,FUN_0001b900,0);\n  if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }\n  FUN_000354e0();\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);" (assignment_expression "DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0)" identifier = (call_expression "(uint)(((uint)param_1[10] >> 5 & 0x42) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(((uint)param_1[10] >> 5 & 0x42) == 0)" ( (binary_expression "((uint)param_1[10] >> 5 & 0x42) == 0" (parenthesized_expression "((uint)param_1[10] >> 5 & 0x42)" ( (binary_expression "(uint)param_1[10] >> 5 & 0x42" (binary_expression "(uint)param_1[10] >> 5" (cast_expression "(uint)param_1[10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[10]" identifier [ number_literal ])) >> number_literal) & number_literal) )) == number_literal) )))) ;) (expression_statement "uVar2 = bfd_arch_bits_per_address(param_1);" (assignment_expression "uVar2 = bfd_arch_bits_per_address(param_1)" identifier = (call_expression "bfd_arch_bits_per_address(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "DAT_00074ab8 = uVar2 >> 3;" (assignment_expression "DAT_00074ab8 = uVar2 >> 3" identifier = (binary_expression "uVar2 >> 3" identifier >> number_literal)) ;) (if_statement "if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }" if (parenthesized_expression "(*(int *)(param_1[1] + 8) == 0)" ( (binary_expression "*(int *)(param_1[1] + 8) == 0" (pointer_expression "*(int *)(param_1[1] + 8)" * (cast_expression "(int *)(param_1[1] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + 8)" ( (binary_expression "param_1[1] + 8" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal) )))) == number_literal) )) (compound_statement "{\n    DAT_00074aec = FUN_00047030;\n  }" { (expression_statement "DAT_00074aec = FUN_00047030;" (assignment_expression "DAT_00074aec = FUN_00047030" identifier = identifier) ;) }) (else_clause "else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }" else (compound_statement "{\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }" { (if_statement "if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_1[1] + 8) != 1)" ( (binary_expression "*(int *)(param_1[1] + 8) != 1" (pointer_expression "*(int *)(param_1[1] + 8)" * (cast_expression "(int *)(param_1[1] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + 8)" ( (binary_expression "param_1[1] + 8" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }" { (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);" (assignment_expression "uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5)" identifier = (call_expression "dcgettext(0,"File %s does not contain any dwarf debug information\n",5)" identifier (argument_list "(0,"File %s does not contain any dwarf debug information\n",5)" ( number_literal , (string_literal ""File %s does not contain any dwarf debug information\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "warn(uVar4,uVar1);" (call_expression "warn(uVar4,uVar1)" identifier (argument_list "(uVar4,uVar1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "DAT_00074aec = FUN_00047680;" (assignment_expression "DAT_00074aec = FUN_00047680" identifier = identifier) ;) }))) (expression_statement "uVar2 = bfd_get_arch(param_1);" (assignment_expression "uVar2 = bfd_get_arch(param_1)" identifier = (call_expression "bfd_get_arch(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }" if (parenthesized_expression "(uVar2 == 0x43)" ( (binary_expression "uVar2 == 0x43" identifier == number_literal) )) (compound_statement "{\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }" { (expression_statement "FUN_0002cc80();" (call_expression "FUN_0002cc80()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) (if_statement "if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }" if (parenthesized_expression "(0x43 < uVar2)" ( (binary_expression "0x43 < uVar2" number_literal < identifier) )) (compound_statement "{\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }" { (if_statement "if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }" if (parenthesized_expression "(uVar2 == 0x46)" ( (binary_expression "uVar2 == 0x46" identifier == number_literal) )) (compound_statement "{\n      FUN_0002cc50();\n    }" { (expression_statement "FUN_0002cc50();" (call_expression "FUN_0002cc50()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }" else (if_statement "if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }" if (parenthesized_expression "(uVar2 == 0x53)" ( (binary_expression "uVar2 == 0x53" identifier == number_literal) )) (compound_statement "{\n      FUN_0002cc20();\n    }" { (expression_statement "FUN_0002cc20();" (call_expression "FUN_0002cc20()" identifier (argument_list "()" ( ))) ;) })))) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) (if_statement "if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }" if (parenthesized_expression "(uVar2 != 8)" ( (binary_expression "uVar2 != 8" identifier != number_literal) )) (compound_statement "{\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }" { (if_statement "if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }" if (parenthesized_expression "(uVar2 == 0xb)" ( (binary_expression "uVar2 == 0xb" identifier == number_literal) )) (compound_statement "{\n      FUN_0002cbc0();\n    }" { (expression_statement "FUN_0002cbc0();" (call_expression "FUN_0002cbc0()" identifier (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) (expression_statement "uVar2 = bfd_get_mach(param_1);" (assignment_expression "uVar2 = bfd_get_mach(param_1)" identifier = (call_expression "bfd_get_mach(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;" if (parenthesized_expression "(uVar2 < 0x12)" ( (binary_expression "uVar2 < 0x12" identifier < number_literal) )) (compound_statement "{\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }" { (if_statement "if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }" if (parenthesized_expression "((0xf < uVar2) || (uVar2 - 8 < 2))" ( (binary_expression "(0xf < uVar2) || (uVar2 - 8 < 2)" (parenthesized_expression "(0xf < uVar2)" ( (binary_expression "0xf < uVar2" number_literal < identifier) )) || (parenthesized_expression "(uVar2 - 8 < 2)" ( (binary_expression "uVar2 - 8 < 2" (binary_expression "uVar2 - 8" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }" { (labeled_statement "LAB_000170be:\n      FUN_0002cbf0();" statement_identifier : (expression_statement "FUN_0002cbf0();" (call_expression "FUN_0002cbf0()" identifier (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) }) (else_clause "else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;" else (if_statement "if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;" if (parenthesized_expression "((uVar2 == 0x88) || (uVar2 == 0x90))" ( (binary_expression "(uVar2 == 0x88) || (uVar2 == 0x90)" (parenthesized_expression "(uVar2 == 0x88)" ( (binary_expression "uVar2 == 0x88" identifier == number_literal) )) || (parenthesized_expression "(uVar2 == 0x90)" ( (binary_expression "uVar2 == 0x90" identifier == number_literal) ))) )) (goto_statement "goto LAB_000170be;" goto statement_identifier ;)))) (expression_statement "FUN_0002cb90();" (call_expression "FUN_0002cb90()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);" statement_identifier : (expression_statement "iVar3 = FUN_000351c0(param_1,*param_1);" (assignment_expression "iVar3 = FUN_000351c0(param_1,*param_1)" identifier = (call_expression "FUN_000351c0(param_1,*param_1)" identifier (argument_list "(param_1,*param_1)" ( identifier , (pointer_expression "*param_1" * identifier) )))) ;)) (expression_statement "bfd_map_over_sections(param_1,FUN_0001b900,0);" (call_expression "bfd_map_over_sections(param_1,FUN_0001b900,0)" identifier (argument_list "(param_1,FUN_0001b900,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }" { (expression_statement "bfd_map_over_sections(iVar3,FUN_0001b900,0);" (call_expression "bfd_map_over_sections(iVar3,FUN_0001b900,0)" identifier (argument_list "(iVar3,FUN_0001b900,0)" ( identifier , identifier , number_literal ))) ;) })) (expression_statement "FUN_000354e0();" (call_expression "FUN_000354e0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 dump_dwarf(bfd *abfd)\n\n{\n  bfd_endian bVar1;\n  char *pcVar2;\n  uint uVar3;\n  void *pvVar4;\n  char *message;\n  \n  is_relocatable = (bfd_boolean)((*(uint *)&abfd->field_0x28 >> 5 & 0x42) == 0);\n  uVar3 = bfd_arch_bits_per_address(abfd);\n  eh_addr_size = uVar3 >> 3;\n  bVar1 = abfd->xvec->byteorder;\n  if (bVar1 == BFD_ENDIAN_BIG) {\n    byte_get = byte_get_big_endian;\n  }\n  else {\n    if (bVar1 != BFD_ENDIAN_LITTLE) {\n      pcVar2 = abfd->filename;\n      message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(message,pcVar2);\n      return;\n    }\n    byte_get = byte_get_little_endian;\n  }\n  uVar3 = bfd_get_arch(abfd);\n  if (uVar3 == 0x43) {\n    init_dwarf_regnames_riscv();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar3) {\n    if (uVar3 == 0x46) {\n      init_dwarf_regnames_s390();\n    }\n    else if (uVar3 == 0x53) {\n      init_dwarf_regnames_aarch64();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar3 != 8) {\n    if (uVar3 == 0xb) {\n      init_dwarf_regnames_iamcu();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar3 = bfd_get_mach(abfd);\n  if (uVar3 < 0x12) {\n    if ((0xf < uVar3) || (uVar3 - 8 < 2)) {\nLAB_000170be:\n      init_dwarf_regnames_x86_64();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar3 == 0x88) || (uVar3 == 0x90)) goto LAB_000170be;\n  init_dwarf_regnames_i386();\nLAB_00016fb8:\n  pvVar4 = load_separate_debug_file(abfd,abfd->filename);\n  bfd_map_over_sections(abfd,dump_dwarf_section,0);\n  if (pvVar4 != (void *)0x0) {\n    bfd_map_over_sections(pvVar4,dump_dwarf_section,0);\n  }\n  free_debug_memory();\n  return;\n}\n\n" comment (function_definition "void __regparm3 dump_dwarf(bfd *abfd)\n\n{\n  bfd_endian bVar1;\n  char *pcVar2;\n  uint uVar3;\n  void *pvVar4;\n  char *message;\n  \n  is_relocatable = (bfd_boolean)((*(uint *)&abfd->field_0x28 >> 5 & 0x42) == 0);\n  uVar3 = bfd_arch_bits_per_address(abfd);\n  eh_addr_size = uVar3 >> 3;\n  bVar1 = abfd->xvec->byteorder;\n  if (bVar1 == BFD_ENDIAN_BIG) {\n    byte_get = byte_get_big_endian;\n  }\n  else {\n    if (bVar1 != BFD_ENDIAN_LITTLE) {\n      pcVar2 = abfd->filename;\n      message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(message,pcVar2);\n      return;\n    }\n    byte_get = byte_get_little_endian;\n  }\n  uVar3 = bfd_get_arch(abfd);\n  if (uVar3 == 0x43) {\n    init_dwarf_regnames_riscv();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar3) {\n    if (uVar3 == 0x46) {\n      init_dwarf_regnames_s390();\n    }\n    else if (uVar3 == 0x53) {\n      init_dwarf_regnames_aarch64();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar3 != 8) {\n    if (uVar3 == 0xb) {\n      init_dwarf_regnames_iamcu();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar3 = bfd_get_mach(abfd);\n  if (uVar3 < 0x12) {\n    if ((0xf < uVar3) || (uVar3 - 8 < 2)) {\nLAB_000170be:\n      init_dwarf_regnames_x86_64();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar3 == 0x88) || (uVar3 == 0x90)) goto LAB_000170be;\n  init_dwarf_regnames_i386();\nLAB_00016fb8:\n  pvVar4 = load_separate_debug_file(abfd,abfd->filename);\n  bfd_map_over_sections(abfd,dump_dwarf_section,0);\n  if (pvVar4 != (void *)0x0) {\n    bfd_map_over_sections(pvVar4,dump_dwarf_section,0);\n  }\n  free_debug_memory();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "dump_dwarf(bfd *abfd)" identifier (parameter_list "(bfd *abfd)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) ))) (compound_statement "{\n  bfd_endian bVar1;\n  char *pcVar2;\n  uint uVar3;\n  void *pvVar4;\n  char *message;\n  \n  is_relocatable = (bfd_boolean)((*(uint *)&abfd->field_0x28 >> 5 & 0x42) == 0);\n  uVar3 = bfd_arch_bits_per_address(abfd);\n  eh_addr_size = uVar3 >> 3;\n  bVar1 = abfd->xvec->byteorder;\n  if (bVar1 == BFD_ENDIAN_BIG) {\n    byte_get = byte_get_big_endian;\n  }\n  else {\n    if (bVar1 != BFD_ENDIAN_LITTLE) {\n      pcVar2 = abfd->filename;\n      message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(message,pcVar2);\n      return;\n    }\n    byte_get = byte_get_little_endian;\n  }\n  uVar3 = bfd_get_arch(abfd);\n  if (uVar3 == 0x43) {\n    init_dwarf_regnames_riscv();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar3) {\n    if (uVar3 == 0x46) {\n      init_dwarf_regnames_s390();\n    }\n    else if (uVar3 == 0x53) {\n      init_dwarf_regnames_aarch64();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar3 != 8) {\n    if (uVar3 == 0xb) {\n      init_dwarf_regnames_iamcu();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar3 = bfd_get_mach(abfd);\n  if (uVar3 < 0x12) {\n    if ((0xf < uVar3) || (uVar3 - 8 < 2)) {\nLAB_000170be:\n      init_dwarf_regnames_x86_64();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar3 == 0x88) || (uVar3 == 0x90)) goto LAB_000170be;\n  init_dwarf_regnames_i386();\nLAB_00016fb8:\n  pvVar4 = load_separate_debug_file(abfd,abfd->filename);\n  bfd_map_over_sections(abfd,dump_dwarf_section,0);\n  if (pvVar4 != (void *)0x0) {\n    bfd_map_over_sections(pvVar4,dump_dwarf_section,0);\n  }\n  free_debug_memory();\n  return;\n}" { (declaration "bfd_endian bVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "char *message;" primitive_type (pointer_declarator "*message" * identifier) ;) (expression_statement "is_relocatable = (bfd_boolean)((*(uint *)&abfd->field_0x28 >> 5 & 0x42) == 0);" (assignment_expression "is_relocatable = (bfd_boolean)((*(uint *)&abfd->field_0x28 >> 5 & 0x42) == 0)" identifier = (call_expression "(bfd_boolean)((*(uint *)&abfd->field_0x28 >> 5 & 0x42) == 0)" (parenthesized_expression "(bfd_boolean)" ( identifier )) (argument_list "((*(uint *)&abfd->field_0x28 >> 5 & 0x42) == 0)" ( (binary_expression "(*(uint *)&abfd->field_0x28 >> 5 & 0x42) == 0" (parenthesized_expression "(*(uint *)&abfd->field_0x28 >> 5 & 0x42)" ( (binary_expression "*(uint *)&abfd->field_0x28 >> 5 & 0x42" (binary_expression "*(uint *)&abfd->field_0x28 >> 5" (pointer_expression "*(uint *)&abfd->field_0x28" * (cast_expression "(uint *)&abfd->field_0x28" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&abfd->field_0x28" & (field_expression "abfd->field_0x28" identifier -> field_identifier)))) >> number_literal) & number_literal) )) == number_literal) )))) ;) (expression_statement "uVar3 = bfd_arch_bits_per_address(abfd);" (assignment_expression "uVar3 = bfd_arch_bits_per_address(abfd)" identifier = (call_expression "bfd_arch_bits_per_address(abfd)" identifier (argument_list "(abfd)" ( identifier )))) ;) (expression_statement "eh_addr_size = uVar3 >> 3;" (assignment_expression "eh_addr_size = uVar3 >> 3" identifier = (binary_expression "uVar3 >> 3" identifier >> number_literal)) ;) (expression_statement "bVar1 = abfd->xvec->byteorder;" (assignment_expression "bVar1 = abfd->xvec->byteorder" identifier = (field_expression "abfd->xvec->byteorder" (field_expression "abfd->xvec" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (bVar1 == BFD_ENDIAN_BIG) {\n    byte_get = byte_get_big_endian;\n  }\n  else {\n    if (bVar1 != BFD_ENDIAN_LITTLE) {\n      pcVar2 = abfd->filename;\n      message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(message,pcVar2);\n      return;\n    }\n    byte_get = byte_get_little_endian;\n  }" if (parenthesized_expression "(bVar1 == BFD_ENDIAN_BIG)" ( (binary_expression "bVar1 == BFD_ENDIAN_BIG" identifier == identifier) )) (compound_statement "{\n    byte_get = byte_get_big_endian;\n  }" { (expression_statement "byte_get = byte_get_big_endian;" (assignment_expression "byte_get = byte_get_big_endian" identifier = identifier) ;) }) (else_clause "else {\n    if (bVar1 != BFD_ENDIAN_LITTLE) {\n      pcVar2 = abfd->filename;\n      message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(message,pcVar2);\n      return;\n    }\n    byte_get = byte_get_little_endian;\n  }" else (compound_statement "{\n    if (bVar1 != BFD_ENDIAN_LITTLE) {\n      pcVar2 = abfd->filename;\n      message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(message,pcVar2);\n      return;\n    }\n    byte_get = byte_get_little_endian;\n  }" { (if_statement "if (bVar1 != BFD_ENDIAN_LITTLE) {\n      pcVar2 = abfd->filename;\n      message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(message,pcVar2);\n      return;\n    }" if (parenthesized_expression "(bVar1 != BFD_ENDIAN_LITTLE)" ( (binary_expression "bVar1 != BFD_ENDIAN_LITTLE" identifier != identifier) )) (compound_statement "{\n      pcVar2 = abfd->filename;\n      message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(message,pcVar2);\n      return;\n    }" { (expression_statement "pcVar2 = abfd->filename;" (assignment_expression "pcVar2 = abfd->filename" identifier = (field_expression "abfd->filename" identifier -> field_identifier)) ;) (expression_statement "message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5);" (assignment_expression "message = (char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"File %s does not contain any dwarf debug information\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"File %s does not contain any dwarf debug information\n",5)" identifier (argument_list "(0,"File %s does not contain any dwarf debug information\n",5)" ( number_literal , (string_literal ""File %s does not contain any dwarf debug information\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "warn(message,pcVar2);" (call_expression "warn(message,pcVar2)" identifier (argument_list "(message,pcVar2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "byte_get = byte_get_little_endian;" (assignment_expression "byte_get = byte_get_little_endian" identifier = identifier) ;) }))) (expression_statement "uVar3 = bfd_get_arch(abfd);" (assignment_expression "uVar3 = bfd_get_arch(abfd)" identifier = (call_expression "bfd_get_arch(abfd)" identifier (argument_list "(abfd)" ( identifier )))) ;) (if_statement "if (uVar3 == 0x43) {\n    init_dwarf_regnames_riscv();\n    goto LAB_00016fb8;\n  }" if (parenthesized_expression "(uVar3 == 0x43)" ( (binary_expression "uVar3 == 0x43" identifier == number_literal) )) (compound_statement "{\n    init_dwarf_regnames_riscv();\n    goto LAB_00016fb8;\n  }" { (expression_statement "init_dwarf_regnames_riscv();" (call_expression "init_dwarf_regnames_riscv()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) (if_statement "if (0x43 < uVar3) {\n    if (uVar3 == 0x46) {\n      init_dwarf_regnames_s390();\n    }\n    else if (uVar3 == 0x53) {\n      init_dwarf_regnames_aarch64();\n    }\n    goto LAB_00016fb8;\n  }" if (parenthesized_expression "(0x43 < uVar3)" ( (binary_expression "0x43 < uVar3" number_literal < identifier) )) (compound_statement "{\n    if (uVar3 == 0x46) {\n      init_dwarf_regnames_s390();\n    }\n    else if (uVar3 == 0x53) {\n      init_dwarf_regnames_aarch64();\n    }\n    goto LAB_00016fb8;\n  }" { (if_statement "if (uVar3 == 0x46) {\n      init_dwarf_regnames_s390();\n    }\n    else if (uVar3 == 0x53) {\n      init_dwarf_regnames_aarch64();\n    }" if (parenthesized_expression "(uVar3 == 0x46)" ( (binary_expression "uVar3 == 0x46" identifier == number_literal) )) (compound_statement "{\n      init_dwarf_regnames_s390();\n    }" { (expression_statement "init_dwarf_regnames_s390();" (call_expression "init_dwarf_regnames_s390()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else if (uVar3 == 0x53) {\n      init_dwarf_regnames_aarch64();\n    }" else (if_statement "if (uVar3 == 0x53) {\n      init_dwarf_regnames_aarch64();\n    }" if (parenthesized_expression "(uVar3 == 0x53)" ( (binary_expression "uVar3 == 0x53" identifier == number_literal) )) (compound_statement "{\n      init_dwarf_regnames_aarch64();\n    }" { (expression_statement "init_dwarf_regnames_aarch64();" (call_expression "init_dwarf_regnames_aarch64()" identifier (argument_list "()" ( ))) ;) })))) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) (if_statement "if (uVar3 != 8) {\n    if (uVar3 == 0xb) {\n      init_dwarf_regnames_iamcu();\n    }\n    goto LAB_00016fb8;\n  }" if (parenthesized_expression "(uVar3 != 8)" ( (binary_expression "uVar3 != 8" identifier != number_literal) )) (compound_statement "{\n    if (uVar3 == 0xb) {\n      init_dwarf_regnames_iamcu();\n    }\n    goto LAB_00016fb8;\n  }" { (if_statement "if (uVar3 == 0xb) {\n      init_dwarf_regnames_iamcu();\n    }" if (parenthesized_expression "(uVar3 == 0xb)" ( (binary_expression "uVar3 == 0xb" identifier == number_literal) )) (compound_statement "{\n      init_dwarf_regnames_iamcu();\n    }" { (expression_statement "init_dwarf_regnames_iamcu();" (call_expression "init_dwarf_regnames_iamcu()" identifier (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) (expression_statement "uVar3 = bfd_get_mach(abfd);" (assignment_expression "uVar3 = bfd_get_mach(abfd)" identifier = (call_expression "bfd_get_mach(abfd)" identifier (argument_list "(abfd)" ( identifier )))) ;) (if_statement "if (uVar3 < 0x12) {\n    if ((0xf < uVar3) || (uVar3 - 8 < 2)) {\nLAB_000170be:\n      init_dwarf_regnames_x86_64();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar3 == 0x88) || (uVar3 == 0x90)) goto LAB_000170be;" if (parenthesized_expression "(uVar3 < 0x12)" ( (binary_expression "uVar3 < 0x12" identifier < number_literal) )) (compound_statement "{\n    if ((0xf < uVar3) || (uVar3 - 8 < 2)) {\nLAB_000170be:\n      init_dwarf_regnames_x86_64();\n      goto LAB_00016fb8;\n    }\n  }" { (if_statement "if ((0xf < uVar3) || (uVar3 - 8 < 2)) {\nLAB_000170be:\n      init_dwarf_regnames_x86_64();\n      goto LAB_00016fb8;\n    }" if (parenthesized_expression "((0xf < uVar3) || (uVar3 - 8 < 2))" ( (binary_expression "(0xf < uVar3) || (uVar3 - 8 < 2)" (parenthesized_expression "(0xf < uVar3)" ( (binary_expression "0xf < uVar3" number_literal < identifier) )) || (parenthesized_expression "(uVar3 - 8 < 2)" ( (binary_expression "uVar3 - 8 < 2" (binary_expression "uVar3 - 8" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\nLAB_000170be:\n      init_dwarf_regnames_x86_64();\n      goto LAB_00016fb8;\n    }" { (labeled_statement "LAB_000170be:\n      init_dwarf_regnames_x86_64();" statement_identifier : (expression_statement "init_dwarf_regnames_x86_64();" (call_expression "init_dwarf_regnames_x86_64()" identifier (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) }) (else_clause "else if ((uVar3 == 0x88) || (uVar3 == 0x90)) goto LAB_000170be;" else (if_statement "if ((uVar3 == 0x88) || (uVar3 == 0x90)) goto LAB_000170be;" if (parenthesized_expression "((uVar3 == 0x88) || (uVar3 == 0x90))" ( (binary_expression "(uVar3 == 0x88) || (uVar3 == 0x90)" (parenthesized_expression "(uVar3 == 0x88)" ( (binary_expression "uVar3 == 0x88" identifier == number_literal) )) || (parenthesized_expression "(uVar3 == 0x90)" ( (binary_expression "uVar3 == 0x90" identifier == number_literal) ))) )) (goto_statement "goto LAB_000170be;" goto statement_identifier ;)))) (expression_statement "init_dwarf_regnames_i386();" (call_expression "init_dwarf_regnames_i386()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_00016fb8:\n  pvVar4 = load_separate_debug_file(abfd,abfd->filename);" statement_identifier : (expression_statement "pvVar4 = load_separate_debug_file(abfd,abfd->filename);" (assignment_expression "pvVar4 = load_separate_debug_file(abfd,abfd->filename)" identifier = (call_expression "load_separate_debug_file(abfd,abfd->filename)" identifier (argument_list "(abfd,abfd->filename)" ( identifier , (field_expression "abfd->filename" identifier -> field_identifier) )))) ;)) (expression_statement "bfd_map_over_sections(abfd,dump_dwarf_section,0);" (call_expression "bfd_map_over_sections(abfd,dump_dwarf_section,0)" identifier (argument_list "(abfd,dump_dwarf_section,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (pvVar4 != (void *)0x0) {\n    bfd_map_over_sections(pvVar4,dump_dwarf_section,0);\n  }" if (parenthesized_expression "(pvVar4 != (void *)0x0)" ( (binary_expression "pvVar4 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bfd_map_over_sections(pvVar4,dump_dwarf_section,0);\n  }" { (expression_statement "bfd_map_over_sections(pvVar4,dump_dwarf_section,0);" (call_expression "bfd_map_over_sections(pvVar4,dump_dwarf_section,0)" identifier (argument_list "(pvVar4,dump_dwarf_section,0)" ( identifier , identifier , number_literal ))) ;) })) (expression_statement "free_debug_memory();" (call_expression "free_debug_memory()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00016f30(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);\n  uVar2 = bfd_arch_bits_per_address(param_1);\n  DAT_00074ab8 = uVar2 >> 3;\n  if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }\n  uVar2 = bfd_get_arch(param_1);\n  if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar2 = bfd_get_mach(param_1);\n  if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;\n  FUN_0002cb90();\nLAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);\n  bfd_map_over_sections(param_1,FUN_0001b900,0);\n  if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }\n  FUN_000354e0();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00016f30(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);\n  uVar2 = bfd_arch_bits_per_address(param_1);\n  DAT_00074ab8 = uVar2 >> 3;\n  if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }\n  uVar2 = bfd_get_arch(param_1);\n  if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar2 = bfd_get_mach(param_1);\n  if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;\n  FUN_0002cb90();\nLAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);\n  bfd_map_over_sections(param_1,FUN_0001b900,0);\n  if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }\n  FUN_000354e0();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00016f30(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);\n  uVar2 = bfd_arch_bits_per_address(param_1);\n  DAT_00074ab8 = uVar2 >> 3;\n  if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }\n  uVar2 = bfd_get_arch(param_1);\n  if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar2 = bfd_get_mach(param_1);\n  if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;\n  FUN_0002cb90();\nLAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);\n  bfd_map_over_sections(param_1,FUN_0001b900,0);\n  if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }\n  FUN_000354e0();\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);" (assignment_expression "DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0)" identifier = (call_expression "(uint)(((uint)param_1[10] >> 5 & 0x42) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(((uint)param_1[10] >> 5 & 0x42) == 0)" ( (binary_expression "((uint)param_1[10] >> 5 & 0x42) == 0" (parenthesized_expression "((uint)param_1[10] >> 5 & 0x42)" ( (binary_expression "(uint)param_1[10] >> 5 & 0x42" (binary_expression "(uint)param_1[10] >> 5" (cast_expression "(uint)param_1[10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[10]" identifier [ number_literal ])) >> number_literal) & number_literal) )) == number_literal) )))) ;) (expression_statement "uVar2 = bfd_arch_bits_per_address(param_1);" (assignment_expression "uVar2 = bfd_arch_bits_per_address(param_1)" identifier = (call_expression "bfd_arch_bits_per_address(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "DAT_00074ab8 = uVar2 >> 3;" (assignment_expression "DAT_00074ab8 = uVar2 >> 3" identifier = (binary_expression "uVar2 >> 3" identifier >> number_literal)) ;) (if_statement "if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }" if (parenthesized_expression "(*(int *)(param_1[1] + 8) == 0)" ( (binary_expression "*(int *)(param_1[1] + 8) == 0" (pointer_expression "*(int *)(param_1[1] + 8)" * (cast_expression "(int *)(param_1[1] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + 8)" ( (binary_expression "param_1[1] + 8" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal) )))) == number_literal) )) (compound_statement "{\n    DAT_00074aec = FUN_00047030;\n  }" { (expression_statement "DAT_00074aec = FUN_00047030;" (assignment_expression "DAT_00074aec = FUN_00047030" identifier = identifier) ;) }) (else_clause "else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }" else (compound_statement "{\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }" { (if_statement "if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_1[1] + 8) != 1)" ( (binary_expression "*(int *)(param_1[1] + 8) != 1" (pointer_expression "*(int *)(param_1[1] + 8)" * (cast_expression "(int *)(param_1[1] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + 8)" ( (binary_expression "param_1[1] + 8" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }" { (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);" (assignment_expression "uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5)" identifier = (call_expression "dcgettext(0,"File %s does not contain any dwarf debug information\n",5)" identifier (argument_list "(0,"File %s does not contain any dwarf debug information\n",5)" ( number_literal , (string_literal ""File %s does not contain any dwarf debug information\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "warn(uVar4,uVar1);" (call_expression "warn(uVar4,uVar1)" identifier (argument_list "(uVar4,uVar1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "DAT_00074aec = FUN_00047680;" (assignment_expression "DAT_00074aec = FUN_00047680" identifier = identifier) ;) }))) (expression_statement "uVar2 = bfd_get_arch(param_1);" (assignment_expression "uVar2 = bfd_get_arch(param_1)" identifier = (call_expression "bfd_get_arch(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }" if (parenthesized_expression "(uVar2 == 0x43)" ( (binary_expression "uVar2 == 0x43" identifier == number_literal) )) (compound_statement "{\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }" { (expression_statement "FUN_0002cc80();" (call_expression "FUN_0002cc80()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) (if_statement "if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }" if (parenthesized_expression "(0x43 < uVar2)" ( (binary_expression "0x43 < uVar2" number_literal < identifier) )) (compound_statement "{\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }" { (if_statement "if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }" if (parenthesized_expression "(uVar2 == 0x46)" ( (binary_expression "uVar2 == 0x46" identifier == number_literal) )) (compound_statement "{\n      FUN_0002cc50();\n    }" { (expression_statement "FUN_0002cc50();" (call_expression "FUN_0002cc50()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }" else (if_statement "if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }" if (parenthesized_expression "(uVar2 == 0x53)" ( (binary_expression "uVar2 == 0x53" identifier == number_literal) )) (compound_statement "{\n      FUN_0002cc20();\n    }" { (expression_statement "FUN_0002cc20();" (call_expression "FUN_0002cc20()" identifier (argument_list "()" ( ))) ;) })))) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) (if_statement "if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }" if (parenthesized_expression "(uVar2 != 8)" ( (binary_expression "uVar2 != 8" identifier != number_literal) )) (compound_statement "{\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }" { (if_statement "if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }" if (parenthesized_expression "(uVar2 == 0xb)" ( (binary_expression "uVar2 == 0xb" identifier == number_literal) )) (compound_statement "{\n      FUN_0002cbc0();\n    }" { (expression_statement "FUN_0002cbc0();" (call_expression "FUN_0002cbc0()" identifier (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) (expression_statement "uVar2 = bfd_get_mach(param_1);" (assignment_expression "uVar2 = bfd_get_mach(param_1)" identifier = (call_expression "bfd_get_mach(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;" if (parenthesized_expression "(uVar2 < 0x12)" ( (binary_expression "uVar2 < 0x12" identifier < number_literal) )) (compound_statement "{\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }" { (if_statement "if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }" if (parenthesized_expression "((0xf < uVar2) || (uVar2 - 8 < 2))" ( (binary_expression "(0xf < uVar2) || (uVar2 - 8 < 2)" (parenthesized_expression "(0xf < uVar2)" ( (binary_expression "0xf < uVar2" number_literal < identifier) )) || (parenthesized_expression "(uVar2 - 8 < 2)" ( (binary_expression "uVar2 - 8 < 2" (binary_expression "uVar2 - 8" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }" { (labeled_statement "LAB_000170be:\n      FUN_0002cbf0();" statement_identifier : (expression_statement "FUN_0002cbf0();" (call_expression "FUN_0002cbf0()" identifier (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_00016fb8;" goto statement_identifier ;) })) }) (else_clause "else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;" else (if_statement "if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;" if (parenthesized_expression "((uVar2 == 0x88) || (uVar2 == 0x90))" ( (binary_expression "(uVar2 == 0x88) || (uVar2 == 0x90)" (parenthesized_expression "(uVar2 == 0x88)" ( (binary_expression "uVar2 == 0x88" identifier == number_literal) )) || (parenthesized_expression "(uVar2 == 0x90)" ( (binary_expression "uVar2 == 0x90" identifier == number_literal) ))) )) (goto_statement "goto LAB_000170be;" goto statement_identifier ;)))) (expression_statement "FUN_0002cb90();" (call_expression "FUN_0002cb90()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);" statement_identifier : (expression_statement "iVar3 = FUN_000351c0(param_1,*param_1);" (assignment_expression "iVar3 = FUN_000351c0(param_1,*param_1)" identifier = (call_expression "FUN_000351c0(param_1,*param_1)" identifier (argument_list "(param_1,*param_1)" ( identifier , (pointer_expression "*param_1" * identifier) )))) ;)) (expression_statement "bfd_map_over_sections(param_1,FUN_0001b900,0);" (call_expression "bfd_map_over_sections(param_1,FUN_0001b900,0)" identifier (argument_list "(param_1,FUN_0001b900,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }" { (expression_statement "bfd_map_over_sections(iVar3,FUN_0001b900,0);" (call_expression "bfd_map_over_sections(iVar3,FUN_0001b900,0)" identifier (argument_list "(iVar3,FUN_0001b900,0)" ( identifier , identifier , number_literal ))) ;) })) (expression_statement "FUN_000354e0();" (call_expression "FUN_000354e0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) >> LIT) & LIT) )) == LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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 , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (goto_statement goto statement_identifier ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (goto_statement goto statement_identifier ;)))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) )))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00016f30(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);\n  uVar2 = bfd_arch_bits_per_address(param_1);\n  DAT_00074ab8 = uVar2 >> 3;\n  if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }\n  uVar2 = bfd_get_arch(param_1);\n  if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar2 = bfd_get_mach(param_1);\n  if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;\n  FUN_0002cb90();\nLAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);\n  bfd_map_over_sections(param_1,FUN_0001b900,0);\n  if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }\n  FUN_000354e0();\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00016f30(undefined4 *param_1)" (identifier "FUN_00016f30") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  \n  DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);\n  uVar2 = bfd_arch_bits_per_address(param_1);\n  DAT_00074ab8 = uVar2 >> 3;\n  if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }\n  uVar2 = bfd_get_arch(param_1);\n  if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }\n  if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }\n  if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }\n  uVar2 = bfd_get_mach(param_1);\n  if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;\n  FUN_0002cb90();\nLAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);\n  bfd_map_over_sections(param_1,FUN_0001b900,0);\n  if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }\n  FUN_000354e0();\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (expression_statement "DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);" (assignment_expression "DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0)" (identifier "DAT_0007203c") (= "=") (call_expression "(uint)(((uint)param_1[10] >> 5 & 0x42) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(((uint)param_1[10] >> 5 & 0x42) == 0)" (( "(") (binary_expression "((uint)param_1[10] >> 5 & 0x42) == 0" (parenthesized_expression "((uint)param_1[10] >> 5 & 0x42)" (( "(") (binary_expression "(uint)param_1[10] >> 5 & 0x42" (binary_expression "(uint)param_1[10] >> 5" (cast_expression "(uint)param_1[10]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (>> ">>") (number_literal "5")) (& "&") (number_literal "0x42")) () ")")) (== "==") (number_literal "0")) () ")")))) (; ";")) (expression_statement "uVar2 = bfd_arch_bits_per_address(param_1);" (assignment_expression "uVar2 = bfd_arch_bits_per_address(param_1)" (identifier "uVar2") (= "=") (call_expression "bfd_arch_bits_per_address(param_1)" (identifier "bfd_arch_bits_per_address") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "DAT_00074ab8 = uVar2 >> 3;" (assignment_expression "DAT_00074ab8 = uVar2 >> 3" (identifier "DAT_00074ab8") (= "=") (binary_expression "uVar2 >> 3" (identifier "uVar2") (>> ">>") (number_literal "3"))) (; ";")) (if_statement "if (*(int *)(param_1[1] + 8) == 0) {\n    DAT_00074aec = FUN_00047030;\n  }\n  else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1[1] + 8) == 0)" (( "(") (binary_expression "*(int *)(param_1[1] + 8) == 0" (pointer_expression "*(int *)(param_1[1] + 8)" (* "*") (cast_expression "(int *)(param_1[1] + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[1] + 8)" (( "(") (binary_expression "param_1[1] + 8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_00074aec = FUN_00047030;\n  }" ({ "{") (expression_statement "DAT_00074aec = FUN_00047030;" (assignment_expression "DAT_00074aec = FUN_00047030" (identifier "DAT_00074aec") (= "=") (identifier "FUN_00047030")) (; ";")) (} "}")) (else_clause "else {\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }" (else "else") (compound_statement "{\n    if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }\n    DAT_00074aec = FUN_00047680;\n  }" ({ "{") (if_statement "if (*(int *)(param_1[1] + 8) != 1) {\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1[1] + 8) != 1)" (( "(") (binary_expression "*(int *)(param_1[1] + 8) != 1" (pointer_expression "*(int *)(param_1[1] + 8)" (* "*") (cast_expression "(int *)(param_1[1] + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[1] + 8)" (( "(") (binary_expression "param_1[1] + 8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      uVar1 = *param_1;\n      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);\n      warn(uVar4,uVar1);\n      return;\n    }" ({ "{") (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);" (assignment_expression "uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"File %s does not contain any dwarf debug information\n",5)" (identifier "dcgettext") (argument_list "(0,"File %s does not contain any dwarf debug information\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""File %s does not contain any dwarf debug information\n"" (" """) (string_content "File %s does not contain any dwarf debug information") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "warn(uVar4,uVar1);" (call_expression "warn(uVar4,uVar1)" (identifier "warn") (argument_list "(uVar4,uVar1)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "DAT_00074aec = FUN_00047680;" (assignment_expression "DAT_00074aec = FUN_00047680" (identifier "DAT_00074aec") (= "=") (identifier "FUN_00047680")) (; ";")) (} "}")))) (expression_statement "uVar2 = bfd_get_arch(param_1);" (assignment_expression "uVar2 = bfd_get_arch(param_1)" (identifier "uVar2") (= "=") (call_expression "bfd_get_arch(param_1)" (identifier "bfd_get_arch") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (uVar2 == 0x43) {\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }" (if "if") (parenthesized_expression "(uVar2 == 0x43)" (( "(") (binary_expression "uVar2 == 0x43" (identifier "uVar2") (== "==") (number_literal "0x43")) () ")")) (compound_statement "{\n    FUN_0002cc80();\n    goto LAB_00016fb8;\n  }" ({ "{") (expression_statement "FUN_0002cc80();" (call_expression "FUN_0002cc80()" (identifier "FUN_0002cc80") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_00016fb8;" (goto "goto") (statement_identifier "LAB_00016fb8") (; ";")) (} "}"))) (if_statement "if (0x43 < uVar2) {\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }" (if "if") (parenthesized_expression "(0x43 < uVar2)" (( "(") (binary_expression "0x43 < uVar2" (number_literal "0x43") (< "<") (identifier "uVar2")) () ")")) (compound_statement "{\n    if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }\n    goto LAB_00016fb8;\n  }" ({ "{") (if_statement "if (uVar2 == 0x46) {\n      FUN_0002cc50();\n    }\n    else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }" (if "if") (parenthesized_expression "(uVar2 == 0x46)" (( "(") (binary_expression "uVar2 == 0x46" (identifier "uVar2") (== "==") (number_literal "0x46")) () ")")) (compound_statement "{\n      FUN_0002cc50();\n    }" ({ "{") (expression_statement "FUN_0002cc50();" (call_expression "FUN_0002cc50()" (identifier "FUN_0002cc50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }" (else "else") (if_statement "if (uVar2 == 0x53) {\n      FUN_0002cc20();\n    }" (if "if") (parenthesized_expression "(uVar2 == 0x53)" (( "(") (binary_expression "uVar2 == 0x53" (identifier "uVar2") (== "==") (number_literal "0x53")) () ")")) (compound_statement "{\n      FUN_0002cc20();\n    }" ({ "{") (expression_statement "FUN_0002cc20();" (call_expression "FUN_0002cc20()" (identifier "FUN_0002cc20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))))) (goto_statement "goto LAB_00016fb8;" (goto "goto") (statement_identifier "LAB_00016fb8") (; ";")) (} "}"))) (if_statement "if (uVar2 != 8) {\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }" (if "if") (parenthesized_expression "(uVar2 != 8)" (( "(") (binary_expression "uVar2 != 8" (identifier "uVar2") (!= "!=") (number_literal "8")) () ")")) (compound_statement "{\n    if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }\n    goto LAB_00016fb8;\n  }" ({ "{") (if_statement "if (uVar2 == 0xb) {\n      FUN_0002cbc0();\n    }" (if "if") (parenthesized_expression "(uVar2 == 0xb)" (( "(") (binary_expression "uVar2 == 0xb" (identifier "uVar2") (== "==") (number_literal "0xb")) () ")")) (compound_statement "{\n      FUN_0002cbc0();\n    }" ({ "{") (expression_statement "FUN_0002cbc0();" (call_expression "FUN_0002cbc0()" (identifier "FUN_0002cbc0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_00016fb8;" (goto "goto") (statement_identifier "LAB_00016fb8") (; ";")) (} "}"))) (expression_statement "uVar2 = bfd_get_mach(param_1);" (assignment_expression "uVar2 = bfd_get_mach(param_1)" (identifier "uVar2") (= "=") (call_expression "bfd_get_mach(param_1)" (identifier "bfd_get_mach") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (uVar2 < 0x12) {\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }\n  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;" (if "if") (parenthesized_expression "(uVar2 < 0x12)" (( "(") (binary_expression "uVar2 < 0x12" (identifier "uVar2") (< "<") (number_literal "0x12")) () ")")) (compound_statement "{\n    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }\n  }" ({ "{") (if_statement "if ((0xf < uVar2) || (uVar2 - 8 < 2)) {\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }" (if "if") (parenthesized_expression "((0xf < uVar2) || (uVar2 - 8 < 2))" (( "(") (binary_expression "(0xf < uVar2) || (uVar2 - 8 < 2)" (parenthesized_expression "(0xf < uVar2)" (( "(") (binary_expression "0xf < uVar2" (number_literal "0xf") (< "<") (identifier "uVar2")) () ")")) (|| "||") (parenthesized_expression "(uVar2 - 8 < 2)" (( "(") (binary_expression "uVar2 - 8 < 2" (binary_expression "uVar2 - 8" (identifier "uVar2") (- "-") (number_literal "8")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\nLAB_000170be:\n      FUN_0002cbf0();\n      goto LAB_00016fb8;\n    }" ({ "{") (labeled_statement "LAB_000170be:\n      FUN_0002cbf0();" (statement_identifier "LAB_000170be") (: ":") (expression_statement "FUN_0002cbf0();" (call_expression "FUN_0002cbf0()" (identifier "FUN_0002cbf0") (argument_list "()" (( "(") () ")"))) (; ";"))) (goto_statement "goto LAB_00016fb8;" (goto "goto") (statement_identifier "LAB_00016fb8") (; ";")) (} "}"))) (} "}")) (else_clause "else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;" (else "else") (if_statement "if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;" (if "if") (parenthesized_expression "((uVar2 == 0x88) || (uVar2 == 0x90))" (( "(") (binary_expression "(uVar2 == 0x88) || (uVar2 == 0x90)" (parenthesized_expression "(uVar2 == 0x88)" (( "(") (binary_expression "uVar2 == 0x88" (identifier "uVar2") (== "==") (number_literal "0x88")) () ")")) (|| "||") (parenthesized_expression "(uVar2 == 0x90)" (( "(") (binary_expression "uVar2 == 0x90" (identifier "uVar2") (== "==") (number_literal "0x90")) () ")"))) () ")")) (goto_statement "goto LAB_000170be;" (goto "goto") (statement_identifier "LAB_000170be") (; ";"))))) (expression_statement "FUN_0002cb90();" (call_expression "FUN_0002cb90()" (identifier "FUN_0002cb90") (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_00016fb8:\n  iVar3 = FUN_000351c0(param_1,*param_1);" (statement_identifier "LAB_00016fb8") (: ":") (expression_statement "iVar3 = FUN_000351c0(param_1,*param_1);" (assignment_expression "iVar3 = FUN_000351c0(param_1,*param_1)" (identifier "iVar3") (= "=") (call_expression "FUN_000351c0(param_1,*param_1)" (identifier "FUN_000351c0") (argument_list "(param_1,*param_1)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";"))) (expression_statement "bfd_map_over_sections(param_1,FUN_0001b900,0);" (call_expression "bfd_map_over_sections(param_1,FUN_0001b900,0)" (identifier "bfd_map_over_sections") (argument_list "(param_1,FUN_0001b900,0)" (( "(") (identifier "param_1") (, ",") (identifier "FUN_0001b900") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (iVar3 != 0) {\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    bfd_map_over_sections(iVar3,FUN_0001b900,0);\n  }" ({ "{") (expression_statement "bfd_map_over_sections(iVar3,FUN_0001b900,0);" (call_expression "bfd_map_over_sections(iVar3,FUN_0001b900,0)" (identifier "bfd_map_over_sections") (argument_list "(iVar3,FUN_0001b900,0)" (( "(") (identifier "iVar3") (, ",") (identifier "FUN_0001b900") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000354e0();" (call_expression "FUN_000354e0()" (identifier "FUN_000354e0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *abfd)

{
  type_2 var_3;
  char *pcVar2;
  type_3 var_2;
  void *var_18;
  char *message;
  
  is_relocatable = (bfd_boolean)((*(type_3 *)&abfd->field_0x28 >> 5 & 0x42) == 0);
  var_2 = var_1(abfd);
  eh_addr_size = var_2 >> 3;
  var_3 = abfd->xvec->byteorder;
  if (var_3 == var_4) {
    byte_get = byte_get_big_endian;
  }
  else {
    if (var_3 != var_5) {
      pcVar2 = abfd->filename;
      message = (char *)var_6(0,"File %s does not contain any dwarf debug information\n",5);
      var_7(message,pcVar2);
      return;
    }
    byte_get = byte_get_little_endian;
  }
  var_2 = var_8(abfd);
  if (var_2 == 0x43) {
    var_9();
    goto LAB_00016fb8;
  }
  if (0x43 < var_2) {
    if (var_2 == 0x46) {
      var_10();
    }
    else if (var_2 == 0x53) {
      var_11();
    }
    goto LAB_00016fb8;
  }
  if (var_2 != 8) {
    if (var_2 == 0xb) {
      var_12();
    }
    goto LAB_00016fb8;
  }
  var_2 = var_13(abfd);
  if (var_2 < 0x12) {
    if ((0xf < var_2) || (var_2 - 8 < 2)) {
LAB_000170be:
      var_14();
      goto LAB_00016fb8;
    }
  }
  else if ((var_2 == 0x88) || (var_2 == 0x90)) goto LAB_000170be;
  var_15();
LAB_00016fb8:
  var_18 = var_16(abfd,abfd->filename);
  var_17(abfd,dump_dwarf_section,0);
  if (var_18 != (void *)0x0) {
    var_17(var_18,dump_dwarf_section,0);
  }
  var_19();
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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) (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))) (goto_statement label: (statement_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 (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (goto_statement label: (statement_identifier)))) (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 (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))))) (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 __regparm3 MASKED(undefined4 *param_1)

{
  undefined4 uVar1;
  uint uVar2;
  int iVar3;
  undefined4 uVar4;
  
  DAT_0007203c = (uint)(((uint)param_1[10] >> 5 & 0x42) == 0);
  uVar2 = bfd_arch_bits_per_address(param_1);
  DAT_00074ab8 = uVar2 >> 3;
  if (*(int *)(param_1[1] + 8) == 0) {
    DAT_00074aec = FUN_00047030;
  }
  else {
    if (*(int *)(param_1[1] + 8) != 1) {
      uVar1 = *param_1;
      uVar4 = dcgettext(0,"File %s does not contain any dwarf debug information\n",5);
      warn(uVar4,uVar1);
      return;
    }
    DAT_00074aec = FUN_00047680;
  }
  uVar2 = bfd_get_arch(param_1);
  if (uVar2 == 0x43) {
    FUN_0002cc80();
    goto LAB_00016fb8;
  }
  if (0x43 < uVar2) {
    if (uVar2 == 0x46) {
      FUN_0002cc50();
    }
    else if (uVar2 == 0x53) {
      FUN_0002cc20();
    }
    goto LAB_00016fb8;
  }
  if (uVar2 != 8) {
    if (uVar2 == 0xb) {
      FUN_0002cbc0();
    }
    goto LAB_00016fb8;
  }
  uVar2 = bfd_get_mach(param_1);
  if (uVar2 < 0x12) {
    if ((0xf < uVar2) || (uVar2 - 8 < 2)) {
LAB_000170be:
      FUN_0002cbf0();
      goto LAB_00016fb8;
    }
  }
  else if ((uVar2 == 0x88) || (uVar2 == 0x90)) goto LAB_000170be;
  FUN_0002cb90();
LAB_00016fb8:
  iVar3 = FUN_000351c0(param_1,*param_1);
  bfd_map_over_sections(param_1,FUN_0001b900,0);
  if (iVar3 != 0) {
    bfd_map_over_sections(iVar3,FUN_0001b900,0);
  }
  FUN_000354e0();
  return;
}

