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

void dump_relocs_in_section(bfd *abfd,asection *section,void *dummy)

{
  bfd_boolean bVar1;
  uint uVar2;
  arelent **relpp;
  int relcount;
  char *format;
  char *pcVar3;
  uint uVar4;
  undefined8 uVar5;
  
  if (((section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&
      (section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&
     ((section->flags & 0x1000) == 0)) {
    bVar1 = process_section_p(section);
    if ((bVar1 != 0) && ((section->flags & 4) != 0)) {
      uVar2 = bfd_get_reloc_upper_bound(abfd,section);
      if ((int)uVar2 < 0) {
                    /* WARNING: Subroutine does not return */
        bfd_fatal(abfd->filename);
      }
      printf("RELOCATION RECORDS FOR [%s]:",section->name);
      if (uVar2 == 0) {
        puts(" (none)\n");
      }
      else {
        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {
          uVar5 = bfd_get_file_size(abfd);
          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);
          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||
              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {
LAB_00019d34:
            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);
            bfd_set_error(0x12);
                    /* WARNING: Subroutine does not return */
            bfd_fatal(abfd->filename);
          }
          uVar4 = section->reloc_count;
          uVar5 = bfd_get_file_size(abfd);
          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;
        }
        relpp = (arelent **)xmalloc(uVar2);
        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);
        if (relcount < 0) {
          putchar(10);
          pcVar3 = abfd->filename;
          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);
          non_fatal(format,pcVar3);
          pcVar3 = (char *)dcgettext(0,"error message was",5);
                    /* WARNING: Subroutine does not return */
          bfd_fatal(pcVar3);
        }
        if (relcount == 0) {
          puts(" (none)\n");
        }
        else {
          putchar(10);
          dump_reloc_set(abfd,section,relpp,relcount);
          puts("\n");
        }
        free(relpp);
      }
    }
  }
  return;
}



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

void FUN_00019c50(undefined4 *param_1,undefined4 *param_2)

{
  int iVar1;
  uint uVar2;
  void *__ptr;
  undefined4 uVar3;
  undefined4 uVar4;
  uint uVar5;
  undefined8 uVar6;
  
  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&
      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&
     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {
    iVar1 = FUN_000175a0();
    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {
      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);
      if ((int)uVar2 < 0) {
                    /* WARNING: Subroutine does not return */
        FUN_00047960(*param_1);
      }
      printf("RELOCATION RECORDS FOR [%s]:",*param_2);
      if (uVar2 == 0) {
        puts(" (none)\n");
      }
      else {
        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {
          uVar6 = bfd_get_file_size(param_1);
          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);
          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||
              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {
LAB_00019d34:
            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);
            bfd_set_error(0x12);
                    /* WARNING: Subroutine does not return */
            FUN_00047960(*param_1);
          }
          uVar5 = param_2[0x19];
          uVar6 = bfd_get_file_size(param_1);
          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;
        }
        __ptr = (void *)xmalloc(uVar2);
        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);
        if (iVar1 < 0) {
          putchar(10);
          uVar4 = *param_1;
          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);
          FUN_00047a20(uVar3,uVar4);
          uVar4 = dcgettext(0,"error message was",5);
                    /* WARNING: Subroutine does not return */
          FUN_00047960(uVar4);
        }
        if (iVar1 == 0) {
          puts(" (none)\n");
        }
        else {
          putchar(10);
          FUN_00016780(iVar1);
          puts("\n");
        }
        free(__ptr);
      }
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000153d0
ADD EBX,0x593a7
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [EBX + 0xffffffd8]
LEA EDX,[EAX + 0x180]
CMP ESI,EDX
JZ 0x00019c85
ADD EAX,0xc0
CMP ESI,EAX
JZ 0x00019c85
TEST byte ptr [ESI + 0x15],0x10
JZ 0x00019c90
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,ESI
CALL 0x000175a0
TEST EAX,EAX
JZ 0x00019c85
TEST byte ptr [ESI + 0x14],0x4
JZ 0x00019c85
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [ESP + 0x3c]
CALL 0x00014770
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JS 0x00019e3e
SUB ESP,0x8
LEA EAX,[EBX + 0xfffdc976]
PUSH dword ptr [ESI]
PUSH EAX
CALL 0x000140b0
ADD ESP,0x10
TEST EDI,EDI
JZ 0x00019de0
MOV EAX,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [EAX + 0x28]
MOV dword ptr [ESP + 0x8],EAX
SHR EAX,0x5
TEST AH,0x18
JNZ 0x00019d60
SUB ESP,0xc
PUSH dword ptr [ESP + 0x3c]
CALL 0x00014470
MOV ECX,EDI
MOV dword ptr [ESP + 0x18],EDI
SAR ECX,0x1f
MOV dword ptr [ESP + 0x1c],ECX
ADD ESP,0x10
CMP EAX,EDI
SBB EDX,dword ptr [ESP + 0xc]
JC 0x00019d34
MOV EAX,dword ptr [ESI + 0x64]
XOR EDX,EDX
SUB ESP,0xc
MOV dword ptr [ESP + 0x18],EDX
MOV dword ptr [ESP + 0x14],EAX
PUSH dword ptr [ESP + 0x3c]
CALL 0x00014470
ADD ESP,0x10
CMP EAX,dword ptr [ESP + 0x8]
SBB EDX,dword ptr [ESP + 0xc]
JNC 0x00019d60
LEA EAX,[EBX + 0xfffdc993]
PUSH EDI
PUSH EDI
PUSH dword ptr [ESI + 0x64]
PUSH EAX
CALL 0x000140b0
MOV dword ptr [ESP],0x12
CALL 0x000142d0
POP EBP
MOV EAX,dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX]
CALL 0x00047960
SUB ESP,0xc
PUSH EDI
CALL 0x000142b0
PUSH dword ptr [EBX + 0x1078]
PUSH EAX
MOV EDI,EAX
PUSH ESI
PUSH dword ptr [ESP + 0x4c]
CALL 0x000146f0
ADD ESP,0x20
MOV EBP,EAX
TEST EAX,EAX
JS 0x00019df7
JZ 0x00019dc8
SUB ESP,0xc
PUSH 0xa
CALL 0x00014530
MOV EAX,dword ptr [ESP + 0x40]
MOV ECX,EDI
MOV EDX,ESI
MOV dword ptr [ESP],EBP
CALL 0x00016780
LEA EAX,[EBX + 0xfffe084b]
MOV dword ptr [ESP],EAX
CALL 0x000143d0
ADD ESP,0x10
SUB ESP,0xc
PUSH EDI
CALL 0x00014120
ADD ESP,0x10
JMP 0x00019c85
SUB ESP,0xc
LEA EAX,[EBX + 0xfffdc8b4]
PUSH EAX
CALL 0x000143d0
ADD ESP,0x10
JMP 0x00019db2
SUB ESP,0xc
LEA EAX,[EBX + 0xfffdc8b4]
PUSH EAX
CALL 0x000143d0
ADD ESP,0x10
JMP 0x00019c85
SUB ESP,0xc
PUSH 0xa
CALL 0x00014530
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0xc
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xfffdc9a6]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141f0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00047a20
ADD ESP,0xc
LEA EAX,[EBX + 0xfffdc7db]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141f0
MOV dword ptr [ESP],EAX
CALL 0x00047960
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX]
CALL 0x00047960
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00019c50(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00019c50(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00019c50(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (if_statement "if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }" if (parenthesized_expression "(((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0))" ( (binary_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" (parenthesized_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0)))" ( (binary_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))" (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180))" ( (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)" identifier != (cast_expression "(undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00072fd8 + 0x180)" ( (binary_expression "PTR__bfd_std_section_00072fd8 + 0x180" identifier + number_literal) )))) )) && (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))" ( (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0)" identifier != (cast_expression "(undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00072fd8 + 0xc0)" ( (binary_expression "PTR__bfd_std_section_00072fd8 + 0xc0" identifier + number_literal) )))) ))) )) && (parenthesized_expression "((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" ( (binary_expression "(*(byte *)((int)param_2 + 0x15) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)param_2 + 0x15) & 0x10)" ( (binary_expression "*(byte *)((int)param_2 + 0x15) & 0x10" (pointer_expression "*(byte *)((int)param_2 + 0x15)" * (cast_expression "(byte *)((int)param_2 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0x15)" ( (binary_expression "(int)param_2 + 0x15" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }" { (expression_statement "iVar1 = FUN_000175a0();" (assignment_expression "iVar1 = FUN_000175a0()" identifier = (call_expression "FUN_000175a0()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }" if (parenthesized_expression "((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0))" ( (binary_expression "(iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(byte *)(param_2 + 5) & 4) != 0)" ( (binary_expression "(*(byte *)(param_2 + 5) & 4) != 0" (parenthesized_expression "(*(byte *)(param_2 + 5) & 4)" ( (binary_expression "*(byte *)(param_2 + 5) & 4" (pointer_expression "*(byte *)(param_2 + 5)" * (cast_expression "(byte *)(param_2 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 5)" ( (binary_expression "param_2 + 5" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }" { (expression_statement "uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);" (assignment_expression "uVar2 = bfd_get_reloc_upper_bound(param_1,param_2)" identifier = (call_expression "bfd_get_reloc_upper_bound(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00047960(*param_1);\n      }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00047960(*param_1);\n      }" { comment (expression_statement "FUN_00047960(*param_1);" (call_expression "FUN_00047960(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) })) (expression_statement "printf("RELOCATION RECORDS FOR [%s]:",*param_2);" (call_expression "printf("RELOCATION RECORDS FOR [%s]:",*param_2)" identifier (argument_list "("RELOCATION RECORDS FOR [%s]:",*param_2)" ( (string_literal ""RELOCATION RECORDS FOR [%s]:"" " string_content ") , (pointer_expression "*param_2" * identifier) ))) ;) (if_statement "if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        puts(" (none)\n");\n      }" { (expression_statement "puts(" (none)\n");" (call_expression "puts(" (none)\n")" identifier (argument_list "(" (none)\n")" ( (string_literal "" (none)\n"" " string_content escape_sequence ") ))) ;) }) (else_clause "else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }" else (compound_statement "{\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }" { (if_statement "if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }" if (parenthesized_expression "(((uint)param_1[10] >> 5 & 0x1800) == 0)" ( (binary_expression "((uint)param_1[10] >> 5 & 0x1800) == 0" (parenthesized_expression "((uint)param_1[10] >> 5 & 0x1800)" ( (binary_expression "(uint)param_1[10] >> 5 & 0x1800" (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) )) (compound_statement "{\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }" { (expression_statement "uVar6 = bfd_get_file_size(param_1);" (assignment_expression "uVar6 = bfd_get_file_size(param_1)" identifier = (call_expression "bfd_get_file_size(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar5 = (uint)((ulonglong)uVar6 >> 0x20);" (assignment_expression "uVar5 = (uint)((ulonglong)uVar6 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }" if (parenthesized_expression "(uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2))" ( (binary_expression "uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)" (binary_expression "uVar5 < (uint)((int)uVar2 >> 0x1f)" identifier < (call_expression "(uint)((int)uVar2 >> 0x1f)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) || (binary_expression "uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)" (binary_expression "uVar5 - ((int)uVar2 >> 0x1f)" identifier - (parenthesized_expression "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) < (call_expression "(uint)((uint)uVar6 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)uVar6 < uVar2)" ( (binary_expression "(uint)uVar6 < uVar2" (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))))) )) (compound_statement "{\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            FUN_00047960(*param_1);\n          }" { (labeled_statement "LAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);" statement_identifier : (expression_statement "printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);" (call_expression "printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2)" identifier (argument_list "(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2)" ( (string_literal "" (too many: 0x%x)\n"" " string_content escape_sequence ") , (subscript_expression "param_2[0x19]" identifier [ number_literal ]) , identifier , identifier ))) ;)) (expression_statement "bfd_set_error(0x12);" (call_expression "bfd_set_error(0x12)" identifier (argument_list "(0x12)" ( number_literal ))) ;) comment (expression_statement "FUN_00047960(*param_1);" (call_expression "FUN_00047960(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) })) (expression_statement "uVar5 = param_2[0x19];" (assignment_expression "uVar5 = param_2[0x19]" identifier = (subscript_expression "param_2[0x19]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = bfd_get_file_size(param_1);" (assignment_expression "uVar6 = bfd_get_file_size(param_1)" identifier = (call_expression "bfd_get_file_size(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;" if (parenthesized_expression "((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5))" ( (binary_expression "(uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)" (call_expression "(uint)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) < (call_expression "(uint)((uint)uVar6 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)uVar6 < uVar5)" ( (binary_expression "(uint)uVar6 < uVar5" (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) )) (goto_statement "goto LAB_00019d34;" goto statement_identifier ;)) })) (expression_statement "__ptr = (void *)xmalloc(uVar2);" (assignment_expression "__ptr = (void *)xmalloc(uVar2)" identifier = (cast_expression "(void *)xmalloc(uVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))))) ;) (expression_statement "iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);" (assignment_expression "iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078)" identifier = (call_expression "bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078)" identifier (argument_list "(param_1,param_2,__ptr,DAT_00074078)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          FUN_00047960(uVar4);\n        }" { (expression_statement "putchar(10);" (call_expression "putchar(10)" identifier (argument_list "(10)" ( number_literal ))) ;) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar3 = dcgettext(0,"failed to read relocs in: %s",5);" (assignment_expression "uVar3 = dcgettext(0,"failed to read relocs in: %s",5)" identifier = (call_expression "dcgettext(0,"failed to read relocs in: %s",5)" identifier (argument_list "(0,"failed to read relocs in: %s",5)" ( number_literal , (string_literal ""failed to read relocs in: %s"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00047a20(uVar3,uVar4);" (call_expression "FUN_00047a20(uVar3,uVar4)" identifier (argument_list "(uVar3,uVar4)" ( identifier , identifier ))) ;) (expression_statement "uVar4 = dcgettext(0,"error message was",5);" (assignment_expression "uVar4 = dcgettext(0,"error message was",5)" identifier = (call_expression "dcgettext(0,"error message was",5)" identifier (argument_list "(0,"error message was",5)" ( number_literal , (string_literal ""error message was"" " string_content ") , number_literal )))) ;) comment (expression_statement "FUN_00047960(uVar4);" (call_expression "FUN_00047960(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) })) (if_statement "if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          puts(" (none)\n");\n        }" { (expression_statement "puts(" (none)\n");" (call_expression "puts(" (none)\n")" identifier (argument_list "(" (none)\n")" ( (string_literal "" (none)\n"" " string_content escape_sequence ") ))) ;) }) (else_clause "else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }" else (compound_statement "{\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }" { (expression_statement "putchar(10);" (call_expression "putchar(10)" identifier (argument_list "(10)" ( number_literal ))) ;) (expression_statement "FUN_00016780(iVar1);" (call_expression "FUN_00016780(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "puts("\n");" (call_expression "puts("\n")" identifier (argument_list "("\n")" ( (string_literal ""\n"" " escape_sequence ") ))) ;) }))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) }))) })) })) (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 */\n\nvoid dump_relocs_in_section(bfd *abfd,asection *section,void *dummy)\n\n{\n  bfd_boolean bVar1;\n  uint uVar2;\n  arelent **relpp;\n  int relcount;\n  char *format;\n  char *pcVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  if (((section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((section->flags & 0x1000) == 0)) {\n    bVar1 = process_section_p(section);\n    if ((bVar1 != 0) && ((section->flags & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(abfd,section);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bfd_fatal(abfd->filename);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",section->name);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }\n        relpp = (arelent **)xmalloc(uVar2);\n        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);\n        if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }\n        if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }\n        free(relpp);\n      }\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void dump_relocs_in_section(bfd *abfd,asection *section,void *dummy)\n\n{\n  bfd_boolean bVar1;\n  uint uVar2;\n  arelent **relpp;\n  int relcount;\n  char *format;\n  char *pcVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  if (((section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((section->flags & 0x1000) == 0)) {\n    bVar1 = process_section_p(section);\n    if ((bVar1 != 0) && ((section->flags & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(abfd,section);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bfd_fatal(abfd->filename);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",section->name);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }\n        relpp = (arelent **)xmalloc(uVar2);\n        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);\n        if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }\n        if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }\n        free(relpp);\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "dump_relocs_in_section(bfd *abfd,asection *section,void *dummy)" identifier (parameter_list "(bfd *abfd,asection *section,void *dummy)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *section" type_identifier (pointer_declarator "*section" * identifier)) , (parameter_declaration "void *dummy" primitive_type (pointer_declarator "*dummy" * identifier)) ))) (compound_statement "{\n  bfd_boolean bVar1;\n  uint uVar2;\n  arelent **relpp;\n  int relcount;\n  char *format;\n  char *pcVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  if (((section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((section->flags & 0x1000) == 0)) {\n    bVar1 = process_section_p(section);\n    if ((bVar1 != 0) && ((section->flags & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(abfd,section);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bfd_fatal(abfd->filename);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",section->name);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }\n        relpp = (arelent **)xmalloc(uVar2);\n        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);\n        if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }\n        if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }\n        free(relpp);\n      }\n    }\n  }\n  return;\n}" { (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "arelent **relpp;" type_identifier (pointer_declarator "**relpp" * (pointer_declarator "*relpp" * identifier)) ;) (declaration "int relcount;" primitive_type identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (if_statement "if (((section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((section->flags & 0x1000) == 0)) {\n    bVar1 = process_section_p(section);\n    if ((bVar1 != 0) && ((section->flags & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(abfd,section);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bfd_fatal(abfd->filename);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",section->name);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }\n        relpp = (arelent **)xmalloc(uVar2);\n        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);\n        if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }\n        if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }\n        free(relpp);\n      }\n    }\n  }" if (parenthesized_expression "(((section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((section->flags & 0x1000) == 0))" ( (binary_expression "((section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((section->flags & 0x1000) == 0)" (parenthesized_expression "((section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0)))" ( (binary_expression "(section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0))" (parenthesized_expression "(section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180))" ( (binary_expression "section != (asection *)(PTR__bfd_std_section_00072fd8 + 0x180)" identifier != (cast_expression "(asection *)(PTR__bfd_std_section_00072fd8 + 0x180)" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00072fd8 + 0x180)" ( (binary_expression "PTR__bfd_std_section_00072fd8 + 0x180" identifier + number_literal) )))) )) && (parenthesized_expression "(section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0))" ( (binary_expression "section != (asection *)(PTR__bfd_std_section_00072fd8 + 0xc0)" identifier != (cast_expression "(asection *)(PTR__bfd_std_section_00072fd8 + 0xc0)" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00072fd8 + 0xc0)" ( (binary_expression "PTR__bfd_std_section_00072fd8 + 0xc0" identifier + number_literal) )))) ))) )) && (parenthesized_expression "((section->flags & 0x1000) == 0)" ( (binary_expression "(section->flags & 0x1000) == 0" (parenthesized_expression "(section->flags & 0x1000)" ( (binary_expression "section->flags & 0x1000" (field_expression "section->flags" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    bVar1 = process_section_p(section);\n    if ((bVar1 != 0) && ((section->flags & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(abfd,section);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bfd_fatal(abfd->filename);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",section->name);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }\n        relpp = (arelent **)xmalloc(uVar2);\n        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);\n        if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }\n        if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }\n        free(relpp);\n      }\n    }\n  }" { (expression_statement "bVar1 = process_section_p(section);" (assignment_expression "bVar1 = process_section_p(section)" identifier = (call_expression "process_section_p(section)" identifier (argument_list "(section)" ( identifier )))) ;) (if_statement "if ((bVar1 != 0) && ((section->flags & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(abfd,section);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bfd_fatal(abfd->filename);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",section->name);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }\n        relpp = (arelent **)xmalloc(uVar2);\n        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);\n        if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }\n        if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }\n        free(relpp);\n      }\n    }" if (parenthesized_expression "((bVar1 != 0) && ((section->flags & 4) != 0))" ( (binary_expression "(bVar1 != 0) && ((section->flags & 4) != 0)" (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((section->flags & 4) != 0)" ( (binary_expression "(section->flags & 4) != 0" (parenthesized_expression "(section->flags & 4)" ( (binary_expression "section->flags & 4" (field_expression "section->flags" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      uVar2 = bfd_get_reloc_upper_bound(abfd,section);\n      if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bfd_fatal(abfd->filename);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",section->name);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }\n        relpp = (arelent **)xmalloc(uVar2);\n        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);\n        if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }\n        if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }\n        free(relpp);\n      }\n    }" { (expression_statement "uVar2 = bfd_get_reloc_upper_bound(abfd,section);" (assignment_expression "uVar2 = bfd_get_reloc_upper_bound(abfd,section)" identifier = (call_expression "bfd_get_reloc_upper_bound(abfd,section)" identifier (argument_list "(abfd,section)" ( identifier , identifier )))) ;) (if_statement "if ((int)uVar2 < 0) {\n                    /* WARNING: Subroutine does not return */\n        bfd_fatal(abfd->filename);\n      }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        bfd_fatal(abfd->filename);\n      }" { comment (expression_statement "bfd_fatal(abfd->filename);" (call_expression "bfd_fatal(abfd->filename)" identifier (argument_list "(abfd->filename)" ( (field_expression "abfd->filename" identifier -> field_identifier) ))) ;) })) (expression_statement "printf("RELOCATION RECORDS FOR [%s]:",section->name);" (call_expression "printf("RELOCATION RECORDS FOR [%s]:",section->name)" identifier (argument_list "("RELOCATION RECORDS FOR [%s]:",section->name)" ( (string_literal ""RELOCATION RECORDS FOR [%s]:"" " string_content ") , (field_expression "section->name" identifier -> field_identifier) ))) ;) (if_statement "if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }\n        relpp = (arelent **)xmalloc(uVar2);\n        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);\n        if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }\n        if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }\n        free(relpp);\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        puts(" (none)\n");\n      }" { (expression_statement "puts(" (none)\n");" (call_expression "puts(" (none)\n")" identifier (argument_list "(" (none)\n")" ( (string_literal "" (none)\n"" " string_content escape_sequence ") ))) ;) }) (else_clause "else {\n        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }\n        relpp = (arelent **)xmalloc(uVar2);\n        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);\n        if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }\n        if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }\n        free(relpp);\n      }" else (compound_statement "{\n        if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }\n        relpp = (arelent **)xmalloc(uVar2);\n        relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);\n        if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }\n        if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }\n        free(relpp);\n      }" { (if_statement "if ((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }" if (parenthesized_expression "((*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0)" ( (binary_expression "(*(uint *)&abfd->field_0x28 >> 5 & 0x1800) == 0" (parenthesized_expression "(*(uint *)&abfd->field_0x28 >> 5 & 0x1800)" ( (binary_expression "*(uint *)&abfd->field_0x28 >> 5 & 0x1800" (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) )) (compound_statement "{\n          uVar5 = bfd_get_file_size(abfd);\n          uVar4 = (uint)((ulonglong)uVar5 >> 0x20);\n          if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }\n          uVar4 = section->reloc_count;\n          uVar5 = bfd_get_file_size(abfd);\n          if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;\n        }" { (expression_statement "uVar5 = bfd_get_file_size(abfd);" (assignment_expression "uVar5 = bfd_get_file_size(abfd)" identifier = (call_expression "bfd_get_file_size(abfd)" identifier (argument_list "(abfd)" ( identifier )))) ;) (expression_statement "uVar4 = (uint)((ulonglong)uVar5 >> 0x20);" (assignment_expression "uVar4 = (uint)((ulonglong)uVar5 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar5 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }" if (parenthesized_expression "(uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2))" ( (binary_expression "uVar4 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)" (binary_expression "uVar4 < (uint)((int)uVar2 >> 0x1f)" identifier < (call_expression "(uint)((int)uVar2 >> 0x1f)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) || (binary_expression "uVar4 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar5 < uVar2)" (binary_expression "uVar4 - ((int)uVar2 >> 0x1f)" identifier - (parenthesized_expression "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) < (call_expression "(uint)((uint)uVar5 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)uVar5 < uVar2)" ( (binary_expression "(uint)uVar5 < uVar2" (cast_expression "(uint)uVar5" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))))) )) (compound_statement "{\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);\n            bfd_set_error(0x12);\n                    /* WARNING: Subroutine does not return */\n            bfd_fatal(abfd->filename);\n          }" { (labeled_statement "LAB_00019d34:\n            printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);" statement_identifier : (expression_statement "printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2);" (call_expression "printf(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2)" identifier (argument_list "(" (too many: 0x%x)\n",section->reloc_count,uVar2,uVar2)" ( (string_literal "" (too many: 0x%x)\n"" " string_content escape_sequence ") , (field_expression "section->reloc_count" identifier -> field_identifier) , identifier , identifier ))) ;)) (expression_statement "bfd_set_error(0x12);" (call_expression "bfd_set_error(0x12)" identifier (argument_list "(0x12)" ( number_literal ))) ;) comment (expression_statement "bfd_fatal(abfd->filename);" (call_expression "bfd_fatal(abfd->filename)" identifier (argument_list "(abfd->filename)" ( (field_expression "abfd->filename" identifier -> field_identifier) ))) ;) })) (expression_statement "uVar4 = section->reloc_count;" (assignment_expression "uVar4 = section->reloc_count" identifier = (field_expression "section->reloc_count" identifier -> field_identifier)) ;) (expression_statement "uVar5 = bfd_get_file_size(abfd);" (assignment_expression "uVar5 = bfd_get_file_size(abfd)" identifier = (call_expression "bfd_get_file_size(abfd)" identifier (argument_list "(abfd)" ( identifier )))) ;) (if_statement "if ((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)) goto LAB_00019d34;" if (parenthesized_expression "((uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4))" ( (binary_expression "(uint)((ulonglong)uVar5 >> 0x20) < (uint)((uint)uVar5 < uVar4)" (call_expression "(uint)((ulonglong)uVar5 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) < (call_expression "(uint)((uint)uVar5 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)uVar5 < uVar4)" ( (binary_expression "(uint)uVar5 < uVar4" (cast_expression "(uint)uVar5" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) )) (goto_statement "goto LAB_00019d34;" goto statement_identifier ;)) })) (expression_statement "relpp = (arelent **)xmalloc(uVar2);" (assignment_expression "relpp = (arelent **)xmalloc(uVar2)" identifier = (cast_expression "(arelent **)xmalloc(uVar2)" ( (type_descriptor "arelent **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xmalloc(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))))) ;) (expression_statement "relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms);" (assignment_expression "relcount = bfd_canonicalize_reloc(abfd,section,relpp,syms)" identifier = (call_expression "bfd_canonicalize_reloc(abfd,section,relpp,syms)" identifier (argument_list "(abfd,section,relpp,syms)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (relcount < 0) {\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }" if (parenthesized_expression "(relcount < 0)" ( (binary_expression "relcount < 0" identifier < number_literal) )) (compound_statement "{\n          putchar(10);\n          pcVar3 = abfd->filename;\n          format = (char *)dcgettext(0,"failed to read relocs in: %s",5);\n          non_fatal(format,pcVar3);\n          pcVar3 = (char *)dcgettext(0,"error message was",5);\n                    /* WARNING: Subroutine does not return */\n          bfd_fatal(pcVar3);\n        }" { (expression_statement "putchar(10);" (call_expression "putchar(10)" identifier (argument_list "(10)" ( number_literal ))) ;) (expression_statement "pcVar3 = abfd->filename;" (assignment_expression "pcVar3 = abfd->filename" identifier = (field_expression "abfd->filename" identifier -> field_identifier)) ;) (expression_statement "format = (char *)dcgettext(0,"failed to read relocs in: %s",5);" (assignment_expression "format = (char *)dcgettext(0,"failed to read relocs in: %s",5)" identifier = (cast_expression "(char *)dcgettext(0,"failed to read relocs in: %s",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"failed to read relocs in: %s",5)" identifier (argument_list "(0,"failed to read relocs in: %s",5)" ( number_literal , (string_literal ""failed to read relocs in: %s"" " string_content ") , number_literal ))))) ;) (expression_statement "non_fatal(format,pcVar3);" (call_expression "non_fatal(format,pcVar3)" identifier (argument_list "(format,pcVar3)" ( identifier , identifier ))) ;) (expression_statement "pcVar3 = (char *)dcgettext(0,"error message was",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"error message was",5)" identifier = (cast_expression "(char *)dcgettext(0,"error message was",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"error message was",5)" identifier (argument_list "(0,"error message was",5)" ( number_literal , (string_literal ""error message was"" " string_content ") , number_literal ))))) ;) comment (expression_statement "bfd_fatal(pcVar3);" (call_expression "bfd_fatal(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) })) (if_statement "if (relcount == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }" if (parenthesized_expression "(relcount == 0)" ( (binary_expression "relcount == 0" identifier == number_literal) )) (compound_statement "{\n          puts(" (none)\n");\n        }" { (expression_statement "puts(" (none)\n");" (call_expression "puts(" (none)\n")" identifier (argument_list "(" (none)\n")" ( (string_literal "" (none)\n"" " string_content escape_sequence ") ))) ;) }) (else_clause "else {\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }" else (compound_statement "{\n          putchar(10);\n          dump_reloc_set(abfd,section,relpp,relcount);\n          puts("\n");\n        }" { (expression_statement "putchar(10);" (call_expression "putchar(10)" identifier (argument_list "(10)" ( number_literal ))) ;) (expression_statement "dump_reloc_set(abfd,section,relpp,relcount);" (call_expression "dump_reloc_set(abfd,section,relpp,relcount)" identifier (argument_list "(abfd,section,relpp,relcount)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "puts("\n");" (call_expression "puts("\n")" identifier (argument_list "("\n")" ( (string_literal ""\n"" " escape_sequence ") ))) ;) }))) (expression_statement "free(relpp);" (call_expression "free(relpp)" identifier (argument_list "(relpp)" ( identifier ))) ;) }))) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00019c50(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00019c50(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00019c50(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (if_statement "if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }" if (parenthesized_expression "(((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0))" ( (binary_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" (parenthesized_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0)))" ( (binary_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))" (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180))" ( (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)" identifier != (cast_expression "(undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00072fd8 + 0x180)" ( (binary_expression "PTR__bfd_std_section_00072fd8 + 0x180" identifier + number_literal) )))) )) && (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))" ( (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0)" identifier != (cast_expression "(undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00072fd8 + 0xc0)" ( (binary_expression "PTR__bfd_std_section_00072fd8 + 0xc0" identifier + number_literal) )))) ))) )) && (parenthesized_expression "((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" ( (binary_expression "(*(byte *)((int)param_2 + 0x15) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)param_2 + 0x15) & 0x10)" ( (binary_expression "*(byte *)((int)param_2 + 0x15) & 0x10" (pointer_expression "*(byte *)((int)param_2 + 0x15)" * (cast_expression "(byte *)((int)param_2 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0x15)" ( (binary_expression "(int)param_2 + 0x15" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }" { (expression_statement "iVar1 = FUN_000175a0();" (assignment_expression "iVar1 = FUN_000175a0()" identifier = (call_expression "FUN_000175a0()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }" if (parenthesized_expression "((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0))" ( (binary_expression "(iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(byte *)(param_2 + 5) & 4) != 0)" ( (binary_expression "(*(byte *)(param_2 + 5) & 4) != 0" (parenthesized_expression "(*(byte *)(param_2 + 5) & 4)" ( (binary_expression "*(byte *)(param_2 + 5) & 4" (pointer_expression "*(byte *)(param_2 + 5)" * (cast_expression "(byte *)(param_2 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 5)" ( (binary_expression "param_2 + 5" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }" { (expression_statement "uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);" (assignment_expression "uVar2 = bfd_get_reloc_upper_bound(param_1,param_2)" identifier = (call_expression "bfd_get_reloc_upper_bound(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                    \n        FUN_00047960(*param_1);\n      }" { (expression_statement "FUN_00047960(*param_1);" (call_expression "FUN_00047960(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) })) (expression_statement "printf("RELOCATION RECORDS FOR [%s]:",*param_2);" (call_expression "printf("RELOCATION RECORDS FOR [%s]:",*param_2)" identifier (argument_list "("RELOCATION RECORDS FOR [%s]:",*param_2)" ( (string_literal ""RELOCATION RECORDS FOR [%s]:"" " string_content ") , (pointer_expression "*param_2" * identifier) ))) ;) (if_statement "if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        puts(" (none)\n");\n      }" { (expression_statement "puts(" (none)\n");" (call_expression "puts(" (none)\n")" identifier (argument_list "(" (none)\n")" ( (string_literal "" (none)\n"" " string_content escape_sequence ") ))) ;) }) (else_clause "else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }" else (compound_statement "{\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }" { (if_statement "if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }" if (parenthesized_expression "(((uint)param_1[10] >> 5 & 0x1800) == 0)" ( (binary_expression "((uint)param_1[10] >> 5 & 0x1800) == 0" (parenthesized_expression "((uint)param_1[10] >> 5 & 0x1800)" ( (binary_expression "(uint)param_1[10] >> 5 & 0x1800" (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) )) (compound_statement "{\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }" { (expression_statement "uVar6 = bfd_get_file_size(param_1);" (assignment_expression "uVar6 = bfd_get_file_size(param_1)" identifier = (call_expression "bfd_get_file_size(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar5 = (uint)((ulonglong)uVar6 >> 0x20);" (assignment_expression "uVar5 = (uint)((ulonglong)uVar6 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }" if (parenthesized_expression "(uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2))" ( (binary_expression "uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)" (binary_expression "uVar5 < (uint)((int)uVar2 >> 0x1f)" identifier < (call_expression "(uint)((int)uVar2 >> 0x1f)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) || (binary_expression "uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)" (binary_expression "uVar5 - ((int)uVar2 >> 0x1f)" identifier - (parenthesized_expression "((int)uVar2 >> 0x1f)" ( (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) < (call_expression "(uint)((uint)uVar6 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)uVar6 < uVar2)" ( (binary_expression "(uint)uVar6 < uVar2" (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))))) )) (compound_statement "{\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }" { (labeled_statement "LAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);" statement_identifier : (expression_statement "printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);" (call_expression "printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2)" identifier (argument_list "(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2)" ( (string_literal "" (too many: 0x%x)\n"" " string_content escape_sequence ") , (subscript_expression "param_2[0x19]" identifier [ number_literal ]) , identifier , identifier ))) ;)) (expression_statement "bfd_set_error(0x12);" (call_expression "bfd_set_error(0x12)" identifier (argument_list "(0x12)" ( number_literal ))) ;) (expression_statement "FUN_00047960(*param_1);" (call_expression "FUN_00047960(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) })) (expression_statement "uVar5 = param_2[0x19];" (assignment_expression "uVar5 = param_2[0x19]" identifier = (subscript_expression "param_2[0x19]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = bfd_get_file_size(param_1);" (assignment_expression "uVar6 = bfd_get_file_size(param_1)" identifier = (call_expression "bfd_get_file_size(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;" if (parenthesized_expression "((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5))" ( (binary_expression "(uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)" (call_expression "(uint)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) < (call_expression "(uint)((uint)uVar6 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)uVar6 < uVar5)" ( (binary_expression "(uint)uVar6 < uVar5" (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) )) (goto_statement "goto LAB_00019d34;" goto statement_identifier ;)) })) (expression_statement "__ptr = (void *)xmalloc(uVar2);" (assignment_expression "__ptr = (void *)xmalloc(uVar2)" identifier = (cast_expression "(void *)xmalloc(uVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))))) ;) (expression_statement "iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);" (assignment_expression "iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078)" identifier = (call_expression "bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078)" identifier (argument_list "(param_1,param_2,__ptr,DAT_00074078)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }" { (expression_statement "putchar(10);" (call_expression "putchar(10)" identifier (argument_list "(10)" ( number_literal ))) ;) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar3 = dcgettext(0,"failed to read relocs in: %s",5);" (assignment_expression "uVar3 = dcgettext(0,"failed to read relocs in: %s",5)" identifier = (call_expression "dcgettext(0,"failed to read relocs in: %s",5)" identifier (argument_list "(0,"failed to read relocs in: %s",5)" ( number_literal , (string_literal ""failed to read relocs in: %s"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00047a20(uVar3,uVar4);" (call_expression "FUN_00047a20(uVar3,uVar4)" identifier (argument_list "(uVar3,uVar4)" ( identifier , identifier ))) ;) (expression_statement "uVar4 = dcgettext(0,"error message was",5);" (assignment_expression "uVar4 = dcgettext(0,"error message was",5)" identifier = (call_expression "dcgettext(0,"error message was",5)" identifier (argument_list "(0,"error message was",5)" ( number_literal , (string_literal ""error message was"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00047960(uVar4);" (call_expression "FUN_00047960(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) })) (if_statement "if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          puts(" (none)\n");\n        }" { (expression_statement "puts(" (none)\n");" (call_expression "puts(" (none)\n")" identifier (argument_list "(" (none)\n")" ( (string_literal "" (none)\n"" " string_content escape_sequence ") ))) ;) }) (else_clause "else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }" else (compound_statement "{\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }" { (expression_statement "putchar(10);" (call_expression "putchar(10)" identifier (argument_list "(10)" ( number_literal ))) ;) (expression_statement "FUN_00016780(iVar1);" (call_expression "FUN_00016780(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "puts("\n");" (call_expression "puts("\n")" identifier (argument_list "("\n")" ( (string_literal ""\n"" " escape_sequence ") ))) ;) }))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) }))) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (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 ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) >> LIT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) || (binary_expression (binary_expression IDENT - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) ))))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence ") ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) })) })) (return_statement return ;) })))
(function_definition "void FUN_00019c50(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00019c50(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_00019c50") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  void *__ptr;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  undefined8 uVar6;\n  \n  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined8 uVar6;" (type_identifier "undefined8") (identifier "uVar6") (; ";")) (if_statement "if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0))" (( "(") (binary_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&\n     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" (parenthesized_expression "((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0)))" (( "(") (binary_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&\n      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))" (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180))" (( "(") (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)" (identifier "param_2") (!= "!=") (cast_expression "(undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__bfd_std_section_00072fd8 + 0x180)" (( "(") (binary_expression "PTR__bfd_std_section_00072fd8 + 0x180" (identifier "PTR__bfd_std_section_00072fd8") (+ "+") (number_literal "0x180")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))" (( "(") (binary_expression "param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0)" (identifier "param_2") (!= "!=") (cast_expression "(undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__bfd_std_section_00072fd8 + 0xc0)" (( "(") (binary_expression "PTR__bfd_std_section_00072fd8 + 0xc0" (identifier "PTR__bfd_std_section_00072fd8") (+ "+") (number_literal "0xc0")) () ")")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)" (( "(") (binary_expression "(*(byte *)((int)param_2 + 0x15) & 0x10) == 0" (parenthesized_expression "(*(byte *)((int)param_2 + 0x15) & 0x10)" (( "(") (binary_expression "*(byte *)((int)param_2 + 0x15) & 0x10" (pointer_expression "*(byte *)((int)param_2 + 0x15)" (* "*") (cast_expression "(byte *)((int)param_2 + 0x15)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 0x15)" (( "(") (binary_expression "(int)param_2 + 0x15" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "0x15")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    iVar1 = FUN_000175a0();\n    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }\n  }" ({ "{") (expression_statement "iVar1 = FUN_000175a0();" (assignment_expression "iVar1 = FUN_000175a0()" (identifier "iVar1") (= "=") (call_expression "FUN_000175a0()" (identifier "FUN_000175a0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }" (if "if") (parenthesized_expression "((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0))" (( "(") (binary_expression "(iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(param_2 + 5) & 4) != 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 5) & 4) != 0" (parenthesized_expression "(*(byte *)(param_2 + 5) & 4)" (( "(") (binary_expression "*(byte *)(param_2 + 5) & 4" (pointer_expression "*(byte *)(param_2 + 5)" (* "*") (cast_expression "(byte *)(param_2 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 5)" (( "(") (binary_expression "param_2 + 5" (identifier "param_2") (+ "+") (number_literal "5")) () ")")))) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);\n      if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }\n      printf("RELOCATION RECORDS FOR [%s]:",*param_2);\n      if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }\n    }" ({ "{") (expression_statement "uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);" (assignment_expression "uVar2 = bfd_get_reloc_upper_bound(param_1,param_2)" (identifier "uVar2") (= "=") (call_expression "bfd_get_reloc_upper_bound(param_1,param_2)" (identifier "bfd_get_reloc_upper_bound") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if ((int)uVar2 < 0) {\n                    \n        FUN_00047960(*param_1);\n      }" (if "if") (parenthesized_expression "((int)uVar2 < 0)" (( "(") (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_00047960(*param_1);\n      }" ({ "{") (expression_statement "FUN_00047960(*param_1);" (call_expression "FUN_00047960(*param_1)" (identifier "FUN_00047960") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (} "}"))) (expression_statement "printf("RELOCATION RECORDS FOR [%s]:",*param_2);" (call_expression "printf("RELOCATION RECORDS FOR [%s]:",*param_2)" (identifier "printf") (argument_list "("RELOCATION RECORDS FOR [%s]:",*param_2)" (( "(") (string_literal ""RELOCATION RECORDS FOR [%s]:"" (" """) (string_content "RELOCATION RECORDS FOR [%s]:") (" """)) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (if_statement "if (uVar2 == 0) {\n        puts(" (none)\n");\n      }\n      else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        puts(" (none)\n");\n      }" ({ "{") (expression_statement "puts(" (none)\n");" (call_expression "puts(" (none)\n")" (identifier "puts") (argument_list "(" (none)\n")" (( "(") (string_literal "" (none)\n"" (" """) (string_content " (none)") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (} "}")) (else_clause "else {\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }" (else "else") (compound_statement "{\n        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }\n        __ptr = (void *)xmalloc(uVar2);\n        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);\n        if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }\n        if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }\n        free(__ptr);\n      }" ({ "{") (if_statement "if (((uint)param_1[10] >> 5 & 0x1800) == 0) {\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }" (if "if") (parenthesized_expression "(((uint)param_1[10] >> 5 & 0x1800) == 0)" (( "(") (binary_expression "((uint)param_1[10] >> 5 & 0x1800) == 0" (parenthesized_expression "((uint)param_1[10] >> 5 & 0x1800)" (( "(") (binary_expression "(uint)param_1[10] >> 5 & 0x1800" (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 "0x1800")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar6 = bfd_get_file_size(param_1);\n          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);\n          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }\n          uVar5 = param_2[0x19];\n          uVar6 = bfd_get_file_size(param_1);\n          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;\n        }" ({ "{") (expression_statement "uVar6 = bfd_get_file_size(param_1);" (assignment_expression "uVar6 = bfd_get_file_size(param_1)" (identifier "uVar6") (= "=") (call_expression "bfd_get_file_size(param_1)" (identifier "bfd_get_file_size") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar5 = (uint)((ulonglong)uVar6 >> 0x20);" (assignment_expression "uVar5 = (uint)((ulonglong)uVar6 >> 0x20)" (identifier "uVar5") (= "=") (call_expression "(uint)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }" (if "if") (parenthesized_expression "(uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2))" (( "(") (binary_expression "uVar5 < (uint)((int)uVar2 >> 0x1f) ||\n              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)" (binary_expression "uVar5 < (uint)((int)uVar2 >> 0x1f)" (identifier "uVar5") (< "<") (call_expression "(uint)((int)uVar2 >> 0x1f)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)uVar2 >> 0x1f)" (( "(") (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x1f")) () ")")))) (|| "||") (binary_expression "uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)" (binary_expression "uVar5 - ((int)uVar2 >> 0x1f)" (identifier "uVar5") (- "-") (parenthesized_expression "((int)uVar2 >> 0x1f)" (( "(") (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x1f")) () ")"))) (< "<") (call_expression "(uint)((uint)uVar6 < uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uint)uVar6 < uVar2)" (( "(") (binary_expression "(uint)uVar6 < uVar2" (cast_expression "(uint)uVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar6")) (< "<") (identifier "uVar2")) () ")"))))) () ")")) (compound_statement "{\nLAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);\n            bfd_set_error(0x12);\n                    \n            FUN_00047960(*param_1);\n          }" ({ "{") (labeled_statement "LAB_00019d34:\n            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);" (statement_identifier "LAB_00019d34") (: ":") (expression_statement "printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);" (call_expression "printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2)" (identifier "printf") (argument_list "(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2)" (( "(") (string_literal "" (too many: 0x%x)\n"" (" """) (string_content " (too many: 0x%x)") (escape_sequence "\n") (" """)) (, ",") (subscript_expression "param_2[0x19]" (identifier "param_2") ([ "[") (number_literal "0x19") (] "]")) (, ",") (identifier "uVar2") (, ",") (identifier "uVar2") () ")"))) (; ";"))) (expression_statement "bfd_set_error(0x12);" (call_expression "bfd_set_error(0x12)" (identifier "bfd_set_error") (argument_list "(0x12)" (( "(") (number_literal "0x12") () ")"))) (; ";")) (expression_statement "FUN_00047960(*param_1);" (call_expression "FUN_00047960(*param_1)" (identifier "FUN_00047960") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar5 = param_2[0x19];" (assignment_expression "uVar5 = param_2[0x19]" (identifier "uVar5") (= "=") (subscript_expression "param_2[0x19]" (identifier "param_2") ([ "[") (number_literal "0x19") (] "]"))) (; ";")) (expression_statement "uVar6 = bfd_get_file_size(param_1);" (assignment_expression "uVar6 = bfd_get_file_size(param_1)" (identifier "uVar6") (= "=") (call_expression "bfd_get_file_size(param_1)" (identifier "bfd_get_file_size") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;" (if "if") (parenthesized_expression "((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5))" (( "(") (binary_expression "(uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)" (call_expression "(uint)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")"))) (< "<") (call_expression "(uint)((uint)uVar6 < uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uint)uVar6 < uVar5)" (( "(") (binary_expression "(uint)uVar6 < uVar5" (cast_expression "(uint)uVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar6")) (< "<") (identifier "uVar5")) () ")")))) () ")")) (goto_statement "goto LAB_00019d34;" (goto "goto") (statement_identifier "LAB_00019d34") (; ";"))) (} "}"))) (expression_statement "__ptr = (void *)xmalloc(uVar2);" (assignment_expression "__ptr = (void *)xmalloc(uVar2)" (identifier "__ptr") (= "=") (cast_expression "(void *)xmalloc(uVar2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(uVar2)" (identifier "xmalloc") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))))) (; ";")) (expression_statement "iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);" (assignment_expression "iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078)" (identifier "iVar1") (= "=") (call_expression "bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078)" (identifier "bfd_canonicalize_reloc") (argument_list "(param_1,param_2,__ptr,DAT_00074078)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "__ptr") (, ",") (identifier "DAT_00074078") () ")")))) (; ";")) (if_statement "if (iVar1 < 0) {\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          putchar(10);\n          uVar4 = *param_1;\n          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);\n          FUN_00047a20(uVar3,uVar4);\n          uVar4 = dcgettext(0,"error message was",5);\n                    \n          FUN_00047960(uVar4);\n        }" ({ "{") (expression_statement "putchar(10);" (call_expression "putchar(10)" (identifier "putchar") (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" (identifier "uVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"failed to read relocs in: %s",5);" (assignment_expression "uVar3 = dcgettext(0,"failed to read relocs in: %s",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"failed to read relocs in: %s",5)" (identifier "dcgettext") (argument_list "(0,"failed to read relocs in: %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""failed to read relocs in: %s"" (" """) (string_content "failed to read relocs in: %s") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00047a20(uVar3,uVar4);" (call_expression "FUN_00047a20(uVar3,uVar4)" (identifier "FUN_00047a20") (argument_list "(uVar3,uVar4)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "uVar4 = dcgettext(0,"error message was",5);" (assignment_expression "uVar4 = dcgettext(0,"error message was",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"error message was",5)" (identifier "dcgettext") (argument_list "(0,"error message was",5)" (( "(") (number_literal "0") (, ",") (string_literal ""error message was"" (" """) (string_content "error message was") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00047960(uVar4);" (call_expression "FUN_00047960(uVar4)" (identifier "FUN_00047960") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar1 == 0) {\n          puts(" (none)\n");\n        }\n        else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          puts(" (none)\n");\n        }" ({ "{") (expression_statement "puts(" (none)\n");" (call_expression "puts(" (none)\n")" (identifier "puts") (argument_list "(" (none)\n")" (( "(") (string_literal "" (none)\n"" (" """) (string_content " (none)") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (} "}")) (else_clause "else {\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }" (else "else") (compound_statement "{\n          putchar(10);\n          FUN_00016780(iVar1);\n          puts("\n");\n        }" ({ "{") (expression_statement "putchar(10);" (call_expression "putchar(10)" (identifier "putchar") (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (expression_statement "FUN_00016780(iVar1);" (call_expression "FUN_00016780(iVar1)" (identifier "FUN_00016780") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "puts("\n");" (call_expression "puts("\n")" (identifier "puts") (argument_list "("\n")" (( "(") (string_literal ""\n"" (" """) (escape_sequence "\n") (" """)) () ")"))) (; ";")) (} "}")))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (} "}")))) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *abfd,type_2 *var_1,void *dummy)

{
  type_3 var_4;
  type_4 var_8;
  type_5 **relpp;
  int var_15;
  char *format;
  char *pcVar3;
  type_4 var_11;
  type_6 uVar5;
  
  if (((var_1 != (type_2 *)(var_2 + 0x180)) &&
      (var_1 != (type_2 *)(var_2 + 0xc0))) &&
     ((var_1->flags & 0x1000) == 0)) {
    var_4 = var_3(var_1);
    if ((var_4 != 0) && ((var_1->flags & 4) != 0)) {
      var_8 = var_5(abfd,var_1);
      if ((int)var_8 < 0) {
                    /* WARNING: Subroutine does not return */
        var_6(abfd->filename);
      }
      var_7("RELOCATION RECORDS FOR [%s]:",var_1->name);
      if (var_8 == 0) {
        var_9(" (none)\n");
      }
      else {
        if ((*(type_4 *)&abfd->field_0x28 >> 5 & 0x1800) == 0) {
          uVar5 = var_10(abfd);
          var_11 = (type_4)((type_7)uVar5 >> 0x20);
          if (var_11 < (type_4)((int)var_8 >> 0x1f) ||
              var_11 - ((int)var_8 >> 0x1f) < (type_4)((type_4)uVar5 < var_8)) {
LAB_00019d34:
            var_7(" (too many: 0x%x)\n",var_1->reloc_count,var_8,var_8);
            var_12(0x12);
                    /* WARNING: Subroutine does not return */
            var_6(abfd->filename);
          }
          var_11 = var_1->reloc_count;
          uVar5 = var_10(abfd);
          if ((type_4)((type_7)uVar5 >> 0x20) < (type_4)((type_4)uVar5 < var_11)) goto LAB_00019d34;
        }
        relpp = (type_5 **)var_13(var_8);
        var_15 = var_14(abfd,var_1,relpp,syms);
        if (var_15 < 0) {
          var_16(10);
          pcVar3 = abfd->filename;
          format = (char *)var_17(0,"failed to read relocs in: %s",5);
          var_18(format,pcVar3);
          pcVar3 = (char *)var_17(0,"error message was",5);
                    /* WARNING: Subroutine does not return */
          var_6(pcVar3);
        }
        if (var_15 == 0) {
          var_9(" (none)\n");
        }
        else {
          var_16(10);
          var_19(abfd,var_1,relpp,var_15);
          var_9("\n");
        }
        var_20(relpp);
      }
    }
  }
  return;
}


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

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

void MASKED(undefined4 *param_1,undefined4 *param_2)

{
  int iVar1;
  uint uVar2;
  void *__ptr;
  undefined4 uVar3;
  undefined4 uVar4;
  uint uVar5;
  undefined8 uVar6;
  
  if (((param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0x180)) &&
      (param_2 != (undefined4 *)(PTR__bfd_std_section_00072fd8 + 0xc0))) &&
     ((*(byte *)((int)param_2 + 0x15) & 0x10) == 0)) {
    iVar1 = FUN_000175a0();
    if ((iVar1 != 0) && ((*(byte *)(param_2 + 5) & 4) != 0)) {
      uVar2 = bfd_get_reloc_upper_bound(param_1,param_2);
      if ((int)uVar2 < 0) {
                    /* WARNING: Subroutine does not return */
        FUN_00047960(*param_1);
      }
      printf("RELOCATION RECORDS FOR [%s]:",*param_2);
      if (uVar2 == 0) {
        puts(" (none)\n");
      }
      else {
        if (((uint)param_1[10] >> 5 & 0x1800) == 0) {
          uVar6 = bfd_get_file_size(param_1);
          uVar5 = (uint)((ulonglong)uVar6 >> 0x20);
          if (uVar5 < (uint)((int)uVar2 >> 0x1f) ||
              uVar5 - ((int)uVar2 >> 0x1f) < (uint)((uint)uVar6 < uVar2)) {
LAB_00019d34:
            printf(" (too many: 0x%x)\n",param_2[0x19],uVar2,uVar2);
            bfd_set_error(0x12);
                    /* WARNING: Subroutine does not return */
            FUN_00047960(*param_1);
          }
          uVar5 = param_2[0x19];
          uVar6 = bfd_get_file_size(param_1);
          if ((uint)((ulonglong)uVar6 >> 0x20) < (uint)((uint)uVar6 < uVar5)) goto LAB_00019d34;
        }
        __ptr = (void *)xmalloc(uVar2);
        iVar1 = bfd_canonicalize_reloc(param_1,param_2,__ptr,DAT_00074078);
        if (iVar1 < 0) {
          putchar(10);
          uVar4 = *param_1;
          uVar3 = dcgettext(0,"failed to read relocs in: %s",5);
          FUN_00047a20(uVar3,uVar4);
          uVar4 = dcgettext(0,"error message was",5);
                    /* WARNING: Subroutine does not return */
          FUN_00047960(uVar4);
        }
        if (iVar1 == 0) {
          puts(" (none)\n");
        }
        else {
          putchar(10);
          FUN_00016780(iVar1);
          puts("\n");
        }
        free(__ptr);
      }
    }
  }
  return;
}

