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

bfd_boolean gld_i386pep_unrecognized_file(lang_input_statement_type *entry)

{
  def_file_export *pdVar1;
  uint uVar2;
  uint uVar3;
  elf_obj_tdata *peVar4;
  bfd_vma value;
  lang_assignment_statement_type *plVar5;
  def_file *pdVar6;
  size_t sVar7;
  int iVar8;
  char *pcVar9;
  int iVar10;
  char *pcVar11;
  etree_type *peVar12;
  char *pcVar13;
  def_file_export *pdVar14;
  
  pcVar9 = entry->filename;
  sVar7 = strlen(pcVar9);
  pcVar9 = pcVar9 + (sVar7 - 4);
  iVar8 = filename_cmp(pcVar9,&DAT_00192e54);
  if (((iVar8 != 0) && (iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0)) ||
     (pep_def_file = def_file_parse(entry->filename,pep_def_file), pep_def_file == (def_file *)0x0))
  {
    return 0;
  }
  if (pep_def_file->num_exports < 1) {
    iVar8 = 0;
  }
  else {
    pdVar14 = pep_def_file->exports;
    pdVar1 = pdVar14 + pep_def_file->num_exports;
    iVar8 = 0;
    do {
      sVar7 = strlen(pdVar14->internal_name);
      if (iVar8 <= (int)(sVar7 + 1)) {
        iVar8 = sVar7 + 2;
      }
      pdVar14 = pdVar14 + 1;
    } while (pdVar1 != pdVar14);
  }
  pcVar9 = (char *)xmalloc(iVar8);
  if (0 < pep_def_file->num_exports) {
    iVar8 = 0;
    do {
      while( true ) {
        pcVar13 = pep_def_file->exports[iVar8].internal_name;
        iVar10 = is_underscoring();
        pcVar11 = "_";
        if (iVar10 == 0) {
          pcVar11 = "";
        }
        sprintf(pcVar9,"%s%s",pcVar11,pcVar13);
        iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);
        if (iVar10 == 0) {
          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);
          einfo(pcVar13);
        }
        if (*(char *)(iVar10 + 0xc) != '\0') break;
        *(undefined1 *)(iVar10 + 0xc) = 1;
        iVar8 = iVar8 + 1;
        *(undefined4 *)(iVar10 + 0x14) = 0;
        bfd_link_add_undef(link_info.hash,iVar10);
        if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;
      }
      iVar8 = iVar8 + 1;
    } while (iVar8 < pep_def_file->num_exports);
  }
LAB_000530be:
  pdVar6 = pep_def_file;
  free(pcVar9);
  if (pdVar6->is_dll == 1) {
    link_info._0_1_ = link_info._0_1_ | 3;
  }
  uVar2 = *(uint *)((int)&pdVar6->base_address + 4);
  uVar3 = (uint)pdVar6->base_address;
  value = pdVar6->base_address;
  if ((uVar2 & uVar3) != 0xffffffff) {
    init[0].inited = 1;
    peVar4 = ((link_info.output_bfd)->tdata).elf_obj_data;
    init[0].value._0_4_ = uVar3;
    init[0].value._4_4_ = uVar2;
    pep.ImageBase._0_4_ = uVar3;
    pep.ImageBase._4_4_ = uVar2;
    *(uint *)&(peVar4->shstrtab_hdr).sh_flags = uVar3;
    *(uint *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4) = uVar2;
    if (image_base_statement != (lang_assignment_statement_type *)0x0) {
      peVar12 = exp_intop(value);
      plVar5 = image_base_statement;
      peVar12 = exp_assign("__image_base__",peVar12,0);
      plVar5->exp = peVar12;
    }
  }
  if ((pep_def_file->stack_reserve != -1) &&
     (iVar8 = saw_option("__size_of_stack_reserve__"), iVar8 == 0)) {
    pep.SizeOfStackReserve._0_4_ = pep_def_file->stack_reserve;
    pep.SizeOfStackReserve._4_4_ = (int)pep.SizeOfStackReserve >> 0x1f;
    iVar8 = pep_def_file->stack_commit;
    if (iVar8 != -1) {
      pep.SizeOfStackCommit._4_4_ = iVar8 >> 0x1f;
      pep.SizeOfStackCommit._0_4_ = iVar8;
    }
  }
  if ((pep_def_file->heap_reserve != -1) &&
     (iVar8 = saw_option("__size_of_heap_reserve__"), iVar8 == 0)) {
    pep.SizeOfHeapReserve._0_4_ = pep_def_file->heap_reserve;
    iVar8 = pep_def_file->heap_commit;
    pep.SizeOfHeapReserve._4_4_ = (int)pep.SizeOfHeapReserve >> 0x1f;
    if (iVar8 != -1) {
      pep.SizeOfHeapCommit._4_4_ = iVar8 >> 0x1f;
      pep.SizeOfHeapCommit._0_4_ = iVar8;
    }
  }
  return 1;
}



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

undefined4 FUN_00052f20(int param_1)

{
  uint uVar1;
  uint uVar2;
  size_t sVar3;
  int iVar4;
  char *pcVar5;
  int iVar6;
  char *pcVar7;
  undefined4 uVar8;
  int iVar9;
  
  pcVar5 = *(char **)(param_1 + 8);
  sVar3 = strlen(pcVar5);
  pcVar5 = pcVar5 + (sVar3 - 4);
  iVar4 = filename_cmp(pcVar5,&DAT_00192e54);
  if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||
     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {
    return 0;
  }
  if (*(int *)(DAT_001d0160 + 0x2c) < 1) {
    iVar4 = 0;
  }
  else {
    iVar9 = *(int *)(DAT_001d0160 + 0x30);
    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;
    iVar4 = 0;
    do {
      sVar3 = strlen(*(char **)(iVar9 + 4));
      if (iVar4 <= (int)(sVar3 + 1)) {
        iVar4 = sVar3 + 2;
      }
      iVar9 = iVar9 + 0x1c;
    } while (iVar6 != iVar9);
  }
  pcVar5 = (char *)xmalloc(iVar4);
  if (0 < *(int *)(DAT_001d0160 + 0x2c)) {
    iVar4 = 0;
    do {
      while( true ) {
        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);
        iVar6 = FUN_00052dd0();
        pcVar7 = "_";
        if (iVar6 == 0) {
          pcVar7 = "";
        }
        sprintf(pcVar5,"%s%s",pcVar7,uVar8);
        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);
        if (iVar6 == 0) {
          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);
          FUN_00034d20(uVar8);
        }
        if (*(char *)(iVar6 + 0xc) != '\0') break;
        *(undefined1 *)(iVar6 + 0xc) = 1;
        iVar4 = iVar4 + 1;
        *(undefined4 *)(iVar6 + 0x14) = 0;
        bfd_link_add_undef(DAT_001d0400,iVar6);
        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;
      }
      iVar4 = iVar4 + 1;
    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));
  }
LAB_000530be:
  iVar4 = DAT_001d0160;
  free(pcVar5);
  if (*(int *)(iVar4 + 4) == 1) {
    DAT_001d03e0 = DAT_001d03e0 | 3;
  }
  uVar1 = *(uint *)(iVar4 + 0xc);
  uVar2 = *(uint *)(iVar4 + 8);
  if ((uVar1 & uVar2) != 0xffffffff) {
    DAT_001ced14 = 1;
    iVar4 = *(int *)(DAT_001d0414 + 0xa0);
    DAT_001ced08 = uVar2;
    DAT_001ced0c = uVar1;
    DAT_001cfe48 = uVar2;
    DAT_001cfe4c = uVar1;
    *(uint *)(iVar4 + 0xa4) = uVar2;
    *(uint *)(iVar4 + 0xa8) = uVar1;
    if (DAT_001cfe04 != 0) {
      uVar8 = FUN_00032930(uVar2,uVar1);
      iVar4 = DAT_001cfe04;
      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);
      *(undefined4 *)(iVar4 + 8) = uVar8;
    }
  }
  if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {
    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);
    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;
    iVar4 = *(int *)(DAT_001d0160 + 0x18);
    if (iVar4 != -1) {
      DAT_001cfe8c = iVar4 >> 0x1f;
      DAT_001cfe88 = iVar4;
    }
  }
  if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {
    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);
    iVar4 = *(int *)(DAT_001d0160 + 0x20);
    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;
    if (iVar4 != -1) {
      DAT_001cfe9c = iVar4 >> 0x1f;
      DAT_001cfe98 = iVar4;
    }
  }
  return 1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x17b0d7
SUB ESP,0x38
MOV ESI,dword ptr [ESP + 0x4c]
MOV EDI,dword ptr [ESI + 0x8]
PUSH EDI
CALL 0x00016760
POP EDX
POP ECX
LEA EDI,[EDI + EAX*0x1 + -0x4]
LEA EAX,[EBX + 0xfffc4e54]
PUSH EAX
PUSH EDI
CALL 0x00016230
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00052f80
SUB ESP,0x8
LEA EAX,[EBX + 0xfffc4e59]
PUSH EAX
PUSH EDI
CALL 0x00016230
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00052f80
ADD ESP,0x2c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDI,[EBX + 0x2160]
SUB ESP,0x8
PUSH dword ptr [EDI]
PUSH dword ptr [ESI + 0x8]
CALL 0x0005a7d0
ADD ESP,0x10
MOV dword ptr [EDI],EAX
TEST EAX,EAX
JZ 0x00052f70
MOV ESI,dword ptr [EAX + 0x2c]
TEST ESI,ESI
JLE 0x00053228
IMUL ESI,ESI,0x1c
MOV EBP,dword ptr [EAX + 0x30]
LEA EAX,[ESI + EBP*0x1]
XOR ESI,ESI
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,EBP
MOV EBP,ESI
MOV ESI,EAX
LEA ESI,[ESI]
SUB ESP,0xc
PUSH dword ptr [ESI + 0x4]
CALL 0x00016760
ADD ESP,0x10
LEA ECX,[EAX + 0x1]
ADD EAX,0x2
CMP ECX,EBP
CMOVGE EBP,EAX
ADD ESI,0x1c
CMP dword ptr [ESP + 0xc],ESI
JNZ 0x00052fc0
MOV EDX,EBP
SUB ESP,0xc
PUSH EDX
CALL 0x00016dc8
MOV ECX,dword ptr [EDI]
ADD ESP,0x10
MOV ESI,EAX
MOV EBP,dword ptr [ECX + 0x2c]
TEST EBP,EBP
JLE 0x000530be
LEA EAX,[EBX + 0xffeab835]
XOR EBP,EBP
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[EBX + 0x23e0]
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[EBX + 0xffeae179]
MOV dword ptr [ESP + 0x1c],EAX
LEA EAX,[EBX + 0xfffded3b]
MOV dword ptr [ESP + 0x18],EAX
JMP 0x0005303e
MOV ECX,dword ptr [EDI]
ADD EBP,0x1
CMP dword ptr [ECX + 0x2c],EBP
JLE 0x000530be
IMUL EAX,EBP,0x1c
ADD EAX,dword ptr [ECX + 0x30]
MOV ECX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0xc],ECX
CALL 0x00052dd0
MOV ECX,dword ptr [ESP + 0xc]
TEST EAX,EAX
MOV EAX,dword ptr [ESP + 0x1c]
CMOVZ EAX,dword ptr [ESP + 0x18]
PUSH ECX
PUSH EAX
PUSH dword ptr [ESP + 0x1c]
PUSH ESI
CALL 0x00016af0
MOV dword ptr [ESP],0x1
PUSH 0x1
PUSH 0x1
PUSH ESI
MOV EAX,dword ptr [ESP + 0x2c]
PUSH dword ptr [EAX + 0x20]
CALL 0x00016590
ADD ESP,0x20
MOV ECX,EAX
TEST EAX,EAX
JZ 0x000531f8
CMP byte ptr [ECX + 0xc],0x0
JNZ 0x00053030
SUB ESP,0x8
MOV byte ptr [ECX + 0xc],0x1
ADD EBP,0x1
MOV dword ptr [ECX + 0x14],0x0
PUSH ECX
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0x20]
CALL 0x00016580
MOV ECX,dword ptr [EDI]
ADD ESP,0x10
CMP dword ptr [ECX + 0x2c],EBP
JG 0x0005303e
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0xc
PUSH ESI
CALL 0x00016db0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
CMP dword ptr [ECX + 0x4],0x1
JNZ 0x000530e1
LEA EAX,[EBX + 0x23e0]
OR byte ptr [EAX],0x3
MOV EDX,dword ptr [ECX + 0xc]
MOV EAX,dword ptr [ECX + 0x8]
MOV ECX,EDX
AND ECX,EAX
CMP ECX,-0x1
JZ 0x0005315f
LEA ECX,[EBX + 0x23e0]
MOV dword ptr [EBX + 0xd08],EAX
MOV dword ptr [EBX + 0xd0c],EDX
MOV ECX,dword ptr [ECX + 0x34]
MOV dword ptr [EBX + 0x1e48],EAX
MOV dword ptr [EBX + 0x1e4c],EDX
MOV dword ptr [EBX + 0xd14],0x1
MOV ECX,dword ptr [ECX + 0xa0]
MOV dword ptr [ECX + 0xa4],EAX
MOV dword ptr [ECX + 0xa8],EDX
MOV ECX,dword ptr [EBX + 0x1e04]
TEST ECX,ECX
JZ 0x0005315f
SUB ESP,0x8
PUSH EDX
PUSH EAX
CALL 0x00032930
ADD ESP,0xc
MOV ESI,dword ptr [EBX + 0x1e04]
PUSH 0x0
PUSH EAX
LEA EAX,[EBX + 0xfffc4e5e]
PUSH EAX
CALL 0x00032cb0
ADD ESP,0x10
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [EDI]
CMP dword ptr [EAX + 0x14],-0x1
JZ 0x000531a8
LEA EAX,[EBX + 0xfffc4e6d]
CALL 0x00052e80
TEST EAX,EAX
MOV EAX,dword ptr [EDI]
JNZ 0x000531a8
MOV EDX,dword ptr [EAX + 0x14]
MOV dword ptr [EBX + 0x1e80],EDX
SAR EDX,0x1f
MOV dword ptr [EBX + 0x1e84],EDX
MOV EDX,dword ptr [EAX + 0x18]
CMP EDX,-0x1
JZ 0x000531a8
MOV dword ptr [EBX + 0x1e88],EDX
SAR EDX,0x1f
MOV dword ptr [EBX + 0x1e8c],EDX
LEA ESI,[ESI]
CMP dword ptr [EAX + 0x1c],-0x1
JZ 0x000531e8
LEA EAX,[EBX + 0xfffc4e87]
CALL 0x00052e80
TEST EAX,EAX
JNZ 0x000531e8
MOV EAX,dword ptr [EDI]
MOV EDX,dword ptr [EAX + 0x1c]
MOV EAX,dword ptr [EAX + 0x20]
MOV dword ptr [EBX + 0x1e90],EDX
SAR EDX,0x1f
MOV dword ptr [EBX + 0x1e94],EDX
CMP EAX,-0x1
JZ 0x000531e8
MOV dword ptr [EBX + 0x1e98],EAX
SAR EAX,0x1f
MOV dword ptr [EBX + 0x1e9c],EAX
ADD ESP,0x2c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0x4
LEA EAX,[EBX + 0xffead2bc]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
MOV dword ptr [ESP],EAX
CALL 0x00034d20
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
JMP 0x00053090
XOR EDX,EDX
JMP 0x00052fe4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00052f20(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  \n  pcVar5 = *(char **)(param_1 + 8);\n  sVar3 = strlen(pcVar5);\n  pcVar5 = pcVar5 + (sVar3 - 4);\n  iVar4 = filename_cmp(pcVar5,&DAT_00192e54);\n  if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }\n  if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }\n  pcVar5 = (char *)xmalloc(iVar4);\n  if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }\nLAB_000530be:\n  iVar4 = DAT_001d0160;\n  free(pcVar5);\n  if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }\n  uVar1 = *(uint *)(iVar4 + 0xc);\n  uVar2 = *(uint *)(iVar4 + 8);\n  if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }\n  return 1;\n}\n\n" comment (function_definition "undefined4 FUN_00052f20(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  \n  pcVar5 = *(char **)(param_1 + 8);\n  sVar3 = strlen(pcVar5);\n  pcVar5 = pcVar5 + (sVar3 - 4);\n  iVar4 = filename_cmp(pcVar5,&DAT_00192e54);\n  if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }\n  if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }\n  pcVar5 = (char *)xmalloc(iVar4);\n  if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }\nLAB_000530be:\n  iVar4 = DAT_001d0160;\n  free(pcVar5);\n  if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }\n  uVar1 = *(uint *)(iVar4 + 0xc);\n  uVar2 = *(uint *)(iVar4 + 8);\n  if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00052f20(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  \n  pcVar5 = *(char **)(param_1 + 8);\n  sVar3 = strlen(pcVar5);\n  pcVar5 = pcVar5 + (sVar3 - 4);\n  iVar4 = filename_cmp(pcVar5,&DAT_00192e54);\n  if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }\n  if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }\n  pcVar5 = (char *)xmalloc(iVar4);\n  if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }\nLAB_000530be:\n  iVar4 = DAT_001d0160;\n  free(pcVar5);\n  if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }\n  uVar1 = *(uint *)(iVar4 + 0xc);\n  uVar2 = *(uint *)(iVar4 + 8);\n  if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }\n  return 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "pcVar5 = *(char **)(param_1 + 8);" (assignment_expression "pcVar5 = *(char **)(param_1 + 8)" identifier = (pointer_expression "*(char **)(param_1 + 8)" * (cast_expression "(char **)(param_1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "sVar3 = strlen(pcVar5);" (assignment_expression "sVar3 = strlen(pcVar5)" identifier = (call_expression "strlen(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "pcVar5 = pcVar5 + (sVar3 - 4);" (assignment_expression "pcVar5 = pcVar5 + (sVar3 - 4)" identifier = (binary_expression "pcVar5 + (sVar3 - 4)" identifier + (parenthesized_expression "(sVar3 - 4)" ( (binary_expression "sVar3 - 4" identifier - number_literal) )))) ;) (expression_statement "iVar4 = filename_cmp(pcVar5,&DAT_00192e54);" (assignment_expression "iVar4 = filename_cmp(pcVar5,&DAT_00192e54)" identifier = (call_expression "filename_cmp(pcVar5,&DAT_00192e54)" identifier (argument_list "(pcVar5,&DAT_00192e54)" ( identifier , (pointer_expression "&DAT_00192e54" & identifier) )))) ;) (if_statement "if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }" if (parenthesized_expression "(((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0))" ( (binary_expression "((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)" (parenthesized_expression "((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0))" ( (binary_expression "(iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)" ( (comma_expression "iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0" (assignment_expression "iVar4 = filename_cmp(pcVar5,&DAT_00192e59)" identifier = (call_expression "filename_cmp(pcVar5,&DAT_00192e59)" identifier (argument_list "(pcVar5,&DAT_00192e59)" ( identifier , (pointer_expression "&DAT_00192e59" & identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)" ( (comma_expression "DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0" (assignment_expression "DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160)" identifier = (call_expression "FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160)" identifier (argument_list "(*(undefined4 *)(param_1 + 8),DAT_001d0160)" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier )))) , (binary_expression "DAT_001d0160 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }" if (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x2c) < 1)" ( (binary_expression "*(int *)(DAT_001d0160 + 0x2c) < 1" (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" * (cast_expression "(int *)(DAT_001d0160 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x2c)" ( (binary_expression "DAT_001d0160 + 0x2c" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    iVar4 = 0;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }" else (compound_statement "{\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }" { (expression_statement "iVar9 = *(int *)(DAT_001d0160 + 0x30);" (assignment_expression "iVar9 = *(int *)(DAT_001d0160 + 0x30)" identifier = (pointer_expression "*(int *)(DAT_001d0160 + 0x30)" * (cast_expression "(int *)(DAT_001d0160 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x30)" ( (binary_expression "DAT_001d0160 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;" (assignment_expression "iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9" identifier = (binary_expression "*(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9" (binary_expression "*(int *)(DAT_001d0160 + 0x2c) * 0x1c" (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" * (cast_expression "(int *)(DAT_001d0160 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x2c)" ( (binary_expression "DAT_001d0160 + 0x2c" identifier + number_literal) )))) * number_literal) + identifier)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);" do (compound_statement "{\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    }" { (expression_statement "sVar3 = strlen(*(char **)(iVar9 + 4));" (assignment_expression "sVar3 = strlen(*(char **)(iVar9 + 4))" identifier = (call_expression "strlen(*(char **)(iVar9 + 4))" identifier (argument_list "(*(char **)(iVar9 + 4))" ( (pointer_expression "*(char **)(iVar9 + 4)" * (cast_expression "(char **)(iVar9 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 4)" ( (binary_expression "iVar9 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }" if (parenthesized_expression "(iVar4 <= (int)(sVar3 + 1))" ( (binary_expression "iVar4 <= (int)(sVar3 + 1)" identifier <= (cast_expression "(int)(sVar3 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(sVar3 + 1)" ( (binary_expression "sVar3 + 1" identifier + number_literal) )))) )) (compound_statement "{\n        iVar4 = sVar3 + 2;\n      }" { (expression_statement "iVar4 = sVar3 + 2;" (assignment_expression "iVar4 = sVar3 + 2" identifier = (binary_expression "sVar3 + 2" identifier + number_literal)) ;) })) (expression_statement "iVar9 = iVar9 + 0x1c;" (assignment_expression "iVar9 = iVar9 + 0x1c" identifier = (binary_expression "iVar9 + 0x1c" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != iVar9)" ( (binary_expression "iVar6 != iVar9" identifier != identifier) )) ;) }))) (expression_statement "pcVar5 = (char *)xmalloc(iVar4);" (assignment_expression "pcVar5 = (char *)xmalloc(iVar4)" identifier = (cast_expression "(char *)xmalloc(iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))))) ;) (if_statement "if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }" if (parenthesized_expression "(0 < *(int *)(DAT_001d0160 + 0x2c))" ( (binary_expression "0 < *(int *)(DAT_001d0160 + 0x2c)" number_literal < (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" * (cast_expression "(int *)(DAT_001d0160 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x2c)" ( (binary_expression "DAT_001d0160 + 0x2c" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));" do (compound_statement "{\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    }" { (while_statement "while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }" { (expression_statement "uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);" (assignment_expression "uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" * (cast_expression "(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" ( (binary_expression "iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4" (binary_expression "iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30)" (binary_expression "iVar4 * 0x1c" identifier * number_literal) + (pointer_expression "*(int *)(DAT_001d0160 + 0x30)" * (cast_expression "(int *)(DAT_001d0160 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x30)" ( (binary_expression "DAT_001d0160 + 0x30" identifier + number_literal) ))))) + number_literal) ))))) ;) (expression_statement "iVar6 = FUN_00052dd0();" (assignment_expression "iVar6 = FUN_00052dd0()" identifier = (call_expression "FUN_00052dd0()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar7 = "_";" (assignment_expression "pcVar7 = "_"" identifier = (string_literal ""_"" " string_content ")) ;) (if_statement "if (iVar6 == 0) {\n          pcVar7 = "";\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          pcVar7 = "";\n        }" { (expression_statement "pcVar7 = "";" (assignment_expression "pcVar7 = """ identifier = (string_literal """" " ")) ;) })) (expression_statement "sprintf(pcVar5,"%s%s",pcVar7,uVar8);" (call_expression "sprintf(pcVar5,"%s%s",pcVar7,uVar8)" identifier (argument_list "(pcVar5,"%s%s",pcVar7,uVar8)" ( identifier , (string_literal ""%s%s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);" (assignment_expression "iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1)" identifier = (call_expression "bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1)" identifier (argument_list "(DAT_001d0400,pcVar5,1,1,1)" ( identifier , identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }" { (expression_statement "uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);" (assignment_expression "uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" identifier (argument_list "(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" ( number_literal , (string_literal ""%F%P: bfd_link_hash_lookup failed: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar8);" (call_expression "FUN_00034d20(uVar8)" identifier (argument_list "(uVar8)" ( identifier ))) ;) })) (if_statement "if (*(char *)(iVar6 + 0xc) != '\0') break;" if (parenthesized_expression "(*(char *)(iVar6 + 0xc) != '\0')" ( (binary_expression "*(char *)(iVar6 + 0xc) != '\0'" (pointer_expression "*(char *)(iVar6 + 0xc)" * (cast_expression "(char *)(iVar6 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*(undefined1 *)(iVar6 + 0xc) = 1;" (assignment_expression "*(undefined1 *)(iVar6 + 0xc) = 1" (pointer_expression "*(undefined1 *)(iVar6 + 0xc)" * (cast_expression "(undefined1 *)(iVar6 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar6 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar6 + 0x14)" * (cast_expression "(undefined4 *)(iVar6 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "bfd_link_add_undef(DAT_001d0400,iVar6);" (call_expression "bfd_link_add_undef(DAT_001d0400,iVar6)" identifier (argument_list "(DAT_001d0400,iVar6)" ( identifier , identifier ))) ;) (if_statement "if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;" if (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x2c) <= iVar4)" ( (binary_expression "*(int *)(DAT_001d0160 + 0x2c) <= iVar4" (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" * (cast_expression "(int *)(DAT_001d0160 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x2c)" ( (binary_expression "DAT_001d0160 + 0x2c" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000530be;" goto statement_identifier ;)) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < *(int *)(DAT_001d0160 + 0x2c))" ( (binary_expression "iVar4 < *(int *)(DAT_001d0160 + 0x2c)" identifier < (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" * (cast_expression "(int *)(DAT_001d0160 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x2c)" ( (binary_expression "DAT_001d0160 + 0x2c" identifier + number_literal) ))))) )) ;) })) (labeled_statement "LAB_000530be:\n  iVar4 = DAT_001d0160;" statement_identifier : (expression_statement "iVar4 = DAT_001d0160;" (assignment_expression "iVar4 = DAT_001d0160" identifier = identifier) ;)) (expression_statement "free(pcVar5);" (call_expression "free(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier ))) ;) (if_statement "if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }" if (parenthesized_expression "(*(int *)(iVar4 + 4) == 1)" ( (binary_expression "*(int *)(iVar4 + 4) == 1" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }" { (expression_statement "DAT_001d03e0 = DAT_001d03e0 | 3;" (assignment_expression "DAT_001d03e0 = DAT_001d03e0 | 3" identifier = (binary_expression "DAT_001d03e0 | 3" identifier | number_literal)) ;) })) (expression_statement "uVar1 = *(uint *)(iVar4 + 0xc);" (assignment_expression "uVar1 = *(uint *)(iVar4 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar4 + 0xc)" * (cast_expression "(uint *)(iVar4 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar4 + 8);" (assignment_expression "uVar2 = *(uint *)(iVar4 + 8)" identifier = (pointer_expression "*(uint *)(iVar4 + 8)" * (cast_expression "(uint *)(iVar4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }" if (parenthesized_expression "((uVar1 & uVar2) != 0xffffffff)" ( (binary_expression "(uVar1 & uVar2) != 0xffffffff" (parenthesized_expression "(uVar1 & uVar2)" ( (binary_expression "uVar1 & uVar2" identifier & identifier) )) != number_literal) )) (compound_statement "{\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }" { (expression_statement "DAT_001ced14 = 1;" (assignment_expression "DAT_001ced14 = 1" identifier = number_literal) ;) (expression_statement "iVar4 = *(int *)(DAT_001d0414 + 0xa0);" (assignment_expression "iVar4 = *(int *)(DAT_001d0414 + 0xa0)" identifier = (pointer_expression "*(int *)(DAT_001d0414 + 0xa0)" * (cast_expression "(int *)(DAT_001d0414 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0414 + 0xa0)" ( (binary_expression "DAT_001d0414 + 0xa0" identifier + number_literal) ))))) ;) (expression_statement "DAT_001ced08 = uVar2;" (assignment_expression "DAT_001ced08 = uVar2" identifier = identifier) ;) (expression_statement "DAT_001ced0c = uVar1;" (assignment_expression "DAT_001ced0c = uVar1" identifier = identifier) ;) (expression_statement "DAT_001cfe48 = uVar2;" (assignment_expression "DAT_001cfe48 = uVar2" identifier = identifier) ;) (expression_statement "DAT_001cfe4c = uVar1;" (assignment_expression "DAT_001cfe4c = uVar1" identifier = identifier) ;) (expression_statement "*(uint *)(iVar4 + 0xa4) = uVar2;" (assignment_expression "*(uint *)(iVar4 + 0xa4) = uVar2" (pointer_expression "*(uint *)(iVar4 + 0xa4)" * (cast_expression "(uint *)(iVar4 + 0xa4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xa4)" ( (binary_expression "iVar4 + 0xa4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar4 + 0xa8) = uVar1;" (assignment_expression "*(uint *)(iVar4 + 0xa8) = uVar1" (pointer_expression "*(uint *)(iVar4 + 0xa8)" * (cast_expression "(uint *)(iVar4 + 0xa8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xa8)" ( (binary_expression "iVar4 + 0xa8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }" if (parenthesized_expression "(DAT_001cfe04 != 0)" ( (binary_expression "DAT_001cfe04 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }" { (expression_statement "uVar8 = FUN_00032930(uVar2,uVar1);" (assignment_expression "uVar8 = FUN_00032930(uVar2,uVar1)" identifier = (call_expression "FUN_00032930(uVar2,uVar1)" identifier (argument_list "(uVar2,uVar1)" ( identifier , identifier )))) ;) (expression_statement "iVar4 = DAT_001cfe04;" (assignment_expression "iVar4 = DAT_001cfe04" identifier = identifier) ;) (expression_statement "uVar8 = FUN_00032cb0("__image_base__",uVar8,0);" (assignment_expression "uVar8 = FUN_00032cb0("__image_base__",uVar8,0)" identifier = (call_expression "FUN_00032cb0("__image_base__",uVar8,0)" identifier (argument_list "("__image_base__",uVar8,0)" ( (string_literal ""__image_base__"" " string_content ") , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar8;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar8" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = identifier) ;) })) })) (if_statement "if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }" if (parenthesized_expression "((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0))" ( (binary_expression "(*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)" (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x14) != -1)" ( (binary_expression "*(int *)(DAT_001d0160 + 0x14) != -1" (pointer_expression "*(int *)(DAT_001d0160 + 0x14)" * (cast_expression "(int *)(DAT_001d0160 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x14)" ( (binary_expression "DAT_001d0160 + 0x14" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar4 = FUN_00052e80(), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_00052e80(), iVar4 == 0" (assignment_expression "iVar4 = FUN_00052e80()" identifier = (call_expression "FUN_00052e80()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }" { (expression_statement "DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);" (assignment_expression "DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14)" identifier = (pointer_expression "*(int *)(DAT_001d0160 + 0x14)" * (cast_expression "(int *)(DAT_001d0160 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x14)" ( (binary_expression "DAT_001d0160 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "DAT_001cfe84 = DAT_001cfe80 >> 0x1f;" (assignment_expression "DAT_001cfe84 = DAT_001cfe80 >> 0x1f" identifier = (binary_expression "DAT_001cfe80 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "iVar4 = *(int *)(DAT_001d0160 + 0x18);" (assignment_expression "iVar4 = *(int *)(DAT_001d0160 + 0x18)" identifier = (pointer_expression "*(int *)(DAT_001d0160 + 0x18)" * (cast_expression "(int *)(DAT_001d0160 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x18)" ( (binary_expression "DAT_001d0160 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (compound_statement "{\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }" { (expression_statement "DAT_001cfe8c = iVar4 >> 0x1f;" (assignment_expression "DAT_001cfe8c = iVar4 >> 0x1f" identifier = (binary_expression "iVar4 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "DAT_001cfe88 = iVar4;" (assignment_expression "DAT_001cfe88 = iVar4" identifier = identifier) ;) })) })) (if_statement "if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }" if (parenthesized_expression "((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0))" ( (binary_expression "(*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)" (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x1c) != -1)" ( (binary_expression "*(int *)(DAT_001d0160 + 0x1c) != -1" (pointer_expression "*(int *)(DAT_001d0160 + 0x1c)" * (cast_expression "(int *)(DAT_001d0160 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x1c)" ( (binary_expression "DAT_001d0160 + 0x1c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar4 = FUN_00052e80(), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_00052e80(), iVar4 == 0" (assignment_expression "iVar4 = FUN_00052e80()" identifier = (call_expression "FUN_00052e80()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }" { (expression_statement "DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);" (assignment_expression "DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c)" identifier = (pointer_expression "*(int *)(DAT_001d0160 + 0x1c)" * (cast_expression "(int *)(DAT_001d0160 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x1c)" ( (binary_expression "DAT_001d0160 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(DAT_001d0160 + 0x20);" (assignment_expression "iVar4 = *(int *)(DAT_001d0160 + 0x20)" identifier = (pointer_expression "*(int *)(DAT_001d0160 + 0x20)" * (cast_expression "(int *)(DAT_001d0160 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x20)" ( (binary_expression "DAT_001d0160 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "DAT_001cfe94 = DAT_001cfe90 >> 0x1f;" (assignment_expression "DAT_001cfe94 = DAT_001cfe90 >> 0x1f" identifier = (binary_expression "DAT_001cfe90 >> 0x1f" identifier >> number_literal)) ;) (if_statement "if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (compound_statement "{\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }" { (expression_statement "DAT_001cfe9c = iVar4 >> 0x1f;" (assignment_expression "DAT_001cfe9c = iVar4 >> 0x1f" identifier = (binary_expression "iVar4 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "DAT_001cfe98 = iVar4;" (assignment_expression "DAT_001cfe98 = iVar4" identifier = identifier) ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean gld_i386pep_unrecognized_file(lang_input_statement_type *entry)\n\n{\n  def_file_export *pdVar1;\n  uint uVar2;\n  uint uVar3;\n  elf_obj_tdata *peVar4;\n  bfd_vma value;\n  lang_assignment_statement_type *plVar5;\n  def_file *pdVar6;\n  size_t sVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  char *pcVar11;\n  etree_type *peVar12;\n  char *pcVar13;\n  def_file_export *pdVar14;\n  \n  pcVar9 = entry->filename;\n  sVar7 = strlen(pcVar9);\n  pcVar9 = pcVar9 + (sVar7 - 4);\n  iVar8 = filename_cmp(pcVar9,&DAT_00192e54);\n  if (((iVar8 != 0) && (iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0)) ||\n     (pep_def_file = def_file_parse(entry->filename,pep_def_file), pep_def_file == (def_file *)0x0))\n  {\n    return 0;\n  }\n  if (pep_def_file->num_exports < 1) {\n    iVar8 = 0;\n  }\n  else {\n    pdVar14 = pep_def_file->exports;\n    pdVar1 = pdVar14 + pep_def_file->num_exports;\n    iVar8 = 0;\n    do {\n      sVar7 = strlen(pdVar14->internal_name);\n      if (iVar8 <= (int)(sVar7 + 1)) {\n        iVar8 = sVar7 + 2;\n      }\n      pdVar14 = pdVar14 + 1;\n    } while (pdVar1 != pdVar14);\n  }\n  pcVar9 = (char *)xmalloc(iVar8);\n  if (0 < pep_def_file->num_exports) {\n    iVar8 = 0;\n    do {\n      while( true ) {\n        pcVar13 = pep_def_file->exports[iVar8].internal_name;\n        iVar10 = is_underscoring();\n        pcVar11 = "_";\n        if (iVar10 == 0) {\n          pcVar11 = "";\n        }\n        sprintf(pcVar9,"%s%s",pcVar11,pcVar13);\n        iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);\n        if (iVar10 == 0) {\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }\n        if (*(char *)(iVar10 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar10 + 0xc) = 1;\n        iVar8 = iVar8 + 1;\n        *(undefined4 *)(iVar10 + 0x14) = 0;\n        bfd_link_add_undef(link_info.hash,iVar10);\n        if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 < pep_def_file->num_exports);\n  }\nLAB_000530be:\n  pdVar6 = pep_def_file;\n  free(pcVar9);\n  if (pdVar6->is_dll == 1) {\n    link_info._0_1_ = link_info._0_1_ | 3;\n  }\n  uVar2 = *(uint *)((int)&pdVar6->base_address + 4);\n  uVar3 = (uint)pdVar6->base_address;\n  value = pdVar6->base_address;\n  if ((uVar2 & uVar3) != 0xffffffff) {\n    init[0].inited = 1;\n    peVar4 = ((link_info.output_bfd)->tdata).elf_obj_data;\n    init[0].value._0_4_ = uVar3;\n    init[0].value._4_4_ = uVar2;\n    pep.ImageBase._0_4_ = uVar3;\n    pep.ImageBase._4_4_ = uVar2;\n    *(uint *)&(peVar4->shstrtab_hdr).sh_flags = uVar3;\n    *(uint *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4) = uVar2;\n    if (image_base_statement != (lang_assignment_statement_type *)0x0) {\n      peVar12 = exp_intop(value);\n      plVar5 = image_base_statement;\n      peVar12 = exp_assign("__image_base__",peVar12,0);\n      plVar5->exp = peVar12;\n    }\n  }\n  if ((pep_def_file->stack_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_stack_reserve__"), iVar8 == 0)) {\n    pep.SizeOfStackReserve._0_4_ = pep_def_file->stack_reserve;\n    pep.SizeOfStackReserve._4_4_ = (int)pep.SizeOfStackReserve >> 0x1f;\n    iVar8 = pep_def_file->stack_commit;\n    if (iVar8 != -1) {\n      pep.SizeOfStackCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfStackCommit._0_4_ = iVar8;\n    }\n  }\n  if ((pep_def_file->heap_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_heap_reserve__"), iVar8 == 0)) {\n    pep.SizeOfHeapReserve._0_4_ = pep_def_file->heap_reserve;\n    iVar8 = pep_def_file->heap_commit;\n    pep.SizeOfHeapReserve._4_4_ = (int)pep.SizeOfHeapReserve >> 0x1f;\n    if (iVar8 != -1) {\n      pep.SizeOfHeapCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfHeapCommit._0_4_ = iVar8;\n    }\n  }\n  return 1;\n}\n\n" comment comment (function_definition "bfd_boolean gld_i386pep_unrecognized_file(lang_input_statement_type *entry)\n\n{\n  def_file_export *pdVar1;\n  uint uVar2;\n  uint uVar3;\n  elf_obj_tdata *peVar4;\n  bfd_vma value;\n  lang_assignment_statement_type *plVar5;\n  def_file *pdVar6;\n  size_t sVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  char *pcVar11;\n  etree_type *peVar12;\n  char *pcVar13;\n  def_file_export *pdVar14;\n  \n  pcVar9 = entry->filename;\n  sVar7 = strlen(pcVar9);\n  pcVar9 = pcVar9 + (sVar7 - 4);\n  iVar8 = filename_cmp(pcVar9,&DAT_00192e54);\n  if (((iVar8 != 0) && (iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0)) ||\n     (pep_def_file = def_file_parse(entry->filename,pep_def_file), pep_def_file == (def_file *)0x0))\n  {\n    return 0;\n  }\n  if (pep_def_file->num_exports < 1) {\n    iVar8 = 0;\n  }\n  else {\n    pdVar14 = pep_def_file->exports;\n    pdVar1 = pdVar14 + pep_def_file->num_exports;\n    iVar8 = 0;\n    do {\n      sVar7 = strlen(pdVar14->internal_name);\n      if (iVar8 <= (int)(sVar7 + 1)) {\n        iVar8 = sVar7 + 2;\n      }\n      pdVar14 = pdVar14 + 1;\n    } while (pdVar1 != pdVar14);\n  }\n  pcVar9 = (char *)xmalloc(iVar8);\n  if (0 < pep_def_file->num_exports) {\n    iVar8 = 0;\n    do {\n      while( true ) {\n        pcVar13 = pep_def_file->exports[iVar8].internal_name;\n        iVar10 = is_underscoring();\n        pcVar11 = "_";\n        if (iVar10 == 0) {\n          pcVar11 = "";\n        }\n        sprintf(pcVar9,"%s%s",pcVar11,pcVar13);\n        iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);\n        if (iVar10 == 0) {\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }\n        if (*(char *)(iVar10 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar10 + 0xc) = 1;\n        iVar8 = iVar8 + 1;\n        *(undefined4 *)(iVar10 + 0x14) = 0;\n        bfd_link_add_undef(link_info.hash,iVar10);\n        if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 < pep_def_file->num_exports);\n  }\nLAB_000530be:\n  pdVar6 = pep_def_file;\n  free(pcVar9);\n  if (pdVar6->is_dll == 1) {\n    link_info._0_1_ = link_info._0_1_ | 3;\n  }\n  uVar2 = *(uint *)((int)&pdVar6->base_address + 4);\n  uVar3 = (uint)pdVar6->base_address;\n  value = pdVar6->base_address;\n  if ((uVar2 & uVar3) != 0xffffffff) {\n    init[0].inited = 1;\n    peVar4 = ((link_info.output_bfd)->tdata).elf_obj_data;\n    init[0].value._0_4_ = uVar3;\n    init[0].value._4_4_ = uVar2;\n    pep.ImageBase._0_4_ = uVar3;\n    pep.ImageBase._4_4_ = uVar2;\n    *(uint *)&(peVar4->shstrtab_hdr).sh_flags = uVar3;\n    *(uint *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4) = uVar2;\n    if (image_base_statement != (lang_assignment_statement_type *)0x0) {\n      peVar12 = exp_intop(value);\n      plVar5 = image_base_statement;\n      peVar12 = exp_assign("__image_base__",peVar12,0);\n      plVar5->exp = peVar12;\n    }\n  }\n  if ((pep_def_file->stack_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_stack_reserve__"), iVar8 == 0)) {\n    pep.SizeOfStackReserve._0_4_ = pep_def_file->stack_reserve;\n    pep.SizeOfStackReserve._4_4_ = (int)pep.SizeOfStackReserve >> 0x1f;\n    iVar8 = pep_def_file->stack_commit;\n    if (iVar8 != -1) {\n      pep.SizeOfStackCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfStackCommit._0_4_ = iVar8;\n    }\n  }\n  if ((pep_def_file->heap_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_heap_reserve__"), iVar8 == 0)) {\n    pep.SizeOfHeapReserve._0_4_ = pep_def_file->heap_reserve;\n    iVar8 = pep_def_file->heap_commit;\n    pep.SizeOfHeapReserve._4_4_ = (int)pep.SizeOfHeapReserve >> 0x1f;\n    if (iVar8 != -1) {\n      pep.SizeOfHeapCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfHeapCommit._0_4_ = iVar8;\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "gld_i386pep_unrecognized_file(lang_input_statement_type *entry)" identifier (parameter_list "(lang_input_statement_type *entry)" ( (parameter_declaration "lang_input_statement_type *entry" type_identifier (pointer_declarator "*entry" * identifier)) ))) (compound_statement "{\n  def_file_export *pdVar1;\n  uint uVar2;\n  uint uVar3;\n  elf_obj_tdata *peVar4;\n  bfd_vma value;\n  lang_assignment_statement_type *plVar5;\n  def_file *pdVar6;\n  size_t sVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  char *pcVar11;\n  etree_type *peVar12;\n  char *pcVar13;\n  def_file_export *pdVar14;\n  \n  pcVar9 = entry->filename;\n  sVar7 = strlen(pcVar9);\n  pcVar9 = pcVar9 + (sVar7 - 4);\n  iVar8 = filename_cmp(pcVar9,&DAT_00192e54);\n  if (((iVar8 != 0) && (iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0)) ||\n     (pep_def_file = def_file_parse(entry->filename,pep_def_file), pep_def_file == (def_file *)0x0))\n  {\n    return 0;\n  }\n  if (pep_def_file->num_exports < 1) {\n    iVar8 = 0;\n  }\n  else {\n    pdVar14 = pep_def_file->exports;\n    pdVar1 = pdVar14 + pep_def_file->num_exports;\n    iVar8 = 0;\n    do {\n      sVar7 = strlen(pdVar14->internal_name);\n      if (iVar8 <= (int)(sVar7 + 1)) {\n        iVar8 = sVar7 + 2;\n      }\n      pdVar14 = pdVar14 + 1;\n    } while (pdVar1 != pdVar14);\n  }\n  pcVar9 = (char *)xmalloc(iVar8);\n  if (0 < pep_def_file->num_exports) {\n    iVar8 = 0;\n    do {\n      while( true ) {\n        pcVar13 = pep_def_file->exports[iVar8].internal_name;\n        iVar10 = is_underscoring();\n        pcVar11 = "_";\n        if (iVar10 == 0) {\n          pcVar11 = "";\n        }\n        sprintf(pcVar9,"%s%s",pcVar11,pcVar13);\n        iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);\n        if (iVar10 == 0) {\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }\n        if (*(char *)(iVar10 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar10 + 0xc) = 1;\n        iVar8 = iVar8 + 1;\n        *(undefined4 *)(iVar10 + 0x14) = 0;\n        bfd_link_add_undef(link_info.hash,iVar10);\n        if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 < pep_def_file->num_exports);\n  }\nLAB_000530be:\n  pdVar6 = pep_def_file;\n  free(pcVar9);\n  if (pdVar6->is_dll == 1) {\n    link_info._0_1_ = link_info._0_1_ | 3;\n  }\n  uVar2 = *(uint *)((int)&pdVar6->base_address + 4);\n  uVar3 = (uint)pdVar6->base_address;\n  value = pdVar6->base_address;\n  if ((uVar2 & uVar3) != 0xffffffff) {\n    init[0].inited = 1;\n    peVar4 = ((link_info.output_bfd)->tdata).elf_obj_data;\n    init[0].value._0_4_ = uVar3;\n    init[0].value._4_4_ = uVar2;\n    pep.ImageBase._0_4_ = uVar3;\n    pep.ImageBase._4_4_ = uVar2;\n    *(uint *)&(peVar4->shstrtab_hdr).sh_flags = uVar3;\n    *(uint *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4) = uVar2;\n    if (image_base_statement != (lang_assignment_statement_type *)0x0) {\n      peVar12 = exp_intop(value);\n      plVar5 = image_base_statement;\n      peVar12 = exp_assign("__image_base__",peVar12,0);\n      plVar5->exp = peVar12;\n    }\n  }\n  if ((pep_def_file->stack_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_stack_reserve__"), iVar8 == 0)) {\n    pep.SizeOfStackReserve._0_4_ = pep_def_file->stack_reserve;\n    pep.SizeOfStackReserve._4_4_ = (int)pep.SizeOfStackReserve >> 0x1f;\n    iVar8 = pep_def_file->stack_commit;\n    if (iVar8 != -1) {\n      pep.SizeOfStackCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfStackCommit._0_4_ = iVar8;\n    }\n  }\n  if ((pep_def_file->heap_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_heap_reserve__"), iVar8 == 0)) {\n    pep.SizeOfHeapReserve._0_4_ = pep_def_file->heap_reserve;\n    iVar8 = pep_def_file->heap_commit;\n    pep.SizeOfHeapReserve._4_4_ = (int)pep.SizeOfHeapReserve >> 0x1f;\n    if (iVar8 != -1) {\n      pep.SizeOfHeapCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfHeapCommit._0_4_ = iVar8;\n    }\n  }\n  return 1;\n}" { (declaration "def_file_export *pdVar1;" type_identifier (pointer_declarator "*pdVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "elf_obj_tdata *peVar4;" type_identifier (pointer_declarator "*peVar4" * identifier) ;) (declaration "bfd_vma value;" type_identifier identifier ;) (declaration "lang_assignment_statement_type *plVar5;" type_identifier (pointer_declarator "*plVar5" * identifier) ;) (declaration "def_file *pdVar6;" type_identifier (pointer_declarator "*pdVar6" * identifier) ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "etree_type *peVar12;" type_identifier (pointer_declarator "*peVar12" * identifier) ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "def_file_export *pdVar14;" type_identifier (pointer_declarator "*pdVar14" * identifier) ;) (expression_statement "pcVar9 = entry->filename;" (assignment_expression "pcVar9 = entry->filename" identifier = (field_expression "entry->filename" identifier -> field_identifier)) ;) (expression_statement "sVar7 = strlen(pcVar9);" (assignment_expression "sVar7 = strlen(pcVar9)" identifier = (call_expression "strlen(pcVar9)" identifier (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "pcVar9 = pcVar9 + (sVar7 - 4);" (assignment_expression "pcVar9 = pcVar9 + (sVar7 - 4)" identifier = (binary_expression "pcVar9 + (sVar7 - 4)" identifier + (parenthesized_expression "(sVar7 - 4)" ( (binary_expression "sVar7 - 4" identifier - number_literal) )))) ;) (expression_statement "iVar8 = filename_cmp(pcVar9,&DAT_00192e54);" (assignment_expression "iVar8 = filename_cmp(pcVar9,&DAT_00192e54)" identifier = (call_expression "filename_cmp(pcVar9,&DAT_00192e54)" identifier (argument_list "(pcVar9,&DAT_00192e54)" ( identifier , (pointer_expression "&DAT_00192e54" & identifier) )))) ;) (if_statement "if (((iVar8 != 0) && (iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0)) ||\n     (pep_def_file = def_file_parse(entry->filename,pep_def_file), pep_def_file == (def_file *)0x0))\n  {\n    return 0;\n  }" if (parenthesized_expression "(((iVar8 != 0) && (iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0)) ||\n     (pep_def_file = def_file_parse(entry->filename,pep_def_file), pep_def_file == (def_file *)0x0))" ( (binary_expression "((iVar8 != 0) && (iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0)) ||\n     (pep_def_file = def_file_parse(entry->filename,pep_def_file), pep_def_file == (def_file *)0x0)" (parenthesized_expression "((iVar8 != 0) && (iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0))" ( (binary_expression "(iVar8 != 0) && (iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0)" (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0)" ( (comma_expression "iVar8 = filename_cmp(pcVar9,&DAT_00192e59), iVar8 != 0" (assignment_expression "iVar8 = filename_cmp(pcVar9,&DAT_00192e59)" identifier = (call_expression "filename_cmp(pcVar9,&DAT_00192e59)" identifier (argument_list "(pcVar9,&DAT_00192e59)" ( identifier , (pointer_expression "&DAT_00192e59" & identifier) )))) , (binary_expression "iVar8 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(pep_def_file = def_file_parse(entry->filename,pep_def_file), pep_def_file == (def_file *)0x0)" ( (comma_expression "pep_def_file = def_file_parse(entry->filename,pep_def_file), pep_def_file == (def_file *)0x0" (assignment_expression "pep_def_file = def_file_parse(entry->filename,pep_def_file)" identifier = (call_expression "def_file_parse(entry->filename,pep_def_file)" identifier (argument_list "(entry->filename,pep_def_file)" ( (field_expression "entry->filename" identifier -> field_identifier) , identifier )))) , (binary_expression "pep_def_file == (def_file *)0x0" identifier == (cast_expression "(def_file *)0x0" ( (type_descriptor "def_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (pep_def_file->num_exports < 1) {\n    iVar8 = 0;\n  }\n  else {\n    pdVar14 = pep_def_file->exports;\n    pdVar1 = pdVar14 + pep_def_file->num_exports;\n    iVar8 = 0;\n    do {\n      sVar7 = strlen(pdVar14->internal_name);\n      if (iVar8 <= (int)(sVar7 + 1)) {\n        iVar8 = sVar7 + 2;\n      }\n      pdVar14 = pdVar14 + 1;\n    } while (pdVar1 != pdVar14);\n  }" if (parenthesized_expression "(pep_def_file->num_exports < 1)" ( (binary_expression "pep_def_file->num_exports < 1" (field_expression "pep_def_file->num_exports" identifier -> field_identifier) < number_literal) )) (compound_statement "{\n    iVar8 = 0;\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    pdVar14 = pep_def_file->exports;\n    pdVar1 = pdVar14 + pep_def_file->num_exports;\n    iVar8 = 0;\n    do {\n      sVar7 = strlen(pdVar14->internal_name);\n      if (iVar8 <= (int)(sVar7 + 1)) {\n        iVar8 = sVar7 + 2;\n      }\n      pdVar14 = pdVar14 + 1;\n    } while (pdVar1 != pdVar14);\n  }" else (compound_statement "{\n    pdVar14 = pep_def_file->exports;\n    pdVar1 = pdVar14 + pep_def_file->num_exports;\n    iVar8 = 0;\n    do {\n      sVar7 = strlen(pdVar14->internal_name);\n      if (iVar8 <= (int)(sVar7 + 1)) {\n        iVar8 = sVar7 + 2;\n      }\n      pdVar14 = pdVar14 + 1;\n    } while (pdVar1 != pdVar14);\n  }" { (expression_statement "pdVar14 = pep_def_file->exports;" (assignment_expression "pdVar14 = pep_def_file->exports" identifier = (field_expression "pep_def_file->exports" identifier -> field_identifier)) ;) (expression_statement "pdVar1 = pdVar14 + pep_def_file->num_exports;" (assignment_expression "pdVar1 = pdVar14 + pep_def_file->num_exports" identifier = (binary_expression "pdVar14 + pep_def_file->num_exports" identifier + (field_expression "pep_def_file->num_exports" identifier -> field_identifier))) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n      sVar7 = strlen(pdVar14->internal_name);\n      if (iVar8 <= (int)(sVar7 + 1)) {\n        iVar8 = sVar7 + 2;\n      }\n      pdVar14 = pdVar14 + 1;\n    } while (pdVar1 != pdVar14);" do (compound_statement "{\n      sVar7 = strlen(pdVar14->internal_name);\n      if (iVar8 <= (int)(sVar7 + 1)) {\n        iVar8 = sVar7 + 2;\n      }\n      pdVar14 = pdVar14 + 1;\n    }" { (expression_statement "sVar7 = strlen(pdVar14->internal_name);" (assignment_expression "sVar7 = strlen(pdVar14->internal_name)" identifier = (call_expression "strlen(pdVar14->internal_name)" identifier (argument_list "(pdVar14->internal_name)" ( (field_expression "pdVar14->internal_name" identifier -> field_identifier) )))) ;) (if_statement "if (iVar8 <= (int)(sVar7 + 1)) {\n        iVar8 = sVar7 + 2;\n      }" if (parenthesized_expression "(iVar8 <= (int)(sVar7 + 1))" ( (binary_expression "iVar8 <= (int)(sVar7 + 1)" identifier <= (cast_expression "(int)(sVar7 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(sVar7 + 1)" ( (binary_expression "sVar7 + 1" identifier + number_literal) )))) )) (compound_statement "{\n        iVar8 = sVar7 + 2;\n      }" { (expression_statement "iVar8 = sVar7 + 2;" (assignment_expression "iVar8 = sVar7 + 2" identifier = (binary_expression "sVar7 + 2" identifier + number_literal)) ;) })) (expression_statement "pdVar14 = pdVar14 + 1;" (assignment_expression "pdVar14 = pdVar14 + 1" identifier = (binary_expression "pdVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pdVar1 != pdVar14)" ( (binary_expression "pdVar1 != pdVar14" identifier != identifier) )) ;) }))) (expression_statement "pcVar9 = (char *)xmalloc(iVar8);" (assignment_expression "pcVar9 = (char *)xmalloc(iVar8)" identifier = (cast_expression "(char *)xmalloc(iVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar8)" identifier (argument_list "(iVar8)" ( identifier ))))) ;) (if_statement "if (0 < pep_def_file->num_exports) {\n    iVar8 = 0;\n    do {\n      while( true ) {\n        pcVar13 = pep_def_file->exports[iVar8].internal_name;\n        iVar10 = is_underscoring();\n        pcVar11 = "_";\n        if (iVar10 == 0) {\n          pcVar11 = "";\n        }\n        sprintf(pcVar9,"%s%s",pcVar11,pcVar13);\n        iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);\n        if (iVar10 == 0) {\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }\n        if (*(char *)(iVar10 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar10 + 0xc) = 1;\n        iVar8 = iVar8 + 1;\n        *(undefined4 *)(iVar10 + 0x14) = 0;\n        bfd_link_add_undef(link_info.hash,iVar10);\n        if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 < pep_def_file->num_exports);\n  }" if (parenthesized_expression "(0 < pep_def_file->num_exports)" ( (binary_expression "0 < pep_def_file->num_exports" number_literal < (field_expression "pep_def_file->num_exports" identifier -> field_identifier)) )) (compound_statement "{\n    iVar8 = 0;\n    do {\n      while( true ) {\n        pcVar13 = pep_def_file->exports[iVar8].internal_name;\n        iVar10 = is_underscoring();\n        pcVar11 = "_";\n        if (iVar10 == 0) {\n          pcVar11 = "";\n        }\n        sprintf(pcVar9,"%s%s",pcVar11,pcVar13);\n        iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);\n        if (iVar10 == 0) {\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }\n        if (*(char *)(iVar10 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar10 + 0xc) = 1;\n        iVar8 = iVar8 + 1;\n        *(undefined4 *)(iVar10 + 0x14) = 0;\n        bfd_link_add_undef(link_info.hash,iVar10);\n        if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 < pep_def_file->num_exports);\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n      while( true ) {\n        pcVar13 = pep_def_file->exports[iVar8].internal_name;\n        iVar10 = is_underscoring();\n        pcVar11 = "_";\n        if (iVar10 == 0) {\n          pcVar11 = "";\n        }\n        sprintf(pcVar9,"%s%s",pcVar11,pcVar13);\n        iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);\n        if (iVar10 == 0) {\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }\n        if (*(char *)(iVar10 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar10 + 0xc) = 1;\n        iVar8 = iVar8 + 1;\n        *(undefined4 *)(iVar10 + 0x14) = 0;\n        bfd_link_add_undef(link_info.hash,iVar10);\n        if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 < pep_def_file->num_exports);" do (compound_statement "{\n      while( true ) {\n        pcVar13 = pep_def_file->exports[iVar8].internal_name;\n        iVar10 = is_underscoring();\n        pcVar11 = "_";\n        if (iVar10 == 0) {\n          pcVar11 = "";\n        }\n        sprintf(pcVar9,"%s%s",pcVar11,pcVar13);\n        iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);\n        if (iVar10 == 0) {\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }\n        if (*(char *)(iVar10 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar10 + 0xc) = 1;\n        iVar8 = iVar8 + 1;\n        *(undefined4 *)(iVar10 + 0x14) = 0;\n        bfd_link_add_undef(link_info.hash,iVar10);\n        if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;\n      }\n      iVar8 = iVar8 + 1;\n    }" { (while_statement "while( true ) {\n        pcVar13 = pep_def_file->exports[iVar8].internal_name;\n        iVar10 = is_underscoring();\n        pcVar11 = "_";\n        if (iVar10 == 0) {\n          pcVar11 = "";\n        }\n        sprintf(pcVar9,"%s%s",pcVar11,pcVar13);\n        iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);\n        if (iVar10 == 0) {\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }\n        if (*(char *)(iVar10 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar10 + 0xc) = 1;\n        iVar8 = iVar8 + 1;\n        *(undefined4 *)(iVar10 + 0x14) = 0;\n        bfd_link_add_undef(link_info.hash,iVar10);\n        if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar13 = pep_def_file->exports[iVar8].internal_name;\n        iVar10 = is_underscoring();\n        pcVar11 = "_";\n        if (iVar10 == 0) {\n          pcVar11 = "";\n        }\n        sprintf(pcVar9,"%s%s",pcVar11,pcVar13);\n        iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);\n        if (iVar10 == 0) {\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }\n        if (*(char *)(iVar10 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar10 + 0xc) = 1;\n        iVar8 = iVar8 + 1;\n        *(undefined4 *)(iVar10 + 0x14) = 0;\n        bfd_link_add_undef(link_info.hash,iVar10);\n        if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;\n      }" { (expression_statement "pcVar13 = pep_def_file->exports[iVar8].internal_name;" (assignment_expression "pcVar13 = pep_def_file->exports[iVar8].internal_name" identifier = (field_expression "pep_def_file->exports[iVar8].internal_name" (subscript_expression "pep_def_file->exports[iVar8]" (field_expression "pep_def_file->exports" identifier -> field_identifier) [ identifier ]) . field_identifier)) ;) (expression_statement "iVar10 = is_underscoring();" (assignment_expression "iVar10 = is_underscoring()" identifier = (call_expression "is_underscoring()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar11 = "_";" (assignment_expression "pcVar11 = "_"" identifier = (string_literal ""_"" " string_content ")) ;) (if_statement "if (iVar10 == 0) {\n          pcVar11 = "";\n        }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n          pcVar11 = "";\n        }" { (expression_statement "pcVar11 = "";" (assignment_expression "pcVar11 = """ identifier = (string_literal """" " ")) ;) })) (expression_statement "sprintf(pcVar9,"%s%s",pcVar11,pcVar13);" (call_expression "sprintf(pcVar9,"%s%s",pcVar11,pcVar13)" identifier (argument_list "(pcVar9,"%s%s",pcVar11,pcVar13)" ( identifier , (string_literal ""%s%s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1);" (assignment_expression "iVar10 = bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1)" identifier = (call_expression "bfd_link_hash_lookup(link_info.hash,pcVar9,1,1,1)" identifier (argument_list "(link_info.hash,pcVar9,1,1,1)" ( (field_expression "link_info.hash" identifier . field_identifier) , identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar10 == 0) {\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n          pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          einfo(pcVar13);\n        }" { (expression_statement "pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);" (assignment_expression "pcVar13 = (char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" identifier (argument_list "(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" ( number_literal , (string_literal ""%F%P: bfd_link_hash_lookup failed: %E\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar13);" (call_expression "einfo(pcVar13)" identifier (argument_list "(pcVar13)" ( identifier ))) ;) })) (if_statement "if (*(char *)(iVar10 + 0xc) != '\0') break;" if (parenthesized_expression "(*(char *)(iVar10 + 0xc) != '\0')" ( (binary_expression "*(char *)(iVar10 + 0xc) != '\0'" (pointer_expression "*(char *)(iVar10 + 0xc)" * (cast_expression "(char *)(iVar10 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc)" ( (binary_expression "iVar10 + 0xc" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*(undefined1 *)(iVar10 + 0xc) = 1;" (assignment_expression "*(undefined1 *)(iVar10 + 0xc) = 1" (pointer_expression "*(undefined1 *)(iVar10 + 0xc)" * (cast_expression "(undefined1 *)(iVar10 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc)" ( (binary_expression "iVar10 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar10 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar10 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar10 + 0x14)" * (cast_expression "(undefined4 *)(iVar10 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "bfd_link_add_undef(link_info.hash,iVar10);" (call_expression "bfd_link_add_undef(link_info.hash,iVar10)" identifier (argument_list "(link_info.hash,iVar10)" ( (field_expression "link_info.hash" identifier . field_identifier) , identifier ))) ;) (if_statement "if (pep_def_file->num_exports <= iVar8) goto LAB_000530be;" if (parenthesized_expression "(pep_def_file->num_exports <= iVar8)" ( (binary_expression "pep_def_file->num_exports <= iVar8" (field_expression "pep_def_file->num_exports" identifier -> field_identifier) <= identifier) )) (goto_statement "goto LAB_000530be;" goto statement_identifier ;)) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 < pep_def_file->num_exports)" ( (binary_expression "iVar8 < pep_def_file->num_exports" identifier < (field_expression "pep_def_file->num_exports" identifier -> field_identifier)) )) ;) })) (labeled_statement "LAB_000530be:\n  pdVar6 = pep_def_file;" statement_identifier : (expression_statement "pdVar6 = pep_def_file;" (assignment_expression "pdVar6 = pep_def_file" identifier = identifier) ;)) (expression_statement "free(pcVar9);" (call_expression "free(pcVar9)" identifier (argument_list "(pcVar9)" ( identifier ))) ;) (if_statement "if (pdVar6->is_dll == 1) {\n    link_info._0_1_ = link_info._0_1_ | 3;\n  }" if (parenthesized_expression "(pdVar6->is_dll == 1)" ( (binary_expression "pdVar6->is_dll == 1" (field_expression "pdVar6->is_dll" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    link_info._0_1_ = link_info._0_1_ | 3;\n  }" { (expression_statement "link_info._0_1_ = link_info._0_1_ | 3;" (assignment_expression "link_info._0_1_ = link_info._0_1_ | 3" (field_expression "link_info._0_1_" identifier . field_identifier) = (binary_expression "link_info._0_1_ | 3" (field_expression "link_info._0_1_" identifier . field_identifier) | number_literal)) ;) })) (expression_statement "uVar2 = *(uint *)((int)&pdVar6->base_address + 4);" (assignment_expression "uVar2 = *(uint *)((int)&pdVar6->base_address + 4)" identifier = (pointer_expression "*(uint *)((int)&pdVar6->base_address + 4)" * (cast_expression "(uint *)((int)&pdVar6->base_address + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pdVar6->base_address + 4)" ( (binary_expression "(int)&pdVar6->base_address + 4" (cast_expression "(int)&pdVar6->base_address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pdVar6->base_address" & (field_expression "pdVar6->base_address" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar3 = (uint)pdVar6->base_address;" (assignment_expression "uVar3 = (uint)pdVar6->base_address" identifier = (cast_expression "(uint)pdVar6->base_address" ( (type_descriptor "uint" type_identifier) ) (field_expression "pdVar6->base_address" identifier -> field_identifier))) ;) (expression_statement "value = pdVar6->base_address;" (assignment_expression "value = pdVar6->base_address" identifier = (field_expression "pdVar6->base_address" identifier -> field_identifier)) ;) (if_statement "if ((uVar2 & uVar3) != 0xffffffff) {\n    init[0].inited = 1;\n    peVar4 = ((link_info.output_bfd)->tdata).elf_obj_data;\n    init[0].value._0_4_ = uVar3;\n    init[0].value._4_4_ = uVar2;\n    pep.ImageBase._0_4_ = uVar3;\n    pep.ImageBase._4_4_ = uVar2;\n    *(uint *)&(peVar4->shstrtab_hdr).sh_flags = uVar3;\n    *(uint *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4) = uVar2;\n    if (image_base_statement != (lang_assignment_statement_type *)0x0) {\n      peVar12 = exp_intop(value);\n      plVar5 = image_base_statement;\n      peVar12 = exp_assign("__image_base__",peVar12,0);\n      plVar5->exp = peVar12;\n    }\n  }" if (parenthesized_expression "((uVar2 & uVar3) != 0xffffffff)" ( (binary_expression "(uVar2 & uVar3) != 0xffffffff" (parenthesized_expression "(uVar2 & uVar3)" ( (binary_expression "uVar2 & uVar3" identifier & identifier) )) != number_literal) )) (compound_statement "{\n    init[0].inited = 1;\n    peVar4 = ((link_info.output_bfd)->tdata).elf_obj_data;\n    init[0].value._0_4_ = uVar3;\n    init[0].value._4_4_ = uVar2;\n    pep.ImageBase._0_4_ = uVar3;\n    pep.ImageBase._4_4_ = uVar2;\n    *(uint *)&(peVar4->shstrtab_hdr).sh_flags = uVar3;\n    *(uint *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4) = uVar2;\n    if (image_base_statement != (lang_assignment_statement_type *)0x0) {\n      peVar12 = exp_intop(value);\n      plVar5 = image_base_statement;\n      peVar12 = exp_assign("__image_base__",peVar12,0);\n      plVar5->exp = peVar12;\n    }\n  }" { (expression_statement "init[0].inited = 1;" (assignment_expression "init[0].inited = 1" (field_expression "init[0].inited" (subscript_expression "init[0]" identifier [ number_literal ]) . field_identifier) = number_literal) ;) (expression_statement "peVar4 = ((link_info.output_bfd)->tdata).elf_obj_data;" (assignment_expression "peVar4 = ((link_info.output_bfd)->tdata).elf_obj_data" identifier = (field_expression "((link_info.output_bfd)->tdata).elf_obj_data" (parenthesized_expression "((link_info.output_bfd)->tdata)" ( (field_expression "(link_info.output_bfd)->tdata" (parenthesized_expression "(link_info.output_bfd)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) )) -> field_identifier) )) . field_identifier)) ;) (expression_statement "init[0].value._0_4_ = uVar3;" (assignment_expression "init[0].value._0_4_ = uVar3" (field_expression "init[0].value._0_4_" (field_expression "init[0].value" (subscript_expression "init[0]" identifier [ number_literal ]) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "init[0].value._4_4_ = uVar2;" (assignment_expression "init[0].value._4_4_ = uVar2" (field_expression "init[0].value._4_4_" (field_expression "init[0].value" (subscript_expression "init[0]" identifier [ number_literal ]) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "pep.ImageBase._0_4_ = uVar3;" (assignment_expression "pep.ImageBase._0_4_ = uVar3" (field_expression "pep.ImageBase._0_4_" (field_expression "pep.ImageBase" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "pep.ImageBase._4_4_ = uVar2;" (assignment_expression "pep.ImageBase._4_4_ = uVar2" (field_expression "pep.ImageBase._4_4_" (field_expression "pep.ImageBase" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "*(uint *)&(peVar4->shstrtab_hdr).sh_flags = uVar3;" (assignment_expression "*(uint *)&(peVar4->shstrtab_hdr).sh_flags = uVar3" (pointer_expression "*(uint *)&(peVar4->shstrtab_hdr).sh_flags" * (cast_expression "(uint *)&(peVar4->shstrtab_hdr).sh_flags" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(peVar4->shstrtab_hdr).sh_flags" & (field_expression "(peVar4->shstrtab_hdr).sh_flags" (parenthesized_expression "(peVar4->shstrtab_hdr)" ( (field_expression "peVar4->shstrtab_hdr" identifier -> field_identifier) )) . field_identifier)))) = identifier) ;) (expression_statement "*(uint *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4) = uVar2;" (assignment_expression "*(uint *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4) = uVar2" (pointer_expression "*(uint *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4)" * (cast_expression "(uint *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(peVar4->shstrtab_hdr).sh_flags + 4)" ( (binary_expression "(int)&(peVar4->shstrtab_hdr).sh_flags + 4" (cast_expression "(int)&(peVar4->shstrtab_hdr).sh_flags" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(peVar4->shstrtab_hdr).sh_flags" & (field_expression "(peVar4->shstrtab_hdr).sh_flags" (parenthesized_expression "(peVar4->shstrtab_hdr)" ( (field_expression "peVar4->shstrtab_hdr" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = identifier) ;) (if_statement "if (image_base_statement != (lang_assignment_statement_type *)0x0) {\n      peVar12 = exp_intop(value);\n      plVar5 = image_base_statement;\n      peVar12 = exp_assign("__image_base__",peVar12,0);\n      plVar5->exp = peVar12;\n    }" if (parenthesized_expression "(image_base_statement != (lang_assignment_statement_type *)0x0)" ( (binary_expression "image_base_statement != (lang_assignment_statement_type *)0x0" identifier != (cast_expression "(lang_assignment_statement_type *)0x0" ( (type_descriptor "lang_assignment_statement_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      peVar12 = exp_intop(value);\n      plVar5 = image_base_statement;\n      peVar12 = exp_assign("__image_base__",peVar12,0);\n      plVar5->exp = peVar12;\n    }" { (expression_statement "peVar12 = exp_intop(value);" (assignment_expression "peVar12 = exp_intop(value)" identifier = (call_expression "exp_intop(value)" identifier (argument_list "(value)" ( identifier )))) ;) (expression_statement "plVar5 = image_base_statement;" (assignment_expression "plVar5 = image_base_statement" identifier = identifier) ;) (expression_statement "peVar12 = exp_assign("__image_base__",peVar12,0);" (assignment_expression "peVar12 = exp_assign("__image_base__",peVar12,0)" identifier = (call_expression "exp_assign("__image_base__",peVar12,0)" identifier (argument_list "("__image_base__",peVar12,0)" ( (string_literal ""__image_base__"" " string_content ") , identifier , number_literal )))) ;) (expression_statement "plVar5->exp = peVar12;" (assignment_expression "plVar5->exp = peVar12" (field_expression "plVar5->exp" identifier -> field_identifier) = identifier) ;) })) })) (if_statement "if ((pep_def_file->stack_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_stack_reserve__"), iVar8 == 0)) {\n    pep.SizeOfStackReserve._0_4_ = pep_def_file->stack_reserve;\n    pep.SizeOfStackReserve._4_4_ = (int)pep.SizeOfStackReserve >> 0x1f;\n    iVar8 = pep_def_file->stack_commit;\n    if (iVar8 != -1) {\n      pep.SizeOfStackCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfStackCommit._0_4_ = iVar8;\n    }\n  }" if (parenthesized_expression "((pep_def_file->stack_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_stack_reserve__"), iVar8 == 0))" ( (binary_expression "(pep_def_file->stack_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_stack_reserve__"), iVar8 == 0)" (parenthesized_expression "(pep_def_file->stack_reserve != -1)" ( (binary_expression "pep_def_file->stack_reserve != -1" (field_expression "pep_def_file->stack_reserve" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(iVar8 = saw_option("__size_of_stack_reserve__"), iVar8 == 0)" ( (comma_expression "iVar8 = saw_option("__size_of_stack_reserve__"), iVar8 == 0" (assignment_expression "iVar8 = saw_option("__size_of_stack_reserve__")" identifier = (call_expression "saw_option("__size_of_stack_reserve__")" identifier (argument_list "("__size_of_stack_reserve__")" ( (string_literal ""__size_of_stack_reserve__"" " string_content ") )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    pep.SizeOfStackReserve._0_4_ = pep_def_file->stack_reserve;\n    pep.SizeOfStackReserve._4_4_ = (int)pep.SizeOfStackReserve >> 0x1f;\n    iVar8 = pep_def_file->stack_commit;\n    if (iVar8 != -1) {\n      pep.SizeOfStackCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfStackCommit._0_4_ = iVar8;\n    }\n  }" { (expression_statement "pep.SizeOfStackReserve._0_4_ = pep_def_file->stack_reserve;" (assignment_expression "pep.SizeOfStackReserve._0_4_ = pep_def_file->stack_reserve" (field_expression "pep.SizeOfStackReserve._0_4_" (field_expression "pep.SizeOfStackReserve" identifier . field_identifier) . field_identifier) = (field_expression "pep_def_file->stack_reserve" identifier -> field_identifier)) ;) (expression_statement "pep.SizeOfStackReserve._4_4_ = (int)pep.SizeOfStackReserve >> 0x1f;" (assignment_expression "pep.SizeOfStackReserve._4_4_ = (int)pep.SizeOfStackReserve >> 0x1f" (field_expression "pep.SizeOfStackReserve._4_4_" (field_expression "pep.SizeOfStackReserve" identifier . field_identifier) . field_identifier) = (binary_expression "(int)pep.SizeOfStackReserve >> 0x1f" (cast_expression "(int)pep.SizeOfStackReserve" ( (type_descriptor "int" primitive_type) ) (field_expression "pep.SizeOfStackReserve" identifier . field_identifier)) >> number_literal)) ;) (expression_statement "iVar8 = pep_def_file->stack_commit;" (assignment_expression "iVar8 = pep_def_file->stack_commit" identifier = (field_expression "pep_def_file->stack_commit" identifier -> field_identifier)) ;) (if_statement "if (iVar8 != -1) {\n      pep.SizeOfStackCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfStackCommit._0_4_ = iVar8;\n    }" if (parenthesized_expression "(iVar8 != -1)" ( (binary_expression "iVar8 != -1" identifier != number_literal) )) (compound_statement "{\n      pep.SizeOfStackCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfStackCommit._0_4_ = iVar8;\n    }" { (expression_statement "pep.SizeOfStackCommit._4_4_ = iVar8 >> 0x1f;" (assignment_expression "pep.SizeOfStackCommit._4_4_ = iVar8 >> 0x1f" (field_expression "pep.SizeOfStackCommit._4_4_" (field_expression "pep.SizeOfStackCommit" identifier . field_identifier) . field_identifier) = (binary_expression "iVar8 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "pep.SizeOfStackCommit._0_4_ = iVar8;" (assignment_expression "pep.SizeOfStackCommit._0_4_ = iVar8" (field_expression "pep.SizeOfStackCommit._0_4_" (field_expression "pep.SizeOfStackCommit" identifier . field_identifier) . field_identifier) = identifier) ;) })) })) (if_statement "if ((pep_def_file->heap_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_heap_reserve__"), iVar8 == 0)) {\n    pep.SizeOfHeapReserve._0_4_ = pep_def_file->heap_reserve;\n    iVar8 = pep_def_file->heap_commit;\n    pep.SizeOfHeapReserve._4_4_ = (int)pep.SizeOfHeapReserve >> 0x1f;\n    if (iVar8 != -1) {\n      pep.SizeOfHeapCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfHeapCommit._0_4_ = iVar8;\n    }\n  }" if (parenthesized_expression "((pep_def_file->heap_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_heap_reserve__"), iVar8 == 0))" ( (binary_expression "(pep_def_file->heap_reserve != -1) &&\n     (iVar8 = saw_option("__size_of_heap_reserve__"), iVar8 == 0)" (parenthesized_expression "(pep_def_file->heap_reserve != -1)" ( (binary_expression "pep_def_file->heap_reserve != -1" (field_expression "pep_def_file->heap_reserve" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(iVar8 = saw_option("__size_of_heap_reserve__"), iVar8 == 0)" ( (comma_expression "iVar8 = saw_option("__size_of_heap_reserve__"), iVar8 == 0" (assignment_expression "iVar8 = saw_option("__size_of_heap_reserve__")" identifier = (call_expression "saw_option("__size_of_heap_reserve__")" identifier (argument_list "("__size_of_heap_reserve__")" ( (string_literal ""__size_of_heap_reserve__"" " string_content ") )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    pep.SizeOfHeapReserve._0_4_ = pep_def_file->heap_reserve;\n    iVar8 = pep_def_file->heap_commit;\n    pep.SizeOfHeapReserve._4_4_ = (int)pep.SizeOfHeapReserve >> 0x1f;\n    if (iVar8 != -1) {\n      pep.SizeOfHeapCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfHeapCommit._0_4_ = iVar8;\n    }\n  }" { (expression_statement "pep.SizeOfHeapReserve._0_4_ = pep_def_file->heap_reserve;" (assignment_expression "pep.SizeOfHeapReserve._0_4_ = pep_def_file->heap_reserve" (field_expression "pep.SizeOfHeapReserve._0_4_" (field_expression "pep.SizeOfHeapReserve" identifier . field_identifier) . field_identifier) = (field_expression "pep_def_file->heap_reserve" identifier -> field_identifier)) ;) (expression_statement "iVar8 = pep_def_file->heap_commit;" (assignment_expression "iVar8 = pep_def_file->heap_commit" identifier = (field_expression "pep_def_file->heap_commit" identifier -> field_identifier)) ;) (expression_statement "pep.SizeOfHeapReserve._4_4_ = (int)pep.SizeOfHeapReserve >> 0x1f;" (assignment_expression "pep.SizeOfHeapReserve._4_4_ = (int)pep.SizeOfHeapReserve >> 0x1f" (field_expression "pep.SizeOfHeapReserve._4_4_" (field_expression "pep.SizeOfHeapReserve" identifier . field_identifier) . field_identifier) = (binary_expression "(int)pep.SizeOfHeapReserve >> 0x1f" (cast_expression "(int)pep.SizeOfHeapReserve" ( (type_descriptor "int" primitive_type) ) (field_expression "pep.SizeOfHeapReserve" identifier . field_identifier)) >> number_literal)) ;) (if_statement "if (iVar8 != -1) {\n      pep.SizeOfHeapCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfHeapCommit._0_4_ = iVar8;\n    }" if (parenthesized_expression "(iVar8 != -1)" ( (binary_expression "iVar8 != -1" identifier != number_literal) )) (compound_statement "{\n      pep.SizeOfHeapCommit._4_4_ = iVar8 >> 0x1f;\n      pep.SizeOfHeapCommit._0_4_ = iVar8;\n    }" { (expression_statement "pep.SizeOfHeapCommit._4_4_ = iVar8 >> 0x1f;" (assignment_expression "pep.SizeOfHeapCommit._4_4_ = iVar8 >> 0x1f" (field_expression "pep.SizeOfHeapCommit._4_4_" (field_expression "pep.SizeOfHeapCommit" identifier . field_identifier) . field_identifier) = (binary_expression "iVar8 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "pep.SizeOfHeapCommit._0_4_ = iVar8;" (assignment_expression "pep.SizeOfHeapCommit._0_4_ = iVar8" (field_expression "pep.SizeOfHeapCommit._0_4_" (field_expression "pep.SizeOfHeapCommit" identifier . field_identifier) . field_identifier) = identifier) ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00052f20(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  \n  pcVar5 = *(char **)(param_1 + 8);\n  sVar3 = strlen(pcVar5);\n  pcVar5 = pcVar5 + (sVar3 - 4);\n  iVar4 = filename_cmp(pcVar5,&DAT_00192e54);\n  if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }\n  if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }\n  pcVar5 = (char *)xmalloc(iVar4);\n  if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }\nLAB_000530be:\n  iVar4 = DAT_001d0160;\n  free(pcVar5);\n  if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }\n  uVar1 = *(uint *)(iVar4 + 0xc);\n  uVar2 = *(uint *)(iVar4 + 8);\n  if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_00052f20(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  \n  pcVar5 = *(char **)(param_1 + 8);\n  sVar3 = strlen(pcVar5);\n  pcVar5 = pcVar5 + (sVar3 - 4);\n  iVar4 = filename_cmp(pcVar5,&DAT_00192e54);\n  if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }\n  if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }\n  pcVar5 = (char *)xmalloc(iVar4);\n  if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }\nLAB_000530be:\n  iVar4 = DAT_001d0160;\n  free(pcVar5);\n  if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }\n  uVar1 = *(uint *)(iVar4 + 0xc);\n  uVar2 = *(uint *)(iVar4 + 8);\n  if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00052f20(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  \n  pcVar5 = *(char **)(param_1 + 8);\n  sVar3 = strlen(pcVar5);\n  pcVar5 = pcVar5 + (sVar3 - 4);\n  iVar4 = filename_cmp(pcVar5,&DAT_00192e54);\n  if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }\n  if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }\n  pcVar5 = (char *)xmalloc(iVar4);\n  if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }\nLAB_000530be:\n  iVar4 = DAT_001d0160;\n  free(pcVar5);\n  if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }\n  uVar1 = *(uint *)(iVar4 + 0xc);\n  uVar2 = *(uint *)(iVar4 + 8);\n  if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }\n  return 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "pcVar5 = *(char **)(param_1 + 8);" (assignment_expression "pcVar5 = *(char **)(param_1 + 8)" identifier = (pointer_expression "*(char **)(param_1 + 8)" * (cast_expression "(char **)(param_1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "sVar3 = strlen(pcVar5);" (assignment_expression "sVar3 = strlen(pcVar5)" identifier = (call_expression "strlen(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "pcVar5 = pcVar5 + (sVar3 - 4);" (assignment_expression "pcVar5 = pcVar5 + (sVar3 - 4)" identifier = (binary_expression "pcVar5 + (sVar3 - 4)" identifier + (parenthesized_expression "(sVar3 - 4)" ( (binary_expression "sVar3 - 4" identifier - number_literal) )))) ;) (expression_statement "iVar4 = filename_cmp(pcVar5,&DAT_00192e54);" (assignment_expression "iVar4 = filename_cmp(pcVar5,&DAT_00192e54)" identifier = (call_expression "filename_cmp(pcVar5,&DAT_00192e54)" identifier (argument_list "(pcVar5,&DAT_00192e54)" ( identifier , (pointer_expression "&DAT_00192e54" & identifier) )))) ;) (if_statement "if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }" if (parenthesized_expression "(((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0))" ( (binary_expression "((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)" (parenthesized_expression "((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0))" ( (binary_expression "(iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)" (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)" ( (comma_expression "iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0" (assignment_expression "iVar4 = filename_cmp(pcVar5,&DAT_00192e59)" identifier = (call_expression "filename_cmp(pcVar5,&DAT_00192e59)" identifier (argument_list "(pcVar5,&DAT_00192e59)" ( identifier , (pointer_expression "&DAT_00192e59" & identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)" ( (comma_expression "DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0" (assignment_expression "DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160)" identifier = (call_expression "FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160)" identifier (argument_list "(*(undefined4 *)(param_1 + 8),DAT_001d0160)" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier )))) , (binary_expression "DAT_001d0160 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }" if (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x2c) < 1)" ( (binary_expression "*(int *)(DAT_001d0160 + 0x2c) < 1" (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" * (cast_expression "(int *)(DAT_001d0160 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x2c)" ( (binary_expression "DAT_001d0160 + 0x2c" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    iVar4 = 0;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }" else (compound_statement "{\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }" { (expression_statement "iVar9 = *(int *)(DAT_001d0160 + 0x30);" (assignment_expression "iVar9 = *(int *)(DAT_001d0160 + 0x30)" identifier = (pointer_expression "*(int *)(DAT_001d0160 + 0x30)" * (cast_expression "(int *)(DAT_001d0160 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x30)" ( (binary_expression "DAT_001d0160 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;" (assignment_expression "iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9" identifier = (binary_expression "*(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9" (binary_expression "*(int *)(DAT_001d0160 + 0x2c) * 0x1c" (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" * (cast_expression "(int *)(DAT_001d0160 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x2c)" ( (binary_expression "DAT_001d0160 + 0x2c" identifier + number_literal) )))) * number_literal) + identifier)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);" do (compound_statement "{\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    }" { (expression_statement "sVar3 = strlen(*(char **)(iVar9 + 4));" (assignment_expression "sVar3 = strlen(*(char **)(iVar9 + 4))" identifier = (call_expression "strlen(*(char **)(iVar9 + 4))" identifier (argument_list "(*(char **)(iVar9 + 4))" ( (pointer_expression "*(char **)(iVar9 + 4)" * (cast_expression "(char **)(iVar9 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 4)" ( (binary_expression "iVar9 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }" if (parenthesized_expression "(iVar4 <= (int)(sVar3 + 1))" ( (binary_expression "iVar4 <= (int)(sVar3 + 1)" identifier <= (cast_expression "(int)(sVar3 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(sVar3 + 1)" ( (binary_expression "sVar3 + 1" identifier + number_literal) )))) )) (compound_statement "{\n        iVar4 = sVar3 + 2;\n      }" { (expression_statement "iVar4 = sVar3 + 2;" (assignment_expression "iVar4 = sVar3 + 2" identifier = (binary_expression "sVar3 + 2" identifier + number_literal)) ;) })) (expression_statement "iVar9 = iVar9 + 0x1c;" (assignment_expression "iVar9 = iVar9 + 0x1c" identifier = (binary_expression "iVar9 + 0x1c" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != iVar9)" ( (binary_expression "iVar6 != iVar9" identifier != identifier) )) ;) }))) (expression_statement "pcVar5 = (char *)xmalloc(iVar4);" (assignment_expression "pcVar5 = (char *)xmalloc(iVar4)" identifier = (cast_expression "(char *)xmalloc(iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))))) ;) (if_statement "if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }" if (parenthesized_expression "(0 < *(int *)(DAT_001d0160 + 0x2c))" ( (binary_expression "0 < *(int *)(DAT_001d0160 + 0x2c)" number_literal < (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" * (cast_expression "(int *)(DAT_001d0160 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x2c)" ( (binary_expression "DAT_001d0160 + 0x2c" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));" do (compound_statement "{\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    }" { (while_statement "while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }" { (expression_statement "uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);" (assignment_expression "uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" * (cast_expression "(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" ( (binary_expression "iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4" (binary_expression "iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30)" (binary_expression "iVar4 * 0x1c" identifier * number_literal) + (pointer_expression "*(int *)(DAT_001d0160 + 0x30)" * (cast_expression "(int *)(DAT_001d0160 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x30)" ( (binary_expression "DAT_001d0160 + 0x30" identifier + number_literal) ))))) + number_literal) ))))) ;) (expression_statement "iVar6 = FUN_00052dd0();" (assignment_expression "iVar6 = FUN_00052dd0()" identifier = (call_expression "FUN_00052dd0()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar7 = "_";" (assignment_expression "pcVar7 = "_"" identifier = (string_literal ""_"" " string_content ")) ;) (if_statement "if (iVar6 == 0) {\n          pcVar7 = "";\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          pcVar7 = "";\n        }" { (expression_statement "pcVar7 = "";" (assignment_expression "pcVar7 = """ identifier = (string_literal """" " ")) ;) })) (expression_statement "sprintf(pcVar5,"%s%s",pcVar7,uVar8);" (call_expression "sprintf(pcVar5,"%s%s",pcVar7,uVar8)" identifier (argument_list "(pcVar5,"%s%s",pcVar7,uVar8)" ( identifier , (string_literal ""%s%s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);" (assignment_expression "iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1)" identifier = (call_expression "bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1)" identifier (argument_list "(DAT_001d0400,pcVar5,1,1,1)" ( identifier , identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }" { (expression_statement "uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);" (assignment_expression "uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" identifier (argument_list "(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" ( number_literal , (string_literal ""%F%P: bfd_link_hash_lookup failed: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar8);" (call_expression "FUN_00034d20(uVar8)" identifier (argument_list "(uVar8)" ( identifier ))) ;) })) (if_statement "if (*(char *)(iVar6 + 0xc) != '\0') break;" if (parenthesized_expression "(*(char *)(iVar6 + 0xc) != '\0')" ( (binary_expression "*(char *)(iVar6 + 0xc) != '\0'" (pointer_expression "*(char *)(iVar6 + 0xc)" * (cast_expression "(char *)(iVar6 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*(undefined1 *)(iVar6 + 0xc) = 1;" (assignment_expression "*(undefined1 *)(iVar6 + 0xc) = 1" (pointer_expression "*(undefined1 *)(iVar6 + 0xc)" * (cast_expression "(undefined1 *)(iVar6 + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar6 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar6 + 0x14)" * (cast_expression "(undefined4 *)(iVar6 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "bfd_link_add_undef(DAT_001d0400,iVar6);" (call_expression "bfd_link_add_undef(DAT_001d0400,iVar6)" identifier (argument_list "(DAT_001d0400,iVar6)" ( identifier , identifier ))) ;) (if_statement "if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;" if (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x2c) <= iVar4)" ( (binary_expression "*(int *)(DAT_001d0160 + 0x2c) <= iVar4" (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" * (cast_expression "(int *)(DAT_001d0160 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x2c)" ( (binary_expression "DAT_001d0160 + 0x2c" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000530be;" goto statement_identifier ;)) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < *(int *)(DAT_001d0160 + 0x2c))" ( (binary_expression "iVar4 < *(int *)(DAT_001d0160 + 0x2c)" identifier < (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" * (cast_expression "(int *)(DAT_001d0160 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x2c)" ( (binary_expression "DAT_001d0160 + 0x2c" identifier + number_literal) ))))) )) ;) })) (labeled_statement "LAB_000530be:\n  iVar4 = DAT_001d0160;" statement_identifier : (expression_statement "iVar4 = DAT_001d0160;" (assignment_expression "iVar4 = DAT_001d0160" identifier = identifier) ;)) (expression_statement "free(pcVar5);" (call_expression "free(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier ))) ;) (if_statement "if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }" if (parenthesized_expression "(*(int *)(iVar4 + 4) == 1)" ( (binary_expression "*(int *)(iVar4 + 4) == 1" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }" { (expression_statement "DAT_001d03e0 = DAT_001d03e0 | 3;" (assignment_expression "DAT_001d03e0 = DAT_001d03e0 | 3" identifier = (binary_expression "DAT_001d03e0 | 3" identifier | number_literal)) ;) })) (expression_statement "uVar1 = *(uint *)(iVar4 + 0xc);" (assignment_expression "uVar1 = *(uint *)(iVar4 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar4 + 0xc)" * (cast_expression "(uint *)(iVar4 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar4 + 8);" (assignment_expression "uVar2 = *(uint *)(iVar4 + 8)" identifier = (pointer_expression "*(uint *)(iVar4 + 8)" * (cast_expression "(uint *)(iVar4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }" if (parenthesized_expression "((uVar1 & uVar2) != 0xffffffff)" ( (binary_expression "(uVar1 & uVar2) != 0xffffffff" (parenthesized_expression "(uVar1 & uVar2)" ( (binary_expression "uVar1 & uVar2" identifier & identifier) )) != number_literal) )) (compound_statement "{\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }" { (expression_statement "DAT_001ced14 = 1;" (assignment_expression "DAT_001ced14 = 1" identifier = number_literal) ;) (expression_statement "iVar4 = *(int *)(DAT_001d0414 + 0xa0);" (assignment_expression "iVar4 = *(int *)(DAT_001d0414 + 0xa0)" identifier = (pointer_expression "*(int *)(DAT_001d0414 + 0xa0)" * (cast_expression "(int *)(DAT_001d0414 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0414 + 0xa0)" ( (binary_expression "DAT_001d0414 + 0xa0" identifier + number_literal) ))))) ;) (expression_statement "DAT_001ced08 = uVar2;" (assignment_expression "DAT_001ced08 = uVar2" identifier = identifier) ;) (expression_statement "DAT_001ced0c = uVar1;" (assignment_expression "DAT_001ced0c = uVar1" identifier = identifier) ;) (expression_statement "DAT_001cfe48 = uVar2;" (assignment_expression "DAT_001cfe48 = uVar2" identifier = identifier) ;) (expression_statement "DAT_001cfe4c = uVar1;" (assignment_expression "DAT_001cfe4c = uVar1" identifier = identifier) ;) (expression_statement "*(uint *)(iVar4 + 0xa4) = uVar2;" (assignment_expression "*(uint *)(iVar4 + 0xa4) = uVar2" (pointer_expression "*(uint *)(iVar4 + 0xa4)" * (cast_expression "(uint *)(iVar4 + 0xa4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xa4)" ( (binary_expression "iVar4 + 0xa4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar4 + 0xa8) = uVar1;" (assignment_expression "*(uint *)(iVar4 + 0xa8) = uVar1" (pointer_expression "*(uint *)(iVar4 + 0xa8)" * (cast_expression "(uint *)(iVar4 + 0xa8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xa8)" ( (binary_expression "iVar4 + 0xa8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }" if (parenthesized_expression "(DAT_001cfe04 != 0)" ( (binary_expression "DAT_001cfe04 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }" { (expression_statement "uVar8 = FUN_00032930(uVar2,uVar1);" (assignment_expression "uVar8 = FUN_00032930(uVar2,uVar1)" identifier = (call_expression "FUN_00032930(uVar2,uVar1)" identifier (argument_list "(uVar2,uVar1)" ( identifier , identifier )))) ;) (expression_statement "iVar4 = DAT_001cfe04;" (assignment_expression "iVar4 = DAT_001cfe04" identifier = identifier) ;) (expression_statement "uVar8 = FUN_00032cb0("__image_base__",uVar8,0);" (assignment_expression "uVar8 = FUN_00032cb0("__image_base__",uVar8,0)" identifier = (call_expression "FUN_00032cb0("__image_base__",uVar8,0)" identifier (argument_list "("__image_base__",uVar8,0)" ( (string_literal ""__image_base__"" " string_content ") , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar8;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar8" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = identifier) ;) })) })) (if_statement "if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }" if (parenthesized_expression "((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0))" ( (binary_expression "(*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)" (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x14) != -1)" ( (binary_expression "*(int *)(DAT_001d0160 + 0x14) != -1" (pointer_expression "*(int *)(DAT_001d0160 + 0x14)" * (cast_expression "(int *)(DAT_001d0160 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x14)" ( (binary_expression "DAT_001d0160 + 0x14" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar4 = FUN_00052e80(), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_00052e80(), iVar4 == 0" (assignment_expression "iVar4 = FUN_00052e80()" identifier = (call_expression "FUN_00052e80()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }" { (expression_statement "DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);" (assignment_expression "DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14)" identifier = (pointer_expression "*(int *)(DAT_001d0160 + 0x14)" * (cast_expression "(int *)(DAT_001d0160 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x14)" ( (binary_expression "DAT_001d0160 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "DAT_001cfe84 = DAT_001cfe80 >> 0x1f;" (assignment_expression "DAT_001cfe84 = DAT_001cfe80 >> 0x1f" identifier = (binary_expression "DAT_001cfe80 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "iVar4 = *(int *)(DAT_001d0160 + 0x18);" (assignment_expression "iVar4 = *(int *)(DAT_001d0160 + 0x18)" identifier = (pointer_expression "*(int *)(DAT_001d0160 + 0x18)" * (cast_expression "(int *)(DAT_001d0160 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x18)" ( (binary_expression "DAT_001d0160 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (compound_statement "{\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }" { (expression_statement "DAT_001cfe8c = iVar4 >> 0x1f;" (assignment_expression "DAT_001cfe8c = iVar4 >> 0x1f" identifier = (binary_expression "iVar4 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "DAT_001cfe88 = iVar4;" (assignment_expression "DAT_001cfe88 = iVar4" identifier = identifier) ;) })) })) (if_statement "if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }" if (parenthesized_expression "((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0))" ( (binary_expression "(*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)" (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x1c) != -1)" ( (binary_expression "*(int *)(DAT_001d0160 + 0x1c) != -1" (pointer_expression "*(int *)(DAT_001d0160 + 0x1c)" * (cast_expression "(int *)(DAT_001d0160 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x1c)" ( (binary_expression "DAT_001d0160 + 0x1c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar4 = FUN_00052e80(), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_00052e80(), iVar4 == 0" (assignment_expression "iVar4 = FUN_00052e80()" identifier = (call_expression "FUN_00052e80()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }" { (expression_statement "DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);" (assignment_expression "DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c)" identifier = (pointer_expression "*(int *)(DAT_001d0160 + 0x1c)" * (cast_expression "(int *)(DAT_001d0160 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x1c)" ( (binary_expression "DAT_001d0160 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(DAT_001d0160 + 0x20);" (assignment_expression "iVar4 = *(int *)(DAT_001d0160 + 0x20)" identifier = (pointer_expression "*(int *)(DAT_001d0160 + 0x20)" * (cast_expression "(int *)(DAT_001d0160 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d0160 + 0x20)" ( (binary_expression "DAT_001d0160 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "DAT_001cfe94 = DAT_001cfe90 >> 0x1f;" (assignment_expression "DAT_001cfe94 = DAT_001cfe90 >> 0x1f" identifier = (binary_expression "DAT_001cfe90 >> 0x1f" identifier >> number_literal)) ;) (if_statement "if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (compound_statement "{\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }" { (expression_statement "DAT_001cfe9c = iVar4 >> 0x1f;" (assignment_expression "DAT_001cfe9c = iVar4 >> 0x1f" identifier = (binary_expression "iVar4 >> 0x1f" identifier >> number_literal)) ;) (expression_statement "DAT_001cfe98 = iVar4;" (assignment_expression "DAT_001cfe98 = iVar4" identifier = identifier) ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) , (binary_expression IDENT != LIT)) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " ")) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) })) (if_statement if (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) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (if_statement if (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) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00052f20(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  \n  pcVar5 = *(char **)(param_1 + 8);\n  sVar3 = strlen(pcVar5);\n  pcVar5 = pcVar5 + (sVar3 - 4);\n  iVar4 = filename_cmp(pcVar5,&DAT_00192e54);\n  if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }\n  if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }\n  pcVar5 = (char *)xmalloc(iVar4);\n  if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }\nLAB_000530be:\n  iVar4 = DAT_001d0160;\n  free(pcVar5);\n  if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }\n  uVar1 = *(uint *)(iVar4 + 0xc);\n  uVar2 = *(uint *)(iVar4 + 8);\n  if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00052f20(int param_1)" (identifier "FUN_00052f20") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  size_t sVar3;\n  int iVar4;\n  char *pcVar5;\n  int iVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  \n  pcVar5 = *(char **)(param_1 + 8);\n  sVar3 = strlen(pcVar5);\n  pcVar5 = pcVar5 + (sVar3 - 4);\n  iVar4 = filename_cmp(pcVar5,&DAT_00192e54);\n  if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }\n  if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }\n  pcVar5 = (char *)xmalloc(iVar4);\n  if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }\nLAB_000530be:\n  iVar4 = DAT_001d0160;\n  free(pcVar5);\n  if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }\n  uVar1 = *(uint *)(iVar4 + 0xc);\n  uVar2 = *(uint *)(iVar4 + 8);\n  if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }\n  if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }\n  return 1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (expression_statement "pcVar5 = *(char **)(param_1 + 8);" (assignment_expression "pcVar5 = *(char **)(param_1 + 8)" (identifier "pcVar5") (= "=") (pointer_expression "*(char **)(param_1 + 8)" (* "*") (cast_expression "(char **)(param_1 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "sVar3 = strlen(pcVar5);" (assignment_expression "sVar3 = strlen(pcVar5)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar5)" (identifier "strlen") (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")")))) (; ";")) (expression_statement "pcVar5 = pcVar5 + (sVar3 - 4);" (assignment_expression "pcVar5 = pcVar5 + (sVar3 - 4)" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + (sVar3 - 4)" (identifier "pcVar5") (+ "+") (parenthesized_expression "(sVar3 - 4)" (( "(") (binary_expression "sVar3 - 4" (identifier "sVar3") (- "-") (number_literal "4")) () ")")))) (; ";")) (expression_statement "iVar4 = filename_cmp(pcVar5,&DAT_00192e54);" (assignment_expression "iVar4 = filename_cmp(pcVar5,&DAT_00192e54)" (identifier "iVar4") (= "=") (call_expression "filename_cmp(pcVar5,&DAT_00192e54)" (identifier "filename_cmp") (argument_list "(pcVar5,&DAT_00192e54)" (( "(") (identifier "pcVar5") (, ",") (pointer_expression "&DAT_00192e54" (& "&") (identifier "DAT_00192e54")) () ")")))) (; ";")) (if_statement "if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0))" (( "(") (binary_expression "((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||\n     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)" (parenthesized_expression "((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0))" (( "(") (binary_expression "(iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)" (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)" (( "(") (comma_expression "iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0" (assignment_expression "iVar4 = filename_cmp(pcVar5,&DAT_00192e59)" (identifier "iVar4") (= "=") (call_expression "filename_cmp(pcVar5,&DAT_00192e59)" (identifier "filename_cmp") (argument_list "(pcVar5,&DAT_00192e59)" (( "(") (identifier "pcVar5") (, ",") (pointer_expression "&DAT_00192e59" (& "&") (identifier "DAT_00192e59")) () ")")))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)" (( "(") (comma_expression "DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0" (assignment_expression "DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160)" (identifier "DAT_001d0160") (= "=") (call_expression "FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160)" (identifier "FUN_0005a7d0") (argument_list "(*(undefined4 *)(param_1 + 8),DAT_001d0160)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "DAT_001d0160") () ")")))) (, ",") (binary_expression "DAT_001d0160 == 0" (identifier "DAT_001d0160") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*(int *)(DAT_001d0160 + 0x2c) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x2c) < 1)" (( "(") (binary_expression "*(int *)(DAT_001d0160 + 0x2c) < 1" (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x2c)" (( "(") (binary_expression "DAT_001d0160 + 0x2c" (identifier "DAT_001d0160") (+ "+") (number_literal "0x2c")) () ")")))) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    iVar4 = 0;\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }" (else "else") (compound_statement "{\n    iVar9 = *(int *)(DAT_001d0160 + 0x30);\n    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;\n    iVar4 = 0;\n    do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);\n  }" ({ "{") (expression_statement "iVar9 = *(int *)(DAT_001d0160 + 0x30);" (assignment_expression "iVar9 = *(int *)(DAT_001d0160 + 0x30)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(DAT_001d0160 + 0x30)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x30)" (( "(") (binary_expression "DAT_001d0160 + 0x30" (identifier "DAT_001d0160") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;" (assignment_expression "iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9" (identifier "iVar6") (= "=") (binary_expression "*(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9" (binary_expression "*(int *)(DAT_001d0160 + 0x2c) * 0x1c" (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x2c)" (( "(") (binary_expression "DAT_001d0160 + 0x2c" (identifier "DAT_001d0160") (+ "+") (number_literal "0x2c")) () ")")))) (* "*") (number_literal "0x1c")) (+ "+") (identifier "iVar9"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    } while (iVar6 != iVar9);" (do "do") (compound_statement "{\n      sVar3 = strlen(*(char **)(iVar9 + 4));\n      if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }\n      iVar9 = iVar9 + 0x1c;\n    }" ({ "{") (expression_statement "sVar3 = strlen(*(char **)(iVar9 + 4));" (assignment_expression "sVar3 = strlen(*(char **)(iVar9 + 4))" (identifier "sVar3") (= "=") (call_expression "strlen(*(char **)(iVar9 + 4))" (identifier "strlen") (argument_list "(*(char **)(iVar9 + 4))" (( "(") (pointer_expression "*(char **)(iVar9 + 4)" (* "*") (cast_expression "(char **)(iVar9 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar9 + 4)" (( "(") (binary_expression "iVar9 + 4" (identifier "iVar9") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar4 <= (int)(sVar3 + 1)) {\n        iVar4 = sVar3 + 2;\n      }" (if "if") (parenthesized_expression "(iVar4 <= (int)(sVar3 + 1))" (( "(") (binary_expression "iVar4 <= (int)(sVar3 + 1)" (identifier "iVar4") (<= "<=") (cast_expression "(int)(sVar3 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(sVar3 + 1)" (( "(") (binary_expression "sVar3 + 1" (identifier "sVar3") (+ "+") (number_literal "1")) () ")")))) () ")")) (compound_statement "{\n        iVar4 = sVar3 + 2;\n      }" ({ "{") (expression_statement "iVar4 = sVar3 + 2;" (assignment_expression "iVar4 = sVar3 + 2" (identifier "iVar4") (= "=") (binary_expression "sVar3 + 2" (identifier "sVar3") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "iVar9 = iVar9 + 0x1c;" (assignment_expression "iVar9 = iVar9 + 0x1c" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 0x1c" (identifier "iVar9") (+ "+") (number_literal "0x1c"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != iVar9)" (( "(") (binary_expression "iVar6 != iVar9" (identifier "iVar6") (!= "!=") (identifier "iVar9")) () ")")) (; ";")) (} "}")))) (expression_statement "pcVar5 = (char *)xmalloc(iVar4);" (assignment_expression "pcVar5 = (char *)xmalloc(iVar4)" (identifier "pcVar5") (= "=") (cast_expression "(char *)xmalloc(iVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(iVar4)" (identifier "xmalloc") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))))) (; ";")) (if_statement "if (0 < *(int *)(DAT_001d0160 + 0x2c)) {\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(DAT_001d0160 + 0x2c))" (( "(") (binary_expression "0 < *(int *)(DAT_001d0160 + 0x2c)" (number_literal "0") (< "<") (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x2c)" (( "(") (binary_expression "DAT_001d0160 + 0x2c" (identifier "DAT_001d0160") (+ "+") (number_literal "0x2c")) () ")"))))) () ")")) (compound_statement "{\n    iVar4 = 0;\n    do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));" (do "do") (compound_statement "{\n      while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }\n      iVar4 = iVar4 + 1;\n    }" ({ "{") (while_statement "while( true ) {\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);\n        iVar6 = FUN_00052dd0();\n        pcVar7 = "_";\n        if (iVar6 == 0) {\n          pcVar7 = "";\n        }\n        sprintf(pcVar5,"%s%s",pcVar7,uVar8);\n        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);\n        if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }\n        if (*(char *)(iVar6 + 0xc) != '\0') break;\n        *(undefined1 *)(iVar6 + 0xc) = 1;\n        iVar4 = iVar4 + 1;\n        *(undefined4 *)(iVar6 + 0x14) = 0;\n        bfd_link_add_undef(DAT_001d0400,iVar6);\n        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;\n      }" ({ "{") (expression_statement "uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);" (assignment_expression "uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" (* "*") (cast_expression "(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4)" (( "(") (binary_expression "iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4" (binary_expression "iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30)" (binary_expression "iVar4 * 0x1c" (identifier "iVar4") (* "*") (number_literal "0x1c")) (+ "+") (pointer_expression "*(int *)(DAT_001d0160 + 0x30)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x30)" (( "(") (binary_expression "DAT_001d0160 + 0x30" (identifier "DAT_001d0160") (+ "+") (number_literal "0x30")) () ")"))))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar6 = FUN_00052dd0();" (assignment_expression "iVar6 = FUN_00052dd0()" (identifier "iVar6") (= "=") (call_expression "FUN_00052dd0()" (identifier "FUN_00052dd0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar7 = "_";" (assignment_expression "pcVar7 = "_"" (identifier "pcVar7") (= "=") (string_literal ""_"" (" """) (string_content "_") (" """))) (; ";")) (if_statement "if (iVar6 == 0) {\n          pcVar7 = "";\n        }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          pcVar7 = "";\n        }" ({ "{") (expression_statement "pcVar7 = "";" (assignment_expression "pcVar7 = """ (identifier "pcVar7") (= "=") (string_literal """" (" """) (" """))) (; ";")) (} "}"))) (expression_statement "sprintf(pcVar5,"%s%s",pcVar7,uVar8);" (call_expression "sprintf(pcVar5,"%s%s",pcVar7,uVar8)" (identifier "sprintf") (argument_list "(pcVar5,"%s%s",pcVar7,uVar8)" (( "(") (identifier "pcVar5") (, ",") (string_literal ""%s%s"" (" """) (string_content "%s%s") (" """)) (, ",") (identifier "pcVar7") (, ",") (identifier "uVar8") () ")"))) (; ";")) (expression_statement "iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);" (assignment_expression "iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1)" (identifier "iVar6") (= "=") (call_expression "bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1)" (identifier "bfd_link_hash_lookup") (argument_list "(DAT_001d0400,pcVar5,1,1,1)" (( "(") (identifier "DAT_001d0400") (, ",") (identifier "pcVar5") (, ",") (number_literal "1") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);\n          FUN_00034d20(uVar8);\n        }" ({ "{") (expression_statement "uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);" (assignment_expression "uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" (identifier "uVar8") (= "=") (call_expression "dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P: bfd_link_hash_lookup failed: %E\n"" (" """) (string_content "%F%P: bfd_link_hash_lookup failed: %E") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar8);" (call_expression "FUN_00034d20(uVar8)" (identifier "FUN_00034d20") (argument_list "(uVar8)" (( "(") (identifier "uVar8") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(iVar6 + 0xc) != '\0') break;" (if "if") (parenthesized_expression "(*(char *)(iVar6 + 0xc) != '\0')" (( "(") (binary_expression "*(char *)(iVar6 + 0xc) != '\0'" (pointer_expression "*(char *)(iVar6 + 0xc)" (* "*") (cast_expression "(char *)(iVar6 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*(undefined1 *)(iVar6 + 0xc) = 1;" (assignment_expression "*(undefined1 *)(iVar6 + 0xc) = 1" (pointer_expression "*(undefined1 *)(iVar6 + 0xc)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0xc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar6 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "bfd_link_add_undef(DAT_001d0400,iVar6);" (call_expression "bfd_link_add_undef(DAT_001d0400,iVar6)" (identifier "bfd_link_add_undef") (argument_list "(DAT_001d0400,iVar6)" (( "(") (identifier "DAT_001d0400") (, ",") (identifier "iVar6") () ")"))) (; ";")) (if_statement "if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;" (if "if") (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x2c) <= iVar4)" (( "(") (binary_expression "*(int *)(DAT_001d0160 + 0x2c) <= iVar4" (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x2c)" (( "(") (binary_expression "DAT_001d0160 + 0x2c" (identifier "DAT_001d0160") (+ "+") (number_literal "0x2c")) () ")")))) (<= "<=") (identifier "iVar4")) () ")")) (goto_statement "goto LAB_000530be;" (goto "goto") (statement_identifier "LAB_000530be") (; ";"))) (} "}"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 < *(int *)(DAT_001d0160 + 0x2c))" (( "(") (binary_expression "iVar4 < *(int *)(DAT_001d0160 + 0x2c)" (identifier "iVar4") (< "<") (pointer_expression "*(int *)(DAT_001d0160 + 0x2c)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x2c)" (( "(") (binary_expression "DAT_001d0160 + 0x2c" (identifier "DAT_001d0160") (+ "+") (number_literal "0x2c")) () ")"))))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_000530be:\n  iVar4 = DAT_001d0160;" (statement_identifier "LAB_000530be") (: ":") (expression_statement "iVar4 = DAT_001d0160;" (assignment_expression "iVar4 = DAT_001d0160" (identifier "iVar4") (= "=") (identifier "DAT_001d0160")) (; ";"))) (expression_statement "free(pcVar5);" (call_expression "free(pcVar5)" (identifier "free") (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")"))) (; ";")) (if_statement "if (*(int *)(iVar4 + 4) == 1) {\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 4) == 1)" (( "(") (binary_expression "*(int *)(iVar4 + 4) == 1" (pointer_expression "*(int *)(iVar4 + 4)" (* "*") (cast_expression "(int *)(iVar4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    DAT_001d03e0 = DAT_001d03e0 | 3;\n  }" ({ "{") (expression_statement "DAT_001d03e0 = DAT_001d03e0 | 3;" (assignment_expression "DAT_001d03e0 = DAT_001d03e0 | 3" (identifier "DAT_001d03e0") (= "=") (binary_expression "DAT_001d03e0 | 3" (identifier "DAT_001d03e0") (| "|") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "uVar1 = *(uint *)(iVar4 + 0xc);" (assignment_expression "uVar1 = *(uint *)(iVar4 + 0xc)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(iVar4 + 0xc)" (* "*") (cast_expression "(uint *)(iVar4 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(uint *)(iVar4 + 8);" (assignment_expression "uVar2 = *(uint *)(iVar4 + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(iVar4 + 8)" (* "*") (cast_expression "(uint *)(iVar4 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((uVar1 & uVar2) != 0xffffffff) {\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }" (if "if") (parenthesized_expression "((uVar1 & uVar2) != 0xffffffff)" (( "(") (binary_expression "(uVar1 & uVar2) != 0xffffffff" (parenthesized_expression "(uVar1 & uVar2)" (( "(") (binary_expression "uVar1 & uVar2" (identifier "uVar1") (& "&") (identifier "uVar2")) () ")")) (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n    DAT_001ced14 = 1;\n    iVar4 = *(int *)(DAT_001d0414 + 0xa0);\n    DAT_001ced08 = uVar2;\n    DAT_001ced0c = uVar1;\n    DAT_001cfe48 = uVar2;\n    DAT_001cfe4c = uVar1;\n    *(uint *)(iVar4 + 0xa4) = uVar2;\n    *(uint *)(iVar4 + 0xa8) = uVar1;\n    if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }\n  }" ({ "{") (expression_statement "DAT_001ced14 = 1;" (assignment_expression "DAT_001ced14 = 1" (identifier "DAT_001ced14") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar4 = *(int *)(DAT_001d0414 + 0xa0);" (assignment_expression "iVar4 = *(int *)(DAT_001d0414 + 0xa0)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(DAT_001d0414 + 0xa0)" (* "*") (cast_expression "(int *)(DAT_001d0414 + 0xa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0414 + 0xa0)" (( "(") (binary_expression "DAT_001d0414 + 0xa0" (identifier "DAT_001d0414") (+ "+") (number_literal "0xa0")) () ")"))))) (; ";")) (expression_statement "DAT_001ced08 = uVar2;" (assignment_expression "DAT_001ced08 = uVar2" (identifier "DAT_001ced08") (= "=") (identifier "uVar2")) (; ";")) (expression_statement "DAT_001ced0c = uVar1;" (assignment_expression "DAT_001ced0c = uVar1" (identifier "DAT_001ced0c") (= "=") (identifier "uVar1")) (; ";")) (expression_statement "DAT_001cfe48 = uVar2;" (assignment_expression "DAT_001cfe48 = uVar2" (identifier "DAT_001cfe48") (= "=") (identifier "uVar2")) (; ";")) (expression_statement "DAT_001cfe4c = uVar1;" (assignment_expression "DAT_001cfe4c = uVar1" (identifier "DAT_001cfe4c") (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(uint *)(iVar4 + 0xa4) = uVar2;" (assignment_expression "*(uint *)(iVar4 + 0xa4) = uVar2" (pointer_expression "*(uint *)(iVar4 + 0xa4)" (* "*") (cast_expression "(uint *)(iVar4 + 0xa4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xa4)" (( "(") (binary_expression "iVar4 + 0xa4" (identifier "iVar4") (+ "+") (number_literal "0xa4")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(uint *)(iVar4 + 0xa8) = uVar1;" (assignment_expression "*(uint *)(iVar4 + 0xa8) = uVar1" (pointer_expression "*(uint *)(iVar4 + 0xa8)" (* "*") (cast_expression "(uint *)(iVar4 + 0xa8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xa8)" (( "(") (binary_expression "iVar4 + 0xa8" (identifier "iVar4") (+ "+") (number_literal "0xa8")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (if_statement "if (DAT_001cfe04 != 0) {\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }" (if "if") (parenthesized_expression "(DAT_001cfe04 != 0)" (( "(") (binary_expression "DAT_001cfe04 != 0" (identifier "DAT_001cfe04") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar8 = FUN_00032930(uVar2,uVar1);\n      iVar4 = DAT_001cfe04;\n      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);\n      *(undefined4 *)(iVar4 + 8) = uVar8;\n    }" ({ "{") (expression_statement "uVar8 = FUN_00032930(uVar2,uVar1);" (assignment_expression "uVar8 = FUN_00032930(uVar2,uVar1)" (identifier "uVar8") (= "=") (call_expression "FUN_00032930(uVar2,uVar1)" (identifier "FUN_00032930") (argument_list "(uVar2,uVar1)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "iVar4 = DAT_001cfe04;" (assignment_expression "iVar4 = DAT_001cfe04" (identifier "iVar4") (= "=") (identifier "DAT_001cfe04")) (; ";")) (expression_statement "uVar8 = FUN_00032cb0("__image_base__",uVar8,0);" (assignment_expression "uVar8 = FUN_00032cb0("__image_base__",uVar8,0)" (identifier "uVar8") (= "=") (call_expression "FUN_00032cb0("__image_base__",uVar8,0)" (identifier "FUN_00032cb0") (argument_list "("__image_base__",uVar8,0)" (( "(") (string_literal ""__image_base__"" (" """) (string_content "__image_base__") (" """)) (, ",") (identifier "uVar8") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar8;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar8" (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (} "}"))) (} "}"))) (if_statement "if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }" (if "if") (parenthesized_expression "((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0))" (( "(") (binary_expression "(*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)" (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x14) != -1)" (( "(") (binary_expression "*(int *)(DAT_001d0160 + 0x14) != -1" (pointer_expression "*(int *)(DAT_001d0160 + 0x14)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x14)" (( "(") (binary_expression "DAT_001d0160 + 0x14" (identifier "DAT_001d0160") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = FUN_00052e80(), iVar4 == 0)" (( "(") (comma_expression "iVar4 = FUN_00052e80(), iVar4 == 0" (assignment_expression "iVar4 = FUN_00052e80()" (identifier "iVar4") (= "=") (call_expression "FUN_00052e80()" (identifier "FUN_00052e80") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);\n    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;\n    iVar4 = *(int *)(DAT_001d0160 + 0x18);\n    if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }\n  }" ({ "{") (expression_statement "DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);" (assignment_expression "DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14)" (identifier "DAT_001cfe80") (= "=") (pointer_expression "*(int *)(DAT_001d0160 + 0x14)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x14)" (( "(") (binary_expression "DAT_001d0160 + 0x14" (identifier "DAT_001d0160") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "DAT_001cfe84 = DAT_001cfe80 >> 0x1f;" (assignment_expression "DAT_001cfe84 = DAT_001cfe80 >> 0x1f" (identifier "DAT_001cfe84") (= "=") (binary_expression "DAT_001cfe80 >> 0x1f" (identifier "DAT_001cfe80") (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "iVar4 = *(int *)(DAT_001d0160 + 0x18);" (assignment_expression "iVar4 = *(int *)(DAT_001d0160 + 0x18)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(DAT_001d0160 + 0x18)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x18)" (( "(") (binary_expression "DAT_001d0160 + 0x18" (identifier "DAT_001d0160") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar4 != -1) {\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }" (if "if") (parenthesized_expression "(iVar4 != -1)" (( "(") (binary_expression "iVar4 != -1" (identifier "iVar4") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      DAT_001cfe8c = iVar4 >> 0x1f;\n      DAT_001cfe88 = iVar4;\n    }" ({ "{") (expression_statement "DAT_001cfe8c = iVar4 >> 0x1f;" (assignment_expression "DAT_001cfe8c = iVar4 >> 0x1f" (identifier "DAT_001cfe8c") (= "=") (binary_expression "iVar4 >> 0x1f" (identifier "iVar4") (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "DAT_001cfe88 = iVar4;" (assignment_expression "DAT_001cfe88 = iVar4" (identifier "DAT_001cfe88") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (} "}"))) (if_statement "if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }" (if "if") (parenthesized_expression "((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0))" (( "(") (binary_expression "(*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)" (parenthesized_expression "(*(int *)(DAT_001d0160 + 0x1c) != -1)" (( "(") (binary_expression "*(int *)(DAT_001d0160 + 0x1c) != -1" (pointer_expression "*(int *)(DAT_001d0160 + 0x1c)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x1c)" (( "(") (binary_expression "DAT_001d0160 + 0x1c" (identifier "DAT_001d0160") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = FUN_00052e80(), iVar4 == 0)" (( "(") (comma_expression "iVar4 = FUN_00052e80(), iVar4 == 0" (assignment_expression "iVar4 = FUN_00052e80()" (identifier "iVar4") (= "=") (call_expression "FUN_00052e80()" (identifier "FUN_00052e80") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);\n    iVar4 = *(int *)(DAT_001d0160 + 0x20);\n    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;\n    if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }\n  }" ({ "{") (expression_statement "DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);" (assignment_expression "DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c)" (identifier "DAT_001cfe90") (= "=") (pointer_expression "*(int *)(DAT_001d0160 + 0x1c)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x1c)" (( "(") (binary_expression "DAT_001d0160 + 0x1c" (identifier "DAT_001d0160") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar4 = *(int *)(DAT_001d0160 + 0x20);" (assignment_expression "iVar4 = *(int *)(DAT_001d0160 + 0x20)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(DAT_001d0160 + 0x20)" (* "*") (cast_expression "(int *)(DAT_001d0160 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d0160 + 0x20)" (( "(") (binary_expression "DAT_001d0160 + 0x20" (identifier "DAT_001d0160") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "DAT_001cfe94 = DAT_001cfe90 >> 0x1f;" (assignment_expression "DAT_001cfe94 = DAT_001cfe90 >> 0x1f" (identifier "DAT_001cfe94") (= "=") (binary_expression "DAT_001cfe90 >> 0x1f" (identifier "DAT_001cfe90") (>> ">>") (number_literal "0x1f"))) (; ";")) (if_statement "if (iVar4 != -1) {\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }" (if "if") (parenthesized_expression "(iVar4 != -1)" (( "(") (binary_expression "iVar4 != -1" (identifier "iVar4") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      DAT_001cfe9c = iVar4 >> 0x1f;\n      DAT_001cfe98 = iVar4;\n    }" ({ "{") (expression_statement "DAT_001cfe9c = iVar4 >> 0x1f;" (assignment_expression "DAT_001cfe9c = iVar4 >> 0x1f" (identifier "DAT_001cfe9c") (= "=") (binary_expression "iVar4 >> 0x1f" (identifier "iVar4") (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "DAT_001cfe98 = iVar4;" (assignment_expression "DAT_001cfe98 = iVar4" (identifier "DAT_001cfe98") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

type_1 function_1(type_2 *entry)

{
  type_3 *var_9;
  type_4 var_19;
  type_4 var_20;
  type_5 *peVar4;
  type_6 value;
  type_7 *plVar5;
  type_8 *pdVar6;
  size_t var_3;
  int var_5;
  char *var_2;
  int var_12;
  char *pcVar11;
  type_9 *peVar12;
  char *pcVar13;
  type_3 *var_8;
  
  var_2 = entry->filename;
  var_3 = var_1(var_2);
  var_2 = var_2 + (var_3 - 4);
  var_5 = var_4(var_2,&DAT_00192e54);
  if (((var_5 != 0) && (var_5 = var_4(var_2,&DAT_00192e59), var_5 != 0)) ||
     (var_7 = var_6(entry->filename,var_7), var_7 == (type_8 *)0x0))
  {
    return 0;
  }
  if (var_7->num_exports < 1) {
    var_5 = 0;
  }
  else {
    var_8 = var_7->exports;
    var_9 = var_8 + var_7->num_exports;
    var_5 = 0;
    do {
      var_3 = var_1(var_8->internal_name);
      if (var_5 <= (int)(var_3 + 1)) {
        var_5 = var_3 + 2;
      }
      var_8 = var_8 + 1;
    } while (var_9 != var_8);
  }
  var_2 = (char *)var_10(var_5);
  if (0 < var_7->num_exports) {
    var_5 = 0;
    do {
      while( true ) {
        pcVar13 = var_7->exports[var_5].internal_name;
        var_12 = var_11();
        pcVar11 = "_";
        if (var_12 == 0) {
          pcVar11 = "";
        }
        var_13(var_2,"%s%s",pcVar11,pcVar13);
        var_12 = var_14(link_info.hash,var_2,1,1,1);
        if (var_12 == 0) {
          pcVar13 = (char *)var_15(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);
          var_16(pcVar13);
        }
        if (*(char *)(var_12 + 0xc) != '\0') break;
        *(type_10 *)(var_12 + 0xc) = 1;
        var_5 = var_5 + 1;
        *(type_11 *)(var_12 + 0x14) = 0;
        var_17(link_info.hash,var_12);
        if (var_7->num_exports <= var_5) goto LAB_000530be;
      }
      var_5 = var_5 + 1;
    } while (var_5 < var_7->num_exports);
  }
LAB_000530be:
  pdVar6 = var_7;
  var_18(var_2);
  if (pdVar6->is_dll == 1) {
    link_info._0_1_ = link_info._0_1_ | 3;
  }
  var_19 = *(type_4 *)((int)&pdVar6->base_address + 4);
  var_20 = (type_4)pdVar6->base_address;
  value = pdVar6->base_address;
  if ((var_19 & var_20) != 0xffffffff) {
    init[0].inited = 1;
    peVar4 = ((link_info.output_bfd)->tdata).elf_obj_data;
    init[0].value._0_4_ = var_20;
    init[0].value._4_4_ = var_19;
    pep.ImageBase._0_4_ = var_20;
    pep.ImageBase._4_4_ = var_19;
    *(type_4 *)&(peVar4->shstrtab_hdr).sh_flags = var_20;
    *(type_4 *)((int)&(peVar4->shstrtab_hdr).sh_flags + 4) = var_19;
    if (var_21 != (type_7 *)0x0) {
      peVar12 = var_22(value);
      plVar5 = var_21;
      peVar12 = var_23("__image_base__",peVar12,0);
      plVar5->exp = peVar12;
    }
  }
  if ((var_7->stack_reserve != -1) &&
     (var_5 = var_24("__size_of_stack_reserve__"), var_5 == 0)) {
    pep.SizeOfStackReserve._0_4_ = var_7->stack_reserve;
    pep.SizeOfStackReserve._4_4_ = (int)pep.SizeOfStackReserve >> 0x1f;
    var_5 = var_7->stack_commit;
    if (var_5 != -1) {
      pep.SizeOfStackCommit._4_4_ = var_5 >> 0x1f;
      pep.SizeOfStackCommit._0_4_ = var_5;
    }
  }
  if ((var_7->heap_reserve != -1) &&
     (var_5 = var_24("__size_of_heap_reserve__"), var_5 == 0)) {
    pep.SizeOfHeapReserve._0_4_ = var_7->heap_reserve;
    var_5 = var_7->heap_commit;
    pep.SizeOfHeapReserve._4_4_ = (int)pep.SizeOfHeapReserve >> 0x1f;
    if (var_5 != -1) {
      pep.SizeOfHeapCommit._4_4_ = var_5 >> 0x1f;
      pep.SizeOfHeapCommit._0_4_ = var_5;
    }
  }
  return 1;
}


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

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

undefined4 MASKED(int param_1)

{
  uint uVar1;
  uint uVar2;
  size_t sVar3;
  int iVar4;
  char *pcVar5;
  int iVar6;
  char *pcVar7;
  undefined4 uVar8;
  int iVar9;
  
  pcVar5 = *(char **)(param_1 + 8);
  sVar3 = strlen(pcVar5);
  pcVar5 = pcVar5 + (sVar3 - 4);
  iVar4 = filename_cmp(pcVar5,&DAT_00192e54);
  if (((iVar4 != 0) && (iVar4 = filename_cmp(pcVar5,&DAT_00192e59), iVar4 != 0)) ||
     (DAT_001d0160 = FUN_0005a7d0(*(undefined4 *)(param_1 + 8),DAT_001d0160), DAT_001d0160 == 0)) {
    return 0;
  }
  if (*(int *)(DAT_001d0160 + 0x2c) < 1) {
    iVar4 = 0;
  }
  else {
    iVar9 = *(int *)(DAT_001d0160 + 0x30);
    iVar6 = *(int *)(DAT_001d0160 + 0x2c) * 0x1c + iVar9;
    iVar4 = 0;
    do {
      sVar3 = strlen(*(char **)(iVar9 + 4));
      if (iVar4 <= (int)(sVar3 + 1)) {
        iVar4 = sVar3 + 2;
      }
      iVar9 = iVar9 + 0x1c;
    } while (iVar6 != iVar9);
  }
  pcVar5 = (char *)xmalloc(iVar4);
  if (0 < *(int *)(DAT_001d0160 + 0x2c)) {
    iVar4 = 0;
    do {
      while( true ) {
        uVar8 = *(undefined4 *)(iVar4 * 0x1c + *(int *)(DAT_001d0160 + 0x30) + 4);
        iVar6 = FUN_00052dd0();
        pcVar7 = "_";
        if (iVar6 == 0) {
          pcVar7 = "";
        }
        sprintf(pcVar5,"%s%s",pcVar7,uVar8);
        iVar6 = bfd_link_hash_lookup(DAT_001d0400,pcVar5,1,1,1);
        if (iVar6 == 0) {
          uVar8 = dcgettext(0,"%F%P: bfd_link_hash_lookup failed: %E\n",5);
          FUN_00034d20(uVar8);
        }
        if (*(char *)(iVar6 + 0xc) != '\0') break;
        *(undefined1 *)(iVar6 + 0xc) = 1;
        iVar4 = iVar4 + 1;
        *(undefined4 *)(iVar6 + 0x14) = 0;
        bfd_link_add_undef(DAT_001d0400,iVar6);
        if (*(int *)(DAT_001d0160 + 0x2c) <= iVar4) goto LAB_000530be;
      }
      iVar4 = iVar4 + 1;
    } while (iVar4 < *(int *)(DAT_001d0160 + 0x2c));
  }
LAB_000530be:
  iVar4 = DAT_001d0160;
  free(pcVar5);
  if (*(int *)(iVar4 + 4) == 1) {
    DAT_001d03e0 = DAT_001d03e0 | 3;
  }
  uVar1 = *(uint *)(iVar4 + 0xc);
  uVar2 = *(uint *)(iVar4 + 8);
  if ((uVar1 & uVar2) != 0xffffffff) {
    DAT_001ced14 = 1;
    iVar4 = *(int *)(DAT_001d0414 + 0xa0);
    DAT_001ced08 = uVar2;
    DAT_001ced0c = uVar1;
    DAT_001cfe48 = uVar2;
    DAT_001cfe4c = uVar1;
    *(uint *)(iVar4 + 0xa4) = uVar2;
    *(uint *)(iVar4 + 0xa8) = uVar1;
    if (DAT_001cfe04 != 0) {
      uVar8 = FUN_00032930(uVar2,uVar1);
      iVar4 = DAT_001cfe04;
      uVar8 = FUN_00032cb0("__image_base__",uVar8,0);
      *(undefined4 *)(iVar4 + 8) = uVar8;
    }
  }
  if ((*(int *)(DAT_001d0160 + 0x14) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {
    DAT_001cfe80 = *(int *)(DAT_001d0160 + 0x14);
    DAT_001cfe84 = DAT_001cfe80 >> 0x1f;
    iVar4 = *(int *)(DAT_001d0160 + 0x18);
    if (iVar4 != -1) {
      DAT_001cfe8c = iVar4 >> 0x1f;
      DAT_001cfe88 = iVar4;
    }
  }
  if ((*(int *)(DAT_001d0160 + 0x1c) != -1) && (iVar4 = FUN_00052e80(), iVar4 == 0)) {
    DAT_001cfe90 = *(int *)(DAT_001d0160 + 0x1c);
    iVar4 = *(int *)(DAT_001d0160 + 0x20);
    DAT_001cfe94 = DAT_001cfe90 >> 0x1f;
    if (iVar4 != -1) {
      DAT_001cfe9c = iVar4 >> 0x1f;
      DAT_001cfe98 = iVar4;
    }
  }
  return 1;
}

