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

void pep_dll_generate_implib(def_file *def,char *impfilename,bfd_link_info *info)

{
  byte bVar1;
  bool bVar2;
  bfd *pbVar3;
  byte *pbVar4;
  bfd *pbVar5;
  bfd *pbVar6;
  int iVar7;
  bfd *pbVar8;
  undefined *puVar9;
  size_t sVar10;
  char *pcVar11;
  def_file_export *pdVar12;
  int iVar13;
  bfd *pbVar14;
  char *pcVar15;
  exclude_list_struct *peVar16;
  char *pcVar17;
  bool bVar18;
  bfd *local_38;
  
  dll_filename = def->name;
  if (def->name == (char *)0x0) {
    dll_filename = dll_name;
  }
  pbVar4 = (byte *)xstrdup(dll_filename);
  puVar9 = PTR__sch_istable_001cefa0;
  bVar1 = *pbVar4;
  dll_symname = (char *)pbVar4;
  while (bVar1 != 0) {
    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {
      *pbVar4 = 0x5f;
    }
    pbVar4 = pbVar4 + 1;
    bVar1 = *pbVar4;
  }
  unlink_if_ordinary(impfilename);
  pbVar5 = (bfd *)bfd_openw(impfilename,0);
  if (pbVar5 == (bfd *)0x0) {
    pcVar15 = (char *)dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);
    einfo(pcVar15,impfilename);
  }
  else {
    if (verbose != 0) {
      pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5);
      info_msg(pcVar15,impfilename);
    }
    bfd_set_format(pbVar5,2);
    pbVar5->field_0x2b = pbVar5->field_0x2b | 0x80;
    pbVar6 = make_head(pbVar5);
    pbVar14 = info->input_bfds;
    local_38 = (bfd *)0x0;
    pbVar3 = local_38;
    peVar16 = excludes;
    for (; local_38 = pbVar3, excludes = peVar16, pbVar14 != (bfd *)0x0;
        pbVar14 = (pbVar14->link).next) {
      if (peVar16 != (exclude_list_struct *)0x0) {
        do {
          bVar18 = false;
          bVar2 = true;
          if (peVar16->type == EXCLUDEFORIMPLIB) {
            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);
            bVar18 = iVar7 == 0;
            bVar2 = !bVar18;
          }
          peVar16 = peVar16->next;
        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));
        if (bVar18) {
          pbVar8 = pbVar14->my_archive;
          if (pbVar14->my_archive == (bfd *)0x0) {
            pbVar8 = pbVar14;
          }
          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);
          if (pbVar8 == (bfd *)0x0) {
            pcVar15 = pbVar14->filename;
            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);
            einfo(pcVar11,pcVar15);
            return;
          }
          local_38 = pbVar8;
          if (pbVar14->my_archive != (bfd *)0x0) {
            iVar7 = bfd_check_format_matches(pbVar8,2,0);
            if (iVar7 == 0) {
              pcVar11 = pbVar14->filename;
              pcVar17 = pbVar14->my_archive->filename;
              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";
LAB_0005e85c:
              pcVar15 = (char *)dcgettext(0,pcVar15,5);
              einfo(pcVar15,pcVar17,pcVar11);
              return;
            }
            local_38 = (bfd *)0x0;
            do {
              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);
              if (local_38 == (bfd *)0x0) {
                pcVar11 = pbVar14->filename;
                pcVar17 = pbVar14->my_archive->filename;
                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";
                goto LAB_0005e85c;
              }
              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);
            } while (iVar7 != 0);
          }
          local_38->archive_next = pbVar3;
        }
      }
      pbVar3 = local_38;
      peVar16 = excludes;
    }
    if (0 < def->num_exports) {
      iVar7 = 0;
      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;
      do {
        if (pep_def_file->exports[iVar7].flag_private == '\0') {
          pdVar12 = def->exports + iVar7;
          pcVar15 = pdVar12->internal_name;
          pdVar12->internal_name = pdVar12->name;
          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);
          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||
             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {
            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {
              sVar10 = strlen(pcVar15);
              pcVar11 = (char *)xmalloc(sVar10 + 2);
              sprintf(pcVar11,"_%s",pcVar15);
              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);
              free(pcVar11);
              if ((iVar13 != 0) &&
                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))
              goto LAB_0005e718;
            }
            pbVar14 = make_one(def->exports + iVar7,pbVar5,
                               (uint)(def->exports[iVar7].flag_data == '\0'));
            pdVar12 = def->exports;
            pbVar14->archive_next = local_38;
            pdVar12[iVar7].internal_name = pcVar15;
            local_38 = pbVar14;
          }
        }
LAB_0005e718:
        iVar7 = iVar7 + 1;
      } while (iVar7 < def->num_exports);
    }
    pbVar14 = make_tail(pbVar5);
    if ((pbVar6 != (bfd *)0x0) && (pbVar14 != (bfd *)0x0)) {
      pbVar6->archive_next = local_38;
      pbVar14->archive_next = pbVar6;
      iVar7 = bfd_set_archive_head(pbVar5,pbVar14);
      if (iVar7 == 0) {
        einfo("%X%P: bfd_set_archive_head: %E\n");
      }
      iVar7 = bfd_close(pbVar5);
      if (iVar7 == 0) {
        einfo("%X%P: bfd_close %s: %E\n",impfilename);
      }
      do {
        pbVar5 = pbVar14->archive_next;
        bfd_close(pbVar14);
        pbVar14 = pbVar5;
      } while (pbVar5 != (bfd *)0x0);
    }
  }
  return;
}



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

void FUN_0005e4c0(int *param_1,undefined4 param_2,int param_3)

{
  byte bVar1;
  bool bVar2;
  undefined4 *puVar3;
  byte *pbVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  undefined4 *puVar8;
  undefined *puVar9;
  size_t sVar10;
  char *__s;
  undefined4 *puVar11;
  int iVar12;
  char *pcVar13;
  undefined4 uVar14;
  undefined4 uVar15;
  undefined4 uVar16;
  int iVar17;
  bool bVar18;
  undefined4 *local_38;
  
  DAT_001d1184 = *param_1;
  if (*param_1 == 0) {
    DAT_001d1184 = DAT_001d11a8;
  }
  pbVar4 = (byte *)xstrdup(DAT_001d1184);
  puVar9 = PTR__sch_istable_001cefa0;
  bVar1 = *pbVar4;
  DAT_001d1180 = pbVar4;
  while (bVar1 != 0) {
    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {
      *pbVar4 = 0x5f;
    }
    pbVar4 = pbVar4 + 1;
    bVar1 = *pbVar4;
  }
  unlink_if_ordinary(param_2);
  iVar5 = bfd_openw(param_2,0);
  if (iVar5 == 0) {
    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);
    FUN_00034d20(uVar15,param_2);
  }
  else {
    if (DAT_001d155c != 0) {
      uVar15 = dcgettext(0,"Creating library file: %s\n",5);
      FUN_00034cf0(uVar15,param_2);
    }
    bfd_set_format(iVar5,2);
    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;
    iVar6 = FUN_0005c6f0();
    puVar11 = *(undefined4 **)(param_3 + 0x3c);
    local_38 = (undefined4 *)0x0;
    puVar3 = local_38;
    puVar8 = DAT_001d1198;
    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;
        puVar11 = (undefined4 *)puVar11[0x27]) {
      if (puVar8 != (undefined4 *)0x0) {
        do {
          bVar18 = false;
          bVar2 = true;
          if (puVar8[2] == 2) {
            iVar7 = filename_cmp(*puVar8,*puVar11);
            bVar18 = iVar7 == 0;
            bVar2 = !bVar18;
          }
          puVar8 = (undefined4 *)puVar8[1];
        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));
        if (bVar18) {
          puVar8 = (undefined4 *)puVar11[0x23];
          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {
            puVar8 = puVar11;
          }
          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);
          if (puVar8 == (undefined4 *)0x0) {
            uVar15 = *puVar11;
            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);
            FUN_00034d20(uVar16,uVar15);
            return;
          }
          local_38 = puVar8;
          if (puVar11[0x23] != 0) {
            iVar7 = bfd_check_format_matches(puVar8,2,0);
            if (iVar7 == 0) {
              uVar15 = *puVar11;
              uVar16 = *(undefined4 *)puVar11[0x23];
              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";
LAB_0005e85c:
              uVar14 = dcgettext(0,pcVar13,5);
              FUN_00034d20(uVar14,uVar16,uVar15);
              return;
            }
            local_38 = (undefined4 *)0x0;
            do {
              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);
              if (local_38 == (undefined4 *)0x0) {
                uVar15 = *puVar11;
                uVar16 = *(undefined4 *)puVar11[0x23];
                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";
                goto LAB_0005e85c;
              }
              iVar7 = filename_cmp(*local_38,*puVar11);
            } while (iVar7 != 0);
          }
          local_38[0x24] = puVar3;
        }
      }
      puVar3 = local_38;
      puVar8 = DAT_001d1198;
    }
    if (0 < param_1[0xb]) {
      iVar7 = 0;
      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;
      do {
        iVar17 = iVar7 * 0x1c;
        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {
          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);
          pcVar13 = (char *)puVar11[1];
          puVar11[1] = *puVar11;
          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);
          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||
             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {
            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {
              sVar10 = strlen(pcVar13);
              __s = (char *)xmalloc(sVar10 + 2);
              sprintf(__s,"_%s",pcVar13);
              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);
              free(__s);
              if ((iVar12 != 0) &&
                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))
              goto LAB_0005e718;
            }
            puVar11 = (undefined4 *)FUN_0005bed0();
            iVar12 = param_1[0xc];
            puVar11[0x24] = local_38;
            *(char **)(iVar12 + 4 + iVar17) = pcVar13;
            local_38 = puVar11;
          }
        }
LAB_0005e718:
        iVar7 = iVar7 + 1;
      } while (iVar7 < param_1[0xb]);
    }
    iVar7 = FUN_0005ca40();
    if ((iVar6 != 0) && (iVar7 != 0)) {
      *(undefined4 **)(iVar6 + 0x90) = local_38;
      *(int *)(iVar7 + 0x90) = iVar6;
      iVar6 = bfd_set_archive_head(iVar5,iVar7);
      if (iVar6 == 0) {
        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");
      }
      iVar5 = bfd_close(iVar5);
      if (iVar5 == 0) {
        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);
      }
      do {
        iVar5 = *(int *)(iVar7 + 0x90);
        bfd_close(iVar7);
        iVar7 = iVar5;
      } while (iVar5 != 0);
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x170b37
SUB ESP,0x38
MOV EAX,dword ptr [ESP + 0x4c]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
CMOVZ EAX,dword ptr [EBX + 0x21a8]
PUSH EAX
MOV dword ptr [EBX + 0x2184],EAX
CALL 0x000164f0
ADD ESP,0x10
MOV ECX,dword ptr [EBX + 0xffffffa0]
MOVZX EDX,byte ptr [EAX]
MOV dword ptr [EBX + 0x2180],EAX
TEST DL,DL
JZ 0x0005e51b
LEA ESI,[ESI]
NOP
TEST byte ptr [ECX + EDX*0x2],0x8c
JNZ 0x0005e511
MOV byte ptr [EAX],0x5f
ADD EAX,0x1
MOVZX EDX,byte ptr [EAX]
TEST DL,DL
JNZ 0x0005e508
SUB ESP,0xc
PUSH dword ptr [ESP + 0x50]
CALL 0x00016820
POP EAX
POP EDX
PUSH 0x0
PUSH dword ptr [ESP + 0x50]
CALL 0x00016970
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0005e915
LEA EAX,[EBX + 0x255c]
MOV ESI,dword ptr [EAX]
TEST ESI,ESI
JNZ 0x0005e881
SUB ESP,0x8
PUSH 0x2
MOV EDI,dword ptr [ESP + 0x18]
PUSH EDI
CALL 0x00016680
OR byte ptr [EDI + 0x2b],0x80
MOV EAX,EDI
CALL 0x0005c6f0
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x58]
ADD ESP,0x10
MOV EDI,dword ptr [EAX + 0x3c]
MOV dword ptr [ESP + 0x4],0x0
TEST EDI,EDI
JZ 0x0005e622
LEA ESI,[ESI]
NOP
MOV ESI,dword ptr [EBX + 0x2198]
TEST ESI,ESI
JZ 0x0005e614
LEA ESI,[ESI]
XOR EDX,EDX
CMP dword ptr [ESI + 0x8],0x2
MOV EAX,0x1
JNZ 0x0005e5c4
SUB ESP,0x8
PUSH dword ptr [EDI]
PUSH dword ptr [ESI]
CALL 0x00016230
ADD ESP,0x10
TEST EAX,EAX
SETZ DL
SETNZ AL
MOV ESI,dword ptr [ESI + 0x4]
TEST ESI,ESI
JZ 0x0005e5cf
TEST AL,AL
JNZ 0x0005e5a0
TEST DL,DL
JZ 0x0005e614
MOV EAX,dword ptr [EDI + 0x8c]
TEST EAX,EAX
CMOVZ EAX,EDI
SUB ESP,0x8
MOV EAX,dword ptr [EAX]
PUSH 0x0
PUSH EAX
CALL 0x000162b0
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x0005e8a8
MOV ECX,dword ptr [EDI + 0x8c]
TEST ECX,ECX
JNZ 0x0005e800
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x4],ESI
MOV dword ptr [ESI + 0x90],EAX
MOV EDI,dword ptr [EDI + 0x9c]
TEST EDI,EDI
JNZ 0x0005e590
MOV EAX,dword ptr [ESP + 0x40]
MOV EDX,dword ptr [EAX + 0x2c]
TEST EDX,EDX
JLE 0x0005e786
MOV EAX,dword ptr [EBX + 0xffffffbc]
XOR EBP,EBP
MOV EDI,dword ptr [ESP + 0x40]
ADD EAX,0xc0
MOV dword ptr [ESP + 0x1c],EAX
JMP 0x0005e720
MOV EAX,dword ptr [EBX + 0x21c4]
MOV EAX,dword ptr [EAX + 0x14]
TEST EAX,EAX
JZ 0x0005e6e8
MOV EAX,dword ptr [ESP + 0x8]
CMP byte ptr [EAX],0x40
JZ 0x0005e6e8
SUB ESP,0xc
MOV dword ptr [ESP + 0x14],EAX
PUSH EAX
CALL 0x00016760
ADD EAX,0x2
MOV dword ptr [ESP],EAX
CALL 0x00016dc8
ADD ESP,0xc
MOV EDX,EAX
LEA EAX,[EBX + 0xffeac1c9]
PUSH dword ptr [ESP + 0xc]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x24],EDX
CALL 0x00016af0
MOV dword ptr [ESP],0x0
PUSH 0x0
PUSH 0x0
MOV EDX,dword ptr [ESP + 0x2c]
PUSH EDX
MOV EAX,dword ptr [ESP + 0x64]
MOV dword ptr [ESP + 0x34],EDX
PUSH dword ptr [EAX + 0x20]
CALL 0x00016590
MOV dword ptr [ESP + 0x34],EAX
ADD ESP,0x14
MOV EDX,dword ptr [ESP + 0x24]
PUSH EDX
CALL 0x00016db0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x0005e6e8
CMP byte ptr [EAX + 0x26],0x6a
JZ 0x0005e903
LEA ESI,[ESI]
MOV EAX,dword ptr [EDI + 0x30]
XOR ECX,ECX
MOV EDX,dword ptr [ESP + 0xc]
ADD EAX,ESI
CMP byte ptr [EAX + 0x17],0x0
SETZ CL
CALL 0x0005bed0
MOV ECX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [EDI + 0x30]
MOV dword ptr [ESP + 0x4],EAX
MOV dword ptr [EAX + 0x90],ECX
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [EDX + ESI*0x1 + 0x4],ECX
ADD EBP,0x1
CMP dword ptr [EDI + 0x2c],EBP
JLE 0x0005e786
MOV EAX,dword ptr [EBX + 0x2160]
IMUL ESI,EBP,0x1c
MOV EAX,dword ptr [EAX + 0x30]
CMP byte ptr [EAX + ESI*0x1 + 0x14],0x0
JNZ 0x0005e718
MOV EAX,dword ptr [EDI + 0x30]
SUB ESP,0xc
ADD EAX,ESI
MOV ECX,dword ptr [EAX + 0x4]
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0x14],ECX
MOV dword ptr [EAX + 0x4],EDX
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH ECX
MOV EAX,dword ptr [ESP + 0x64]
PUSH dword ptr [EAX + 0x20]
CALL 0x00016590
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0005e650
CMP byte ptr [EAX + 0x26],0x6a
JNZ 0x0005e650
MOV EDX,dword ptr [EBX + 0xffffffbc]
ADD EDX,0xc0
CMP dword ptr [EAX + 0x14],EDX
JNZ 0x0005e650
JMP 0x0005e718
MOV ESI,dword ptr [ESP + 0xc]
MOV EAX,ESI
CALL 0x0005ca40
MOV EDI,EAX
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x0005e7f8
TEST EDI,EDI
JZ 0x0005e7f8
MOV ECX,dword ptr [ESP + 0x4]
SUB ESP,0x8
MOV dword ptr [EAX + 0x90],ECX
MOV dword ptr [EDI + 0x90],EAX
PUSH EDI
PUSH ESI
CALL 0x00016200
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0005e8ec
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x00016a70
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0005e8d1
LEA ESI,[ESI]
NOP
SUB ESP,0xc
MOV ESI,dword ptr [EDI + 0x90]
PUSH EDI
MOV EDI,ESI
CALL 0x00016a70
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x0005e7e0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH 0x0
PUSH 0x2
PUSH EAX
CALL 0x00016ab0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0005e93c
XOR EBP,EBP
JMP 0x0005e834
SUB ESP,0x8
PUSH dword ptr [EDI]
PUSH dword ptr [EBP]
CALL 0x00016230
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0005e87a
SUB ESP,0x8
PUSH EBP
PUSH ESI
CALL 0x00016bb0
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JNZ 0x0005e820
MOV EAX,dword ptr [EDI + 0x8c]
SUB ESP,0x4
MOV EBP,dword ptr [EDI]
MOV ESI,dword ptr [EAX]
PUSH 0x5
LEA EAX,[EBX + 0xfffdf2e4]
PUSH EAX
PUSH 0x0
CALL 0x00016310
ADD ESP,0xc
PUSH EBP
PUSH ESI
PUSH EAX
CALL 0x00034d20
ADD ESP,0x10
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,EBP
JMP 0x0005e606
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdec83]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
POP EDX
POP ECX
PUSH dword ptr [ESP + 0x4c]
PUSH EAX
CALL 0x00034cf0
ADD ESP,0x10
JMP 0x0005e553
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdec9e]
MOV ESI,dword ptr [EDI]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
POP EDI
POP EBP
PUSH ESI
PUSH EAX
CALL 0x00034d20
ADD ESP,0x10
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
LEA EAX,[EBX + 0xfffdecb6]
PUSH dword ptr [ESP + 0x4c]
PUSH EAX
CALL 0x00034d20
ADD ESP,0x10
JMP 0x0005e7e0
SUB ESP,0xc
LEA EAX,[EBX + 0xfffdf2c4]
PUSH EAX
CALL 0x00034d20
ADD ESP,0x10
JMP 0x0005e7c4
MOV ECX,dword ptr [ESP + 0x1c]
CMP dword ptr [EAX + 0x14],ECX
JNZ 0x0005e6e8
JMP 0x0005e718
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdf270]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
POP EDI
POP EBP
PUSH dword ptr [ESP + 0x4c]
PUSH EAX
CALL 0x00034d20
ADD ESP,0x10
JMP 0x0005e7f8
MOV EAX,dword ptr [EDI + 0x8c]
SUB ESP,0x4
MOV EBP,dword ptr [EDI]
MOV ESI,dword ptr [EAX]
PUSH 0x5
LEA EAX,[EBX + 0xfffdf290]
JMP 0x0005e85c
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0005e4c0(int *param_1,undefined4 param_2,int param_3)\n\n{\n  byte bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *__s;\n  undefined4 *puVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  bool bVar18;\n  undefined4 *local_38;\n  \n  DAT_001d1184 = *param_1;\n  if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }\n  pbVar4 = (byte *)xstrdup(DAT_001d1184);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  DAT_001d1180 = pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(param_2);\n  iVar5 = bfd_openw(param_2,0);\n  if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0005e4c0(int *param_1,undefined4 param_2,int param_3)\n\n{\n  byte bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *__s;\n  undefined4 *puVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  bool bVar18;\n  undefined4 *local_38;\n  \n  DAT_001d1184 = *param_1;\n  if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }\n  pbVar4 = (byte *)xstrdup(DAT_001d1184);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  DAT_001d1180 = pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(param_2);\n  iVar5 = bfd_openw(param_2,0);\n  if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0005e4c0(int *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *__s;\n  undefined4 *puVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  bool bVar18;\n  undefined4 *local_38;\n  \n  DAT_001d1184 = *param_1;\n  if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }\n  pbVar4 = (byte *)xstrdup(DAT_001d1184);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  DAT_001d1180 = pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(param_2);\n  iVar5 = bfd_openw(param_2,0);\n  if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "size_t sVar10;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "undefined4 uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "undefined4 *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (expression_statement "DAT_001d1184 = *param_1;" (assignment_expression "DAT_001d1184 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    DAT_001d1184 = DAT_001d11a8;\n  }" { (expression_statement "DAT_001d1184 = DAT_001d11a8;" (assignment_expression "DAT_001d1184 = DAT_001d11a8" identifier = identifier) ;) })) (expression_statement "pbVar4 = (byte *)xstrdup(DAT_001d1184);" (assignment_expression "pbVar4 = (byte *)xstrdup(DAT_001d1184)" identifier = (cast_expression "(byte *)xstrdup(DAT_001d1184)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(DAT_001d1184)" identifier (argument_list "(DAT_001d1184)" ( identifier ))))) ;) (expression_statement "puVar9 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar9 = PTR__sch_istable_001cefa0" identifier = identifier) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "DAT_001d1180 = pbVar4;" (assignment_expression "DAT_001d1180 = pbVar4" identifier = identifier) ;) (while_statement "while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }" while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }" { (if_statement "if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }" if (parenthesized_expression "((puVar9[(uint)bVar1 * 2] & 0x8c) == 0)" ( (binary_expression "(puVar9[(uint)bVar1 * 2] & 0x8c) == 0" (parenthesized_expression "(puVar9[(uint)bVar1 * 2] & 0x8c)" ( (binary_expression "puVar9[(uint)bVar1 * 2] & 0x8c" (subscript_expression "puVar9[(uint)bVar1 * 2]" identifier [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      *pbVar4 = 0x5f;\n    }" { (expression_statement "*pbVar4 = 0x5f;" (assignment_expression "*pbVar4 = 0x5f" (pointer_expression "*pbVar4" * identifier) = number_literal) ;) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) })) (expression_statement "unlink_if_ordinary(param_2);" (call_expression "unlink_if_ordinary(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar5 = bfd_openw(param_2,0);" (assignment_expression "iVar5 = bfd_openw(param_2,0)" identifier = (call_expression "bfd_openw(param_2,0)" identifier (argument_list "(param_2,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }" { (expression_statement "uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);" (assignment_expression "uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5)" identifier (argument_list "(0,"%X%P: can\'t open .lib file: %s\n",5)" ( number_literal , (string_literal ""%X%P: can\'t open .lib file: %s\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar15,param_2);" (call_expression "FUN_00034d20(uVar15,param_2)" identifier (argument_list "(uVar15,param_2)" ( identifier , identifier ))) ;) }) (else_clause "else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }" else (compound_statement "{\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }" { (if_statement "if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }" if (parenthesized_expression "(DAT_001d155c != 0)" ( (binary_expression "DAT_001d155c != 0" identifier != number_literal) )) (compound_statement "{\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }" { (expression_statement "uVar15 = dcgettext(0,"Creating library file: %s\n",5);" (assignment_expression "uVar15 = dcgettext(0,"Creating library file: %s\n",5)" identifier = (call_expression "dcgettext(0,"Creating library file: %s\n",5)" identifier (argument_list "(0,"Creating library file: %s\n",5)" ( number_literal , (string_literal ""Creating library file: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034cf0(uVar15,param_2);" (call_expression "FUN_00034cf0(uVar15,param_2)" identifier (argument_list "(uVar15,param_2)" ( identifier , identifier ))) ;) })) (expression_statement "bfd_set_format(iVar5,2);" (call_expression "bfd_set_format(iVar5,2)" identifier (argument_list "(iVar5,2)" ( identifier , number_literal ))) ;) (expression_statement "*(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;" (assignment_expression "*(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80" (pointer_expression "*(byte *)(iVar5 + 0x2b)" * (cast_expression "(byte *)(iVar5 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2b)" ( (binary_expression "iVar5 + 0x2b" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar5 + 0x2b) | 0x80" (pointer_expression "*(byte *)(iVar5 + 0x2b)" * (cast_expression "(byte *)(iVar5 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2b)" ( (binary_expression "iVar5 + 0x2b" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "iVar6 = FUN_0005c6f0();" (assignment_expression "iVar6 = FUN_0005c6f0()" identifier = (call_expression "FUN_0005c6f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar11 = *(undefined4 **)(param_3 + 0x3c);" (assignment_expression "puVar11 = *(undefined4 **)(param_3 + 0x3c)" identifier = (pointer_expression "*(undefined4 **)(param_3 + 0x3c)" * (cast_expression "(undefined4 **)(param_3 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "local_38 = (undefined4 *)0x0;" (assignment_expression "local_38 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar3 = local_38;" (assignment_expression "puVar3 = local_38" identifier = identifier) ;) (expression_statement "puVar8 = DAT_001d1198;" (assignment_expression "puVar8 = DAT_001d1198" identifier = identifier) ;) (for_statement "for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }" for ( ; (comma_expression "local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0" (assignment_expression "local_38 = puVar3" identifier = identifier) , (comma_expression "DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0" (assignment_expression "DAT_001d1198 = puVar8" identifier = identifier) , (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ; (assignment_expression "puVar11 = (undefined4 *)puVar11[0x27]" identifier = (cast_expression "(undefined4 *)puVar11[0x27]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[0x27]" identifier [ number_literal ]))) ) (compound_statement "{\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }" { (if_statement "if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }" if (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" ( (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }" { (do_statement "do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));" do (compound_statement "{\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        }" { (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" identifier = false) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (if_statement "if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }" if (parenthesized_expression "(puVar8[2] == 2)" ( (binary_expression "puVar8[2] == 2" (subscript_expression "puVar8[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }" { (expression_statement "iVar7 = filename_cmp(*puVar8,*puVar11);" (assignment_expression "iVar7 = filename_cmp(*puVar8,*puVar11)" identifier = (call_expression "filename_cmp(*puVar8,*puVar11)" identifier (argument_list "(*puVar8,*puVar11)" ( (pointer_expression "*puVar8" * identifier) , (pointer_expression "*puVar11" * identifier) )))) ;) (expression_statement "bVar18 = iVar7 == 0;" (assignment_expression "bVar18 = iVar7 == 0" identifier = (binary_expression "iVar7 == 0" identifier == number_literal)) ;) (expression_statement "bVar2 = !bVar18;" (assignment_expression "bVar2 = !bVar18" identifier = (unary_expression "!bVar18" ! identifier)) ;) })) (expression_statement "puVar8 = (undefined4 *)puVar8[1];" (assignment_expression "puVar8 = (undefined4 *)puVar8[1]" identifier = (cast_expression "(undefined4 *)puVar8[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[1]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "((puVar8 != (undefined4 *)0x0) && (bVar2))" ( (binary_expression "(puVar8 != (undefined4 *)0x0) && (bVar2)" (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" ( (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar2)" ( identifier ))) )) ;) (if_statement "if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }" if (parenthesized_expression "(bVar18)" ( identifier )) (compound_statement "{\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }" { (expression_statement "puVar8 = (undefined4 *)puVar11[0x23];" (assignment_expression "puVar8 = (undefined4 *)puVar11[0x23]" identifier = (cast_expression "(undefined4 *)puVar11[0x23]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[0x23]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }" if (parenthesized_expression "((undefined4 *)puVar11[0x23] == (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)puVar11[0x23] == (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar11[0x23]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[0x23]" identifier [ number_literal ])) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            puVar8 = puVar11;\n          }" { (expression_statement "puVar8 = puVar11;" (assignment_expression "puVar8 = puVar11" identifier = identifier) ;) })) (expression_statement "puVar8 = (undefined4 *)bfd_openr(*puVar8,0);" (assignment_expression "puVar8 = (undefined4 *)bfd_openr(*puVar8,0)" identifier = (cast_expression "(undefined4 *)bfd_openr(*puVar8,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_openr(*puVar8,0)" identifier (argument_list "(*puVar8,0)" ( (pointer_expression "*puVar8" * identifier) , number_literal ))))) ;) (if_statement "if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }" if (parenthesized_expression "(puVar8 == (undefined4 *)0x0)" ( (binary_expression "puVar8 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }" { (expression_statement "uVar15 = *puVar11;" (assignment_expression "uVar15 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);" (assignment_expression "uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: bfd_openr %s: %E\n",5)" identifier (argument_list "(0,"%X%P: bfd_openr %s: %E\n",5)" ( number_literal , (string_literal ""%X%P: bfd_openr %s: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar16,uVar15);" (call_expression "FUN_00034d20(uVar16,uVar15)" identifier (argument_list "(uVar16,uVar15)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_38 = puVar8;" (assignment_expression "local_38 = puVar8" identifier = identifier) ;) (if_statement "if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }" if (parenthesized_expression "(puVar11[0x23] != 0)" ( (binary_expression "puVar11[0x23] != 0" (subscript_expression "puVar11[0x23]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }" { (expression_statement "iVar7 = bfd_check_format_matches(puVar8,2,0);" (assignment_expression "iVar7 = bfd_check_format_matches(puVar8,2,0)" identifier = (call_expression "bfd_check_format_matches(puVar8,2,0)" identifier (argument_list "(puVar8,2,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }" { (expression_statement "uVar15 = *puVar11;" (assignment_expression "uVar15 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "uVar16 = *(undefined4 *)puVar11[0x23];" (assignment_expression "uVar16 = *(undefined4 *)puVar11[0x23]" identifier = (pointer_expression "*(undefined4 *)puVar11[0x23]" * (cast_expression "(undefined4 *)puVar11[0x23]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[0x23]" identifier [ number_literal ])))) ;) (expression_statement "pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";" (assignment_expression "pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file"" identifier = (string_literal ""%X%P: %s(%s): can\'t find member in non-archive file"" " string_content escape_sequence string_content ")) ;) (labeled_statement "LAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);" statement_identifier : (expression_statement "uVar14 = dcgettext(0,pcVar13,5);" (assignment_expression "uVar14 = dcgettext(0,pcVar13,5)" identifier = (call_expression "dcgettext(0,pcVar13,5)" identifier (argument_list "(0,pcVar13,5)" ( number_literal , identifier , number_literal )))) ;)) (expression_statement "FUN_00034d20(uVar14,uVar16,uVar15);" (call_expression "FUN_00034d20(uVar14,uVar16,uVar15)" identifier (argument_list "(uVar14,uVar16,uVar15)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_38 = (undefined4 *)0x0;" (assignment_expression "local_38 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);" do (compound_statement "{\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            }" { (expression_statement "local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);" (assignment_expression "local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38)" identifier = (cast_expression "(undefined4 *)bfd_openr_next_archived_file(puVar8,local_38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_openr_next_archived_file(puVar8,local_38)" identifier (argument_list "(puVar8,local_38)" ( identifier , identifier ))))) ;) (if_statement "if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }" if (parenthesized_expression "(local_38 == (undefined4 *)0x0)" ( (binary_expression "local_38 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }" { (expression_statement "uVar15 = *puVar11;" (assignment_expression "uVar15 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "uVar16 = *(undefined4 *)puVar11[0x23];" (assignment_expression "uVar16 = *(undefined4 *)puVar11[0x23]" identifier = (pointer_expression "*(undefined4 *)puVar11[0x23]" * (cast_expression "(undefined4 *)puVar11[0x23]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[0x23]" identifier [ number_literal ])))) ;) (expression_statement "pcVar13 = "%X%P: %s(%s): can\'t find member in archive";" (assignment_expression "pcVar13 = "%X%P: %s(%s): can\'t find member in archive"" identifier = (string_literal ""%X%P: %s(%s): can\'t find member in archive"" " string_content escape_sequence string_content ")) ;) (goto_statement "goto LAB_0005e85c;" goto statement_identifier ;) })) (expression_statement "iVar7 = filename_cmp(*local_38,*puVar11);" (assignment_expression "iVar7 = filename_cmp(*local_38,*puVar11)" identifier = (call_expression "filename_cmp(*local_38,*puVar11)" identifier (argument_list "(*local_38,*puVar11)" ( (pointer_expression "*local_38" * identifier) , (pointer_expression "*puVar11" * identifier) )))) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) })) (expression_statement "local_38[0x24] = puVar3;" (assignment_expression "local_38[0x24] = puVar3" (subscript_expression "local_38[0x24]" identifier [ number_literal ]) = identifier) ;) })) })) (expression_statement "puVar3 = local_38;" (assignment_expression "puVar3 = local_38" identifier = identifier) ;) (expression_statement "puVar8 = DAT_001d1198;" (assignment_expression "puVar8 = DAT_001d1198" identifier = identifier) ;) })) (if_statement "if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }" if (parenthesized_expression "(0 < param_1[0xb])" ( (binary_expression "0 < param_1[0xb]" number_literal < (subscript_expression "param_1[0xb]" identifier [ number_literal ])) )) (compound_statement "{\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;" (assignment_expression "puVar9 = PTR__bfd_std_section_001cefbc + 0xc0" identifier = (binary_expression "PTR__bfd_std_section_001cefbc + 0xc0" identifier + number_literal)) ;) (do_statement "do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);" do (compound_statement "{\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "iVar17 = iVar7 * 0x1c;" (assignment_expression "iVar17 = iVar7 * 0x1c" identifier = (binary_expression "iVar7 * 0x1c" identifier * number_literal)) ;) (if_statement "if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }" if (parenthesized_expression "(*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0')" ( (binary_expression "*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0'" (pointer_expression "*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17)" * (cast_expression "(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17)" ( (binary_expression "*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17" (binary_expression "*(int *)(DAT_001d1160 + 0x30) + 0x14" (pointer_expression "*(int *)(DAT_001d1160 + 0x30)" * (cast_expression "(int *)(DAT_001d1160 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d1160 + 0x30)" ( (binary_expression "DAT_001d1160 + 0x30" identifier + number_literal) )))) + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }" { (expression_statement "puVar11 = (undefined4 *)(param_1[0xc] + iVar17);" (assignment_expression "puVar11 = (undefined4 *)(param_1[0xc] + iVar17)" identifier = (cast_expression "(undefined4 *)(param_1[0xc] + iVar17)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + iVar17)" ( (binary_expression "param_1[0xc] + iVar17" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "pcVar13 = (char *)puVar11[1];" (assignment_expression "pcVar13 = (char *)puVar11[1]" identifier = (cast_expression "(char *)puVar11[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar11[1] = *puVar11;" (assignment_expression "puVar11[1] = *puVar11" (subscript_expression "puVar11[1]" identifier [ number_literal ]) = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);" (assignment_expression "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0)" identifier = (call_expression "bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0)" identifier (argument_list "(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0)" ( (pointer_expression "*(undefined4 *)(param_3 + 0x20)" * (cast_expression "(undefined4 *)(param_3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }" if (parenthesized_expression "(((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0))" ( (binary_expression "((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)" (parenthesized_expression "((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j'))" ( (binary_expression "(iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')" (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)(iVar12 + 0x26) != 'j')" ( (binary_expression "*(char *)(iVar12 + 0x26) != 'j'" (pointer_expression "*(char *)(iVar12 + 0x26)" * (cast_expression "(char *)(iVar12 + 0x26)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x26)" ( (binary_expression "iVar12 + 0x26" identifier + number_literal) )))) != (char_literal "'j'" ' character ')) ))) )) || (parenthesized_expression "(*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)" ( (binary_expression "*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0" (pointer_expression "*(undefined **)(iVar12 + 0x14)" * (cast_expression "(undefined **)(iVar12 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 0x14)" ( (binary_expression "iVar12 + 0x14" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_001cefbc + 0xc0" identifier + number_literal)) ))) )) (compound_statement "{\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }" { (if_statement "if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }" if (parenthesized_expression "((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@'))" ( (binary_expression "(*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')" (parenthesized_expression "(*(int *)(DAT_001d11c4 + 0x14) != 0)" ( (binary_expression "*(int *)(DAT_001d11c4 + 0x14) != 0" (pointer_expression "*(int *)(DAT_001d11c4 + 0x14)" * (cast_expression "(int *)(DAT_001d11c4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d11c4 + 0x14)" ( (binary_expression "DAT_001d11c4 + 0x14" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar13 != '@')" ( (binary_expression "*pcVar13 != '@'" (pointer_expression "*pcVar13" * identifier) != (char_literal "'@'" ' character ')) ))) )) (compound_statement "{\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }" { (expression_statement "sVar10 = strlen(pcVar13);" (assignment_expression "sVar10 = strlen(pcVar13)" identifier = (call_expression "strlen(pcVar13)" identifier (argument_list "(pcVar13)" ( identifier )))) ;) (expression_statement "__s = (char *)xmalloc(sVar10 + 2);" (assignment_expression "__s = (char *)xmalloc(sVar10 + 2)" identifier = (cast_expression "(char *)xmalloc(sVar10 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar10 + 2)" identifier (argument_list "(sVar10 + 2)" ( (binary_expression "sVar10 + 2" identifier + number_literal) ))))) ;) (expression_statement "sprintf(__s,"_%s",pcVar13);" (call_expression "sprintf(__s,"_%s",pcVar13)" identifier (argument_list "(__s,"_%s",pcVar13)" ( identifier , (string_literal ""_%s"" " string_content ") , identifier ))) ;) (expression_statement "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);" (assignment_expression "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0)" identifier = (call_expression "bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0)" identifier (argument_list "(*(undefined4 *)(param_3 + 0x20),__s,0,0,0)" ( (pointer_expression "*(undefined4 *)(param_3 + 0x20)" * (cast_expression "(undefined4 *)(param_3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (if_statement "if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;" if (parenthesized_expression "((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))" ( (binary_expression "(iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9)))" (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9)))" ( (parenthesized_expression "(*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))" ( (binary_expression "*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9)" (binary_expression "*(char *)(iVar12 + 0x26) == 'j'" (pointer_expression "*(char *)(iVar12 + 0x26)" * (cast_expression "(char *)(iVar12 + 0x26)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x26)" ( (binary_expression "iVar12 + 0x26" identifier + number_literal) )))) == (char_literal "'j'" ' character ')) && (parenthesized_expression "(*(undefined **)(iVar12 + 0x14) == puVar9)" ( (binary_expression "*(undefined **)(iVar12 + 0x14) == puVar9" (pointer_expression "*(undefined **)(iVar12 + 0x14)" * (cast_expression "(undefined **)(iVar12 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 0x14)" ( (binary_expression "iVar12 + 0x14" identifier + number_literal) )))) == identifier) ))) )) ))) )) (goto_statement "goto LAB_0005e718;" goto statement_identifier ;)) })) (expression_statement "puVar11 = (undefined4 *)FUN_0005bed0();" (assignment_expression "puVar11 = (undefined4 *)FUN_0005bed0()" identifier = (cast_expression "(undefined4 *)FUN_0005bed0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005bed0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar12 = param_1[0xc];" (assignment_expression "iVar12 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "puVar11[0x24] = local_38;" (assignment_expression "puVar11[0x24] = local_38" (subscript_expression "puVar11[0x24]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(char **)(iVar12 + 4 + iVar17) = pcVar13;" (assignment_expression "*(char **)(iVar12 + 4 + iVar17) = pcVar13" (pointer_expression "*(char **)(iVar12 + 4 + iVar17)" * (cast_expression "(char **)(iVar12 + 4 + iVar17)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 4 + iVar17)" ( (binary_expression "iVar12 + 4 + iVar17" (binary_expression "iVar12 + 4" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "local_38 = puVar11;" (assignment_expression "local_38 = puVar11" identifier = identifier) ;) })) })) (labeled_statement "LAB_0005e718:\n        iVar7 = iVar7 + 1;" statement_identifier : (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar7 < param_1[0xb])" ( (binary_expression "iVar7 < param_1[0xb]" identifier < (subscript_expression "param_1[0xb]" identifier [ number_literal ])) )) ;) })) (expression_statement "iVar7 = FUN_0005ca40();" (assignment_expression "iVar7 = FUN_0005ca40()" identifier = (call_expression "FUN_0005ca40()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }" if (parenthesized_expression "((iVar6 != 0) && (iVar7 != 0))" ( (binary_expression "(iVar6 != 0) && (iVar7 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }" { (expression_statement "*(undefined4 **)(iVar6 + 0x90) = local_38;" (assignment_expression "*(undefined4 **)(iVar6 + 0x90) = local_38" (pointer_expression "*(undefined4 **)(iVar6 + 0x90)" * (cast_expression "(undefined4 **)(iVar6 + 0x90)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x90)" ( (binary_expression "iVar6 + 0x90" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar7 + 0x90) = iVar6;" (assignment_expression "*(int *)(iVar7 + 0x90) = iVar6" (pointer_expression "*(int *)(iVar7 + 0x90)" * (cast_expression "(int *)(iVar7 + 0x90)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x90)" ( (binary_expression "iVar7 + 0x90" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = bfd_set_archive_head(iVar5,iVar7);" (assignment_expression "iVar6 = bfd_set_archive_head(iVar5,iVar7)" identifier = (call_expression "bfd_set_archive_head(iVar5,iVar7)" identifier (argument_list "(iVar5,iVar7)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }" { (expression_statement "FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");" (call_expression "FUN_00034d20("%X%P: bfd_set_archive_head: %E\n")" identifier (argument_list "("%X%P: bfd_set_archive_head: %E\n")" ( (string_literal ""%X%P: bfd_set_archive_head: %E\n"" " string_content escape_sequence ") ))) ;) })) (expression_statement "iVar5 = bfd_close(iVar5);" (assignment_expression "iVar5 = bfd_close(iVar5)" identifier = (call_expression "bfd_close(iVar5)" identifier (argument_list "(iVar5)" ( identifier )))) ;) (if_statement "if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }" { (expression_statement "FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);" (call_expression "FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2)" identifier (argument_list "("%X%P: bfd_close %s: %E\n",param_2)" ( (string_literal ""%X%P: bfd_close %s: %E\n"" " string_content escape_sequence ") , identifier ))) ;) })) (do_statement "do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);" do (compound_statement "{\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      }" { (expression_statement "iVar5 = *(int *)(iVar7 + 0x90);" (assignment_expression "iVar5 = *(int *)(iVar7 + 0x90)" identifier = (pointer_expression "*(int *)(iVar7 + 0x90)" * (cast_expression "(int *)(iVar7 + 0x90)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x90)" ( (binary_expression "iVar7 + 0x90" identifier + number_literal) ))))) ;) (expression_statement "bfd_close(iVar7);" (call_expression "bfd_close(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid pep_dll_generate_implib(def_file *def,char *impfilename,bfd_link_info *info)\n\n{\n  byte bVar1;\n  bool bVar2;\n  bfd *pbVar3;\n  byte *pbVar4;\n  bfd *pbVar5;\n  bfd *pbVar6;\n  int iVar7;\n  bfd *pbVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *pcVar11;\n  def_file_export *pdVar12;\n  int iVar13;\n  bfd *pbVar14;\n  char *pcVar15;\n  exclude_list_struct *peVar16;\n  char *pcVar17;\n  bool bVar18;\n  bfd *local_38;\n  \n  dll_filename = def->name;\n  if (def->name == (char *)0x0) {\n    dll_filename = dll_name;\n  }\n  pbVar4 = (byte *)xstrdup(dll_filename);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  dll_symname = (char *)pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(impfilename);\n  pbVar5 = (bfd *)bfd_openw(impfilename,0);\n  if (pbVar5 == (bfd *)0x0) {\n    pcVar15 = (char *)dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    einfo(pcVar15,impfilename);\n  }\n  else {\n    if (verbose != 0) {\n      pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5);\n      info_msg(pcVar15,impfilename);\n    }\n    bfd_set_format(pbVar5,2);\n    pbVar5->field_0x2b = pbVar5->field_0x2b | 0x80;\n    pbVar6 = make_head(pbVar5);\n    pbVar14 = info->input_bfds;\n    local_38 = (bfd *)0x0;\n    pbVar3 = local_38;\n    peVar16 = excludes;\n    for (; local_38 = pbVar3, excludes = peVar16, pbVar14 != (bfd *)0x0;\n        pbVar14 = (pbVar14->link).next) {\n      if (peVar16 != (exclude_list_struct *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));\n        if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }\n      }\n      pbVar3 = local_38;\n      peVar16 = excludes;\n    }\n    if (0 < def->num_exports) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < def->num_exports);\n    }\n    pbVar14 = make_tail(pbVar5);\n    if ((pbVar6 != (bfd *)0x0) && (pbVar14 != (bfd *)0x0)) {\n      pbVar6->archive_next = local_38;\n      pbVar14->archive_next = pbVar6;\n      iVar7 = bfd_set_archive_head(pbVar5,pbVar14);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar7 = bfd_close(pbVar5);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_close %s: %E\n",impfilename);\n      }\n      do {\n        pbVar5 = pbVar14->archive_next;\n        bfd_close(pbVar14);\n        pbVar14 = pbVar5;\n      } while (pbVar5 != (bfd *)0x0);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void pep_dll_generate_implib(def_file *def,char *impfilename,bfd_link_info *info)\n\n{\n  byte bVar1;\n  bool bVar2;\n  bfd *pbVar3;\n  byte *pbVar4;\n  bfd *pbVar5;\n  bfd *pbVar6;\n  int iVar7;\n  bfd *pbVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *pcVar11;\n  def_file_export *pdVar12;\n  int iVar13;\n  bfd *pbVar14;\n  char *pcVar15;\n  exclude_list_struct *peVar16;\n  char *pcVar17;\n  bool bVar18;\n  bfd *local_38;\n  \n  dll_filename = def->name;\n  if (def->name == (char *)0x0) {\n    dll_filename = dll_name;\n  }\n  pbVar4 = (byte *)xstrdup(dll_filename);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  dll_symname = (char *)pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(impfilename);\n  pbVar5 = (bfd *)bfd_openw(impfilename,0);\n  if (pbVar5 == (bfd *)0x0) {\n    pcVar15 = (char *)dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    einfo(pcVar15,impfilename);\n  }\n  else {\n    if (verbose != 0) {\n      pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5);\n      info_msg(pcVar15,impfilename);\n    }\n    bfd_set_format(pbVar5,2);\n    pbVar5->field_0x2b = pbVar5->field_0x2b | 0x80;\n    pbVar6 = make_head(pbVar5);\n    pbVar14 = info->input_bfds;\n    local_38 = (bfd *)0x0;\n    pbVar3 = local_38;\n    peVar16 = excludes;\n    for (; local_38 = pbVar3, excludes = peVar16, pbVar14 != (bfd *)0x0;\n        pbVar14 = (pbVar14->link).next) {\n      if (peVar16 != (exclude_list_struct *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));\n        if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }\n      }\n      pbVar3 = local_38;\n      peVar16 = excludes;\n    }\n    if (0 < def->num_exports) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < def->num_exports);\n    }\n    pbVar14 = make_tail(pbVar5);\n    if ((pbVar6 != (bfd *)0x0) && (pbVar14 != (bfd *)0x0)) {\n      pbVar6->archive_next = local_38;\n      pbVar14->archive_next = pbVar6;\n      iVar7 = bfd_set_archive_head(pbVar5,pbVar14);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar7 = bfd_close(pbVar5);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_close %s: %E\n",impfilename);\n      }\n      do {\n        pbVar5 = pbVar14->archive_next;\n        bfd_close(pbVar14);\n        pbVar14 = pbVar5;\n      } while (pbVar5 != (bfd *)0x0);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "pep_dll_generate_implib(def_file *def,char *impfilename,bfd_link_info *info)" identifier (parameter_list "(def_file *def,char *impfilename,bfd_link_info *info)" ( (parameter_declaration "def_file *def" type_identifier (pointer_declarator "*def" * identifier)) , (parameter_declaration "char *impfilename" primitive_type (pointer_declarator "*impfilename" * identifier)) , (parameter_declaration "bfd_link_info *info" type_identifier (pointer_declarator "*info" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  bool bVar2;\n  bfd *pbVar3;\n  byte *pbVar4;\n  bfd *pbVar5;\n  bfd *pbVar6;\n  int iVar7;\n  bfd *pbVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *pcVar11;\n  def_file_export *pdVar12;\n  int iVar13;\n  bfd *pbVar14;\n  char *pcVar15;\n  exclude_list_struct *peVar16;\n  char *pcVar17;\n  bool bVar18;\n  bfd *local_38;\n  \n  dll_filename = def->name;\n  if (def->name == (char *)0x0) {\n    dll_filename = dll_name;\n  }\n  pbVar4 = (byte *)xstrdup(dll_filename);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  dll_symname = (char *)pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(impfilename);\n  pbVar5 = (bfd *)bfd_openw(impfilename,0);\n  if (pbVar5 == (bfd *)0x0) {\n    pcVar15 = (char *)dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    einfo(pcVar15,impfilename);\n  }\n  else {\n    if (verbose != 0) {\n      pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5);\n      info_msg(pcVar15,impfilename);\n    }\n    bfd_set_format(pbVar5,2);\n    pbVar5->field_0x2b = pbVar5->field_0x2b | 0x80;\n    pbVar6 = make_head(pbVar5);\n    pbVar14 = info->input_bfds;\n    local_38 = (bfd *)0x0;\n    pbVar3 = local_38;\n    peVar16 = excludes;\n    for (; local_38 = pbVar3, excludes = peVar16, pbVar14 != (bfd *)0x0;\n        pbVar14 = (pbVar14->link).next) {\n      if (peVar16 != (exclude_list_struct *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));\n        if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }\n      }\n      pbVar3 = local_38;\n      peVar16 = excludes;\n    }\n    if (0 < def->num_exports) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < def->num_exports);\n    }\n    pbVar14 = make_tail(pbVar5);\n    if ((pbVar6 != (bfd *)0x0) && (pbVar14 != (bfd *)0x0)) {\n      pbVar6->archive_next = local_38;\n      pbVar14->archive_next = pbVar6;\n      iVar7 = bfd_set_archive_head(pbVar5,pbVar14);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar7 = bfd_close(pbVar5);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_close %s: %E\n",impfilename);\n      }\n      do {\n        pbVar5 = pbVar14->archive_next;\n        bfd_close(pbVar14);\n        pbVar14 = pbVar5;\n      } while (pbVar5 != (bfd *)0x0);\n    }\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bfd *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "bfd *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "bfd *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "bfd *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "size_t sVar10;" primitive_type identifier ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "def_file_export *pdVar12;" type_identifier (pointer_declarator "*pdVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "bfd *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "char *pcVar15;" primitive_type (pointer_declarator "*pcVar15" * identifier) ;) (declaration "exclude_list_struct *peVar16;" type_identifier (pointer_declarator "*peVar16" * identifier) ;) (declaration "char *pcVar17;" primitive_type (pointer_declarator "*pcVar17" * identifier) ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "bfd *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (expression_statement "dll_filename = def->name;" (assignment_expression "dll_filename = def->name" identifier = (field_expression "def->name" identifier -> field_identifier)) ;) (if_statement "if (def->name == (char *)0x0) {\n    dll_filename = dll_name;\n  }" if (parenthesized_expression "(def->name == (char *)0x0)" ( (binary_expression "def->name == (char *)0x0" (field_expression "def->name" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dll_filename = dll_name;\n  }" { (expression_statement "dll_filename = dll_name;" (assignment_expression "dll_filename = dll_name" identifier = identifier) ;) })) (expression_statement "pbVar4 = (byte *)xstrdup(dll_filename);" (assignment_expression "pbVar4 = (byte *)xstrdup(dll_filename)" identifier = (cast_expression "(byte *)xstrdup(dll_filename)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(dll_filename)" identifier (argument_list "(dll_filename)" ( identifier ))))) ;) (expression_statement "puVar9 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar9 = PTR__sch_istable_001cefa0" identifier = identifier) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "dll_symname = (char *)pbVar4;" (assignment_expression "dll_symname = (char *)pbVar4" identifier = (cast_expression "(char *)pbVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }" while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }" { (if_statement "if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }" if (parenthesized_expression "((puVar9[(uint)bVar1 * 2] & 0x8c) == 0)" ( (binary_expression "(puVar9[(uint)bVar1 * 2] & 0x8c) == 0" (parenthesized_expression "(puVar9[(uint)bVar1 * 2] & 0x8c)" ( (binary_expression "puVar9[(uint)bVar1 * 2] & 0x8c" (subscript_expression "puVar9[(uint)bVar1 * 2]" identifier [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      *pbVar4 = 0x5f;\n    }" { (expression_statement "*pbVar4 = 0x5f;" (assignment_expression "*pbVar4 = 0x5f" (pointer_expression "*pbVar4" * identifier) = number_literal) ;) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) })) (expression_statement "unlink_if_ordinary(impfilename);" (call_expression "unlink_if_ordinary(impfilename)" identifier (argument_list "(impfilename)" ( identifier ))) ;) (expression_statement "pbVar5 = (bfd *)bfd_openw(impfilename,0);" (assignment_expression "pbVar5 = (bfd *)bfd_openw(impfilename,0)" identifier = (cast_expression "(bfd *)bfd_openw(impfilename,0)" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_openw(impfilename,0)" identifier (argument_list "(impfilename,0)" ( identifier , number_literal ))))) ;) (if_statement "if (pbVar5 == (bfd *)0x0) {\n    pcVar15 = (char *)dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    einfo(pcVar15,impfilename);\n  }\n  else {\n    if (verbose != 0) {\n      pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5);\n      info_msg(pcVar15,impfilename);\n    }\n    bfd_set_format(pbVar5,2);\n    pbVar5->field_0x2b = pbVar5->field_0x2b | 0x80;\n    pbVar6 = make_head(pbVar5);\n    pbVar14 = info->input_bfds;\n    local_38 = (bfd *)0x0;\n    pbVar3 = local_38;\n    peVar16 = excludes;\n    for (; local_38 = pbVar3, excludes = peVar16, pbVar14 != (bfd *)0x0;\n        pbVar14 = (pbVar14->link).next) {\n      if (peVar16 != (exclude_list_struct *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));\n        if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }\n      }\n      pbVar3 = local_38;\n      peVar16 = excludes;\n    }\n    if (0 < def->num_exports) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < def->num_exports);\n    }\n    pbVar14 = make_tail(pbVar5);\n    if ((pbVar6 != (bfd *)0x0) && (pbVar14 != (bfd *)0x0)) {\n      pbVar6->archive_next = local_38;\n      pbVar14->archive_next = pbVar6;\n      iVar7 = bfd_set_archive_head(pbVar5,pbVar14);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar7 = bfd_close(pbVar5);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_close %s: %E\n",impfilename);\n      }\n      do {\n        pbVar5 = pbVar14->archive_next;\n        bfd_close(pbVar14);\n        pbVar14 = pbVar5;\n      } while (pbVar5 != (bfd *)0x0);\n    }\n  }" if (parenthesized_expression "(pbVar5 == (bfd *)0x0)" ( (binary_expression "pbVar5 == (bfd *)0x0" identifier == (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar15 = (char *)dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    einfo(pcVar15,impfilename);\n  }" { (expression_statement "pcVar15 = (char *)dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);" (assignment_expression "pcVar15 = (char *)dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5)" identifier (argument_list "(0,"%X%P: can\'t open .lib file: %s\n",5)" ( number_literal , (string_literal ""%X%P: can\'t open .lib file: %s\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar15,impfilename);" (call_expression "einfo(pcVar15,impfilename)" identifier (argument_list "(pcVar15,impfilename)" ( identifier , identifier ))) ;) }) (else_clause "else {\n    if (verbose != 0) {\n      pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5);\n      info_msg(pcVar15,impfilename);\n    }\n    bfd_set_format(pbVar5,2);\n    pbVar5->field_0x2b = pbVar5->field_0x2b | 0x80;\n    pbVar6 = make_head(pbVar5);\n    pbVar14 = info->input_bfds;\n    local_38 = (bfd *)0x0;\n    pbVar3 = local_38;\n    peVar16 = excludes;\n    for (; local_38 = pbVar3, excludes = peVar16, pbVar14 != (bfd *)0x0;\n        pbVar14 = (pbVar14->link).next) {\n      if (peVar16 != (exclude_list_struct *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));\n        if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }\n      }\n      pbVar3 = local_38;\n      peVar16 = excludes;\n    }\n    if (0 < def->num_exports) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < def->num_exports);\n    }\n    pbVar14 = make_tail(pbVar5);\n    if ((pbVar6 != (bfd *)0x0) && (pbVar14 != (bfd *)0x0)) {\n      pbVar6->archive_next = local_38;\n      pbVar14->archive_next = pbVar6;\n      iVar7 = bfd_set_archive_head(pbVar5,pbVar14);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar7 = bfd_close(pbVar5);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_close %s: %E\n",impfilename);\n      }\n      do {\n        pbVar5 = pbVar14->archive_next;\n        bfd_close(pbVar14);\n        pbVar14 = pbVar5;\n      } while (pbVar5 != (bfd *)0x0);\n    }\n  }" else (compound_statement "{\n    if (verbose != 0) {\n      pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5);\n      info_msg(pcVar15,impfilename);\n    }\n    bfd_set_format(pbVar5,2);\n    pbVar5->field_0x2b = pbVar5->field_0x2b | 0x80;\n    pbVar6 = make_head(pbVar5);\n    pbVar14 = info->input_bfds;\n    local_38 = (bfd *)0x0;\n    pbVar3 = local_38;\n    peVar16 = excludes;\n    for (; local_38 = pbVar3, excludes = peVar16, pbVar14 != (bfd *)0x0;\n        pbVar14 = (pbVar14->link).next) {\n      if (peVar16 != (exclude_list_struct *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));\n        if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }\n      }\n      pbVar3 = local_38;\n      peVar16 = excludes;\n    }\n    if (0 < def->num_exports) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < def->num_exports);\n    }\n    pbVar14 = make_tail(pbVar5);\n    if ((pbVar6 != (bfd *)0x0) && (pbVar14 != (bfd *)0x0)) {\n      pbVar6->archive_next = local_38;\n      pbVar14->archive_next = pbVar6;\n      iVar7 = bfd_set_archive_head(pbVar5,pbVar14);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar7 = bfd_close(pbVar5);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_close %s: %E\n",impfilename);\n      }\n      do {\n        pbVar5 = pbVar14->archive_next;\n        bfd_close(pbVar14);\n        pbVar14 = pbVar5;\n      } while (pbVar5 != (bfd *)0x0);\n    }\n  }" { (if_statement "if (verbose != 0) {\n      pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5);\n      info_msg(pcVar15,impfilename);\n    }" if (parenthesized_expression "(verbose != 0)" ( (binary_expression "verbose != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5);\n      info_msg(pcVar15,impfilename);\n    }" { (expression_statement "pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5);" (assignment_expression "pcVar15 = (char *)dcgettext(0,"Creating library file: %s\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"Creating library file: %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Creating library file: %s\n",5)" identifier (argument_list "(0,"Creating library file: %s\n",5)" ( number_literal , (string_literal ""Creating library file: %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "info_msg(pcVar15,impfilename);" (call_expression "info_msg(pcVar15,impfilename)" identifier (argument_list "(pcVar15,impfilename)" ( identifier , identifier ))) ;) })) (expression_statement "bfd_set_format(pbVar5,2);" (call_expression "bfd_set_format(pbVar5,2)" identifier (argument_list "(pbVar5,2)" ( identifier , number_literal ))) ;) (expression_statement "pbVar5->field_0x2b = pbVar5->field_0x2b | 0x80;" (assignment_expression "pbVar5->field_0x2b = pbVar5->field_0x2b | 0x80" (field_expression "pbVar5->field_0x2b" identifier -> field_identifier) = (binary_expression "pbVar5->field_0x2b | 0x80" (field_expression "pbVar5->field_0x2b" identifier -> field_identifier) | number_literal)) ;) (expression_statement "pbVar6 = make_head(pbVar5);" (assignment_expression "pbVar6 = make_head(pbVar5)" identifier = (call_expression "make_head(pbVar5)" identifier (argument_list "(pbVar5)" ( identifier )))) ;) (expression_statement "pbVar14 = info->input_bfds;" (assignment_expression "pbVar14 = info->input_bfds" identifier = (field_expression "info->input_bfds" identifier -> field_identifier)) ;) (expression_statement "local_38 = (bfd *)0x0;" (assignment_expression "local_38 = (bfd *)0x0" identifier = (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbVar3 = local_38;" (assignment_expression "pbVar3 = local_38" identifier = identifier) ;) (expression_statement "peVar16 = excludes;" (assignment_expression "peVar16 = excludes" identifier = identifier) ;) (for_statement "for (; local_38 = pbVar3, excludes = peVar16, pbVar14 != (bfd *)0x0;\n        pbVar14 = (pbVar14->link).next) {\n      if (peVar16 != (exclude_list_struct *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));\n        if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }\n      }\n      pbVar3 = local_38;\n      peVar16 = excludes;\n    }" for ( ; (comma_expression "local_38 = pbVar3, excludes = peVar16, pbVar14 != (bfd *)0x0" (assignment_expression "local_38 = pbVar3" identifier = identifier) , (comma_expression "excludes = peVar16, pbVar14 != (bfd *)0x0" (assignment_expression "excludes = peVar16" identifier = identifier) , (binary_expression "pbVar14 != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ; (assignment_expression "pbVar14 = (pbVar14->link).next" identifier = (field_expression "(pbVar14->link).next" (parenthesized_expression "(pbVar14->link)" ( (field_expression "pbVar14->link" identifier -> field_identifier) )) . field_identifier)) ) (compound_statement "{\n      if (peVar16 != (exclude_list_struct *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));\n        if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }\n      }\n      pbVar3 = local_38;\n      peVar16 = excludes;\n    }" { (if_statement "if (peVar16 != (exclude_list_struct *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));\n        if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }\n      }" if (parenthesized_expression "(peVar16 != (exclude_list_struct *)0x0)" ( (binary_expression "peVar16 != (exclude_list_struct *)0x0" identifier != (cast_expression "(exclude_list_struct *)0x0" ( (type_descriptor "exclude_list_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));\n        if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }\n      }" { (do_statement "do {\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        } while ((peVar16 != (exclude_list_struct *)0x0) && (bVar2));" do (compound_statement "{\n          bVar18 = false;\n          bVar2 = true;\n          if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          peVar16 = peVar16->next;\n        }" { (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" identifier = false) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (if_statement "if (peVar16->type == EXCLUDEFORIMPLIB) {\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }" if (parenthesized_expression "(peVar16->type == EXCLUDEFORIMPLIB)" ( (binary_expression "peVar16->type == EXCLUDEFORIMPLIB" (field_expression "peVar16->type" identifier -> field_identifier) == identifier) )) (compound_statement "{\n            iVar7 = filename_cmp(peVar16->string,pbVar14->filename);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }" { (expression_statement "iVar7 = filename_cmp(peVar16->string,pbVar14->filename);" (assignment_expression "iVar7 = filename_cmp(peVar16->string,pbVar14->filename)" identifier = (call_expression "filename_cmp(peVar16->string,pbVar14->filename)" identifier (argument_list "(peVar16->string,pbVar14->filename)" ( (field_expression "peVar16->string" identifier -> field_identifier) , (field_expression "pbVar14->filename" identifier -> field_identifier) )))) ;) (expression_statement "bVar18 = iVar7 == 0;" (assignment_expression "bVar18 = iVar7 == 0" identifier = (binary_expression "iVar7 == 0" identifier == number_literal)) ;) (expression_statement "bVar2 = !bVar18;" (assignment_expression "bVar2 = !bVar18" identifier = (unary_expression "!bVar18" ! identifier)) ;) })) (expression_statement "peVar16 = peVar16->next;" (assignment_expression "peVar16 = peVar16->next" identifier = (field_expression "peVar16->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "((peVar16 != (exclude_list_struct *)0x0) && (bVar2))" ( (binary_expression "(peVar16 != (exclude_list_struct *)0x0) && (bVar2)" (parenthesized_expression "(peVar16 != (exclude_list_struct *)0x0)" ( (binary_expression "peVar16 != (exclude_list_struct *)0x0" identifier != (cast_expression "(exclude_list_struct *)0x0" ( (type_descriptor "exclude_list_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar2)" ( identifier ))) )) ;) (if_statement "if (bVar18) {\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }" if (parenthesized_expression "(bVar18)" ( identifier )) (compound_statement "{\n          pbVar8 = pbVar14->my_archive;\n          if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }\n          pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);\n          if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }\n          local_38 = pbVar8;\n          if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }\n          local_38->archive_next = pbVar3;\n        }" { (expression_statement "pbVar8 = pbVar14->my_archive;" (assignment_expression "pbVar8 = pbVar14->my_archive" identifier = (field_expression "pbVar14->my_archive" identifier -> field_identifier)) ;) (if_statement "if (pbVar14->my_archive == (bfd *)0x0) {\n            pbVar8 = pbVar14;\n          }" if (parenthesized_expression "(pbVar14->my_archive == (bfd *)0x0)" ( (binary_expression "pbVar14->my_archive == (bfd *)0x0" (field_expression "pbVar14->my_archive" identifier -> field_identifier) == (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pbVar8 = pbVar14;\n          }" { (expression_statement "pbVar8 = pbVar14;" (assignment_expression "pbVar8 = pbVar14" identifier = identifier) ;) })) (expression_statement "pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0);" (assignment_expression "pbVar8 = (bfd *)bfd_openr(pbVar8->filename,0)" identifier = (cast_expression "(bfd *)bfd_openr(pbVar8->filename,0)" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_openr(pbVar8->filename,0)" identifier (argument_list "(pbVar8->filename,0)" ( (field_expression "pbVar8->filename" identifier -> field_identifier) , number_literal ))))) ;) (if_statement "if (pbVar8 == (bfd *)0x0) {\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }" if (parenthesized_expression "(pbVar8 == (bfd *)0x0)" ( (binary_expression "pbVar8 == (bfd *)0x0" identifier == (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pcVar15 = pbVar14->filename;\n            pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            einfo(pcVar11,pcVar15);\n            return;\n          }" { (expression_statement "pcVar15 = pbVar14->filename;" (assignment_expression "pcVar15 = pbVar14->filename" identifier = (field_expression "pbVar14->filename" identifier -> field_identifier)) ;) (expression_statement "pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);" (assignment_expression "pcVar11 = (char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%X%P: bfd_openr %s: %E\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%X%P: bfd_openr %s: %E\n",5)" identifier (argument_list "(0,"%X%P: bfd_openr %s: %E\n",5)" ( number_literal , (string_literal ""%X%P: bfd_openr %s: %E\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar11,pcVar15);" (call_expression "einfo(pcVar11,pcVar15)" identifier (argument_list "(pcVar11,pcVar15)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_38 = pbVar8;" (assignment_expression "local_38 = pbVar8" identifier = identifier) ;) (if_statement "if (pbVar14->my_archive != (bfd *)0x0) {\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }" if (parenthesized_expression "(pbVar14->my_archive != (bfd *)0x0)" ( (binary_expression "pbVar14->my_archive != (bfd *)0x0" (field_expression "pbVar14->my_archive" identifier -> field_identifier) != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            iVar7 = bfd_check_format_matches(pbVar8,2,0);\n            if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }\n            local_38 = (bfd *)0x0;\n            do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);\n          }" { (expression_statement "iVar7 = bfd_check_format_matches(pbVar8,2,0);" (assignment_expression "iVar7 = bfd_check_format_matches(pbVar8,2,0)" identifier = (call_expression "bfd_check_format_matches(pbVar8,2,0)" identifier (argument_list "(pbVar8,2,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar7 == 0) {\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n              pcVar11 = pbVar14->filename;\n              pcVar17 = pbVar14->my_archive->filename;\n              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);\n              einfo(pcVar15,pcVar17,pcVar11);\n              return;\n            }" { (expression_statement "pcVar11 = pbVar14->filename;" (assignment_expression "pcVar11 = pbVar14->filename" identifier = (field_expression "pbVar14->filename" identifier -> field_identifier)) ;) (expression_statement "pcVar17 = pbVar14->my_archive->filename;" (assignment_expression "pcVar17 = pbVar14->my_archive->filename" identifier = (field_expression "pbVar14->my_archive->filename" (field_expression "pbVar14->my_archive" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";" (assignment_expression "pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file"" identifier = (string_literal ""%X%P: %s(%s): can\'t find member in non-archive file"" " string_content escape_sequence string_content ")) ;) (labeled_statement "LAB_0005e85c:\n              pcVar15 = (char *)dcgettext(0,pcVar15,5);" statement_identifier : (expression_statement "pcVar15 = (char *)dcgettext(0,pcVar15,5);" (assignment_expression "pcVar15 = (char *)dcgettext(0,pcVar15,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar15,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar15,5)" identifier (argument_list "(0,pcVar15,5)" ( number_literal , identifier , number_literal ))))) ;)) (expression_statement "einfo(pcVar15,pcVar17,pcVar11);" (call_expression "einfo(pcVar15,pcVar17,pcVar11)" identifier (argument_list "(pcVar15,pcVar17,pcVar11)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_38 = (bfd *)0x0;" (assignment_expression "local_38 = (bfd *)0x0" identifier = (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            } while (iVar7 != 0);" do (compound_statement "{\n              local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);\n              if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(local_38->filename,pbVar14->filename);\n            }" { (expression_statement "local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38);" (assignment_expression "local_38 = (bfd *)bfd_openr_next_archived_file(pbVar8,local_38)" identifier = (cast_expression "(bfd *)bfd_openr_next_archived_file(pbVar8,local_38)" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_openr_next_archived_file(pbVar8,local_38)" identifier (argument_list "(pbVar8,local_38)" ( identifier , identifier ))))) ;) (if_statement "if (local_38 == (bfd *)0x0) {\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }" if (parenthesized_expression "(local_38 == (bfd *)0x0)" ( (binary_expression "local_38 == (bfd *)0x0" identifier == (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                pcVar11 = pbVar14->filename;\n                pcVar17 = pbVar14->my_archive->filename;\n                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }" { (expression_statement "pcVar11 = pbVar14->filename;" (assignment_expression "pcVar11 = pbVar14->filename" identifier = (field_expression "pbVar14->filename" identifier -> field_identifier)) ;) (expression_statement "pcVar17 = pbVar14->my_archive->filename;" (assignment_expression "pcVar17 = pbVar14->my_archive->filename" identifier = (field_expression "pbVar14->my_archive->filename" (field_expression "pbVar14->my_archive" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pcVar15 = "%X%P: %s(%s): can\'t find member in archive";" (assignment_expression "pcVar15 = "%X%P: %s(%s): can\'t find member in archive"" identifier = (string_literal ""%X%P: %s(%s): can\'t find member in archive"" " string_content escape_sequence string_content ")) ;) (goto_statement "goto LAB_0005e85c;" goto statement_identifier ;) })) (expression_statement "iVar7 = filename_cmp(local_38->filename,pbVar14->filename);" (assignment_expression "iVar7 = filename_cmp(local_38->filename,pbVar14->filename)" identifier = (call_expression "filename_cmp(local_38->filename,pbVar14->filename)" identifier (argument_list "(local_38->filename,pbVar14->filename)" ( (field_expression "local_38->filename" identifier -> field_identifier) , (field_expression "pbVar14->filename" identifier -> field_identifier) )))) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) })) (expression_statement "local_38->archive_next = pbVar3;" (assignment_expression "local_38->archive_next = pbVar3" (field_expression "local_38->archive_next" identifier -> field_identifier) = identifier) ;) })) })) (expression_statement "pbVar3 = local_38;" (assignment_expression "pbVar3 = local_38" identifier = identifier) ;) (expression_statement "peVar16 = excludes;" (assignment_expression "peVar16 = excludes" identifier = identifier) ;) })) (if_statement "if (0 < def->num_exports) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < def->num_exports);\n    }" if (parenthesized_expression "(0 < def->num_exports)" ( (binary_expression "0 < def->num_exports" number_literal < (field_expression "def->num_exports" identifier -> field_identifier)) )) (compound_statement "{\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < def->num_exports);\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;" (assignment_expression "puVar9 = PTR__bfd_std_section_001cefbc + 0xc0" identifier = (binary_expression "PTR__bfd_std_section_001cefbc + 0xc0" identifier + number_literal)) ;) (do_statement "do {\n        if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < def->num_exports);" do (compound_statement "{\n        if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      }" { (if_statement "if (pep_def_file->exports[iVar7].flag_private == '\0') {\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }" if (parenthesized_expression "(pep_def_file->exports[iVar7].flag_private == '\0')" ( (binary_expression "pep_def_file->exports[iVar7].flag_private == '\0'" (field_expression "pep_def_file->exports[iVar7].flag_private" (subscript_expression "pep_def_file->exports[iVar7]" (field_expression "pep_def_file->exports" identifier -> field_identifier) [ identifier ]) . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pdVar12 = def->exports + iVar7;\n          pcVar15 = pdVar12->internal_name;\n          pdVar12->internal_name = pdVar12->name;\n          iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);\n          if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }\n        }" { (expression_statement "pdVar12 = def->exports + iVar7;" (assignment_expression "pdVar12 = def->exports + iVar7" identifier = (binary_expression "def->exports + iVar7" (field_expression "def->exports" identifier -> field_identifier) + identifier)) ;) (expression_statement "pcVar15 = pdVar12->internal_name;" (assignment_expression "pcVar15 = pdVar12->internal_name" identifier = (field_expression "pdVar12->internal_name" identifier -> field_identifier)) ;) (expression_statement "pdVar12->internal_name = pdVar12->name;" (assignment_expression "pdVar12->internal_name = pdVar12->name" (field_expression "pdVar12->internal_name" identifier -> field_identifier) = (field_expression "pdVar12->name" identifier -> field_identifier)) ;) (expression_statement "iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0);" (assignment_expression "iVar13 = bfd_link_hash_lookup(info->hash,pcVar15,0,0,0)" identifier = (call_expression "bfd_link_hash_lookup(info->hash,pcVar15,0,0,0)" identifier (argument_list "(info->hash,pcVar15,0,0,0)" ( (field_expression "info->hash" identifier -> field_identifier) , identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }" if (parenthesized_expression "(((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0))" ( (binary_expression "((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)" (parenthesized_expression "((iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j'))" ( (binary_expression "(iVar13 == 0) || (*(char *)(iVar13 + 0x26) != 'j')" (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)(iVar13 + 0x26) != 'j')" ( (binary_expression "*(char *)(iVar13 + 0x26) != 'j'" (pointer_expression "*(char *)(iVar13 + 0x26)" * (cast_expression "(char *)(iVar13 + 0x26)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x26)" ( (binary_expression "iVar13 + 0x26" identifier + number_literal) )))) != (char_literal "'j'" ' character ')) ))) )) || (parenthesized_expression "(*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)" ( (binary_expression "*(undefined **)(iVar13 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0" (pointer_expression "*(undefined **)(iVar13 + 0x14)" * (cast_expression "(undefined **)(iVar13 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x14)" ( (binary_expression "iVar13 + 0x14" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_001cefbc + 0xc0" identifier + number_literal)) ))) )) (compound_statement "{\n            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));\n            pdVar12 = def->exports;\n            pbVar14->archive_next = local_38;\n            pdVar12[iVar7].internal_name = pcVar15;\n            local_38 = pbVar14;\n          }" { (if_statement "if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }" if (parenthesized_expression "((pep_details->underscored != 0) && (*pcVar15 != '@'))" ( (binary_expression "(pep_details->underscored != 0) && (*pcVar15 != '@')" (parenthesized_expression "(pep_details->underscored != 0)" ( (binary_expression "pep_details->underscored != 0" (field_expression "pep_details->underscored" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(*pcVar15 != '@')" ( (binary_expression "*pcVar15 != '@'" (pointer_expression "*pcVar15" * identifier) != (char_literal "'@'" ' character ')) ))) )) (compound_statement "{\n              sVar10 = strlen(pcVar15);\n              pcVar11 = (char *)xmalloc(sVar10 + 2);\n              sprintf(pcVar11,"_%s",pcVar15);\n              iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);\n              free(pcVar11);\n              if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }" { (expression_statement "sVar10 = strlen(pcVar15);" (assignment_expression "sVar10 = strlen(pcVar15)" identifier = (call_expression "strlen(pcVar15)" identifier (argument_list "(pcVar15)" ( identifier )))) ;) (expression_statement "pcVar11 = (char *)xmalloc(sVar10 + 2);" (assignment_expression "pcVar11 = (char *)xmalloc(sVar10 + 2)" identifier = (cast_expression "(char *)xmalloc(sVar10 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar10 + 2)" identifier (argument_list "(sVar10 + 2)" ( (binary_expression "sVar10 + 2" identifier + number_literal) ))))) ;) (expression_statement "sprintf(pcVar11,"_%s",pcVar15);" (call_expression "sprintf(pcVar11,"_%s",pcVar15)" identifier (argument_list "(pcVar11,"_%s",pcVar15)" ( identifier , (string_literal ""_%s"" " string_content ") , identifier ))) ;) (expression_statement "iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0);" (assignment_expression "iVar13 = bfd_link_hash_lookup(info->hash,pcVar11,0,0,0)" identifier = (call_expression "bfd_link_hash_lookup(info->hash,pcVar11,0,0,0)" identifier (argument_list "(info->hash,pcVar11,0,0,0)" ( (field_expression "info->hash" identifier -> field_identifier) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "free(pcVar11);" (call_expression "free(pcVar11)" identifier (argument_list "(pcVar11)" ( identifier ))) ;) (if_statement "if ((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))\n              goto LAB_0005e718;" if (parenthesized_expression "((iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))))" ( (binary_expression "(iVar13 != 0) &&\n                 ((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9)))" (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9)))" ( (parenthesized_expression "(*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9))" ( (binary_expression "*(char *)(iVar13 + 0x26) == 'j' && (*(undefined **)(iVar13 + 0x14) == puVar9)" (binary_expression "*(char *)(iVar13 + 0x26) == 'j'" (pointer_expression "*(char *)(iVar13 + 0x26)" * (cast_expression "(char *)(iVar13 + 0x26)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x26)" ( (binary_expression "iVar13 + 0x26" identifier + number_literal) )))) == (char_literal "'j'" ' character ')) && (parenthesized_expression "(*(undefined **)(iVar13 + 0x14) == puVar9)" ( (binary_expression "*(undefined **)(iVar13 + 0x14) == puVar9" (pointer_expression "*(undefined **)(iVar13 + 0x14)" * (cast_expression "(undefined **)(iVar13 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x14)" ( (binary_expression "iVar13 + 0x14" identifier + number_literal) )))) == identifier) ))) )) ))) )) (goto_statement "goto LAB_0005e718;" goto statement_identifier ;)) })) (expression_statement "pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'));" (assignment_expression "pbVar14 = make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'))" identifier = (call_expression "make_one(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'))" identifier (argument_list "(def->exports + iVar7,pbVar5,\n                               (uint)(def->exports[iVar7].flag_data == '\0'))" ( (binary_expression "def->exports + iVar7" (field_expression "def->exports" identifier -> field_identifier) + identifier) , identifier , (call_expression "(uint)(def->exports[iVar7].flag_data == '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(def->exports[iVar7].flag_data == '\0')" ( (binary_expression "def->exports[iVar7].flag_data == '\0'" (field_expression "def->exports[iVar7].flag_data" (subscript_expression "def->exports[iVar7]" (field_expression "def->exports" identifier -> field_identifier) [ identifier ]) . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )))) ;) (expression_statement "pdVar12 = def->exports;" (assignment_expression "pdVar12 = def->exports" identifier = (field_expression "def->exports" identifier -> field_identifier)) ;) (expression_statement "pbVar14->archive_next = local_38;" (assignment_expression "pbVar14->archive_next = local_38" (field_expression "pbVar14->archive_next" identifier -> field_identifier) = identifier) ;) (expression_statement "pdVar12[iVar7].internal_name = pcVar15;" (assignment_expression "pdVar12[iVar7].internal_name = pcVar15" (field_expression "pdVar12[iVar7].internal_name" (subscript_expression "pdVar12[iVar7]" identifier [ identifier ]) . field_identifier) = identifier) ;) (expression_statement "local_38 = pbVar14;" (assignment_expression "local_38 = pbVar14" identifier = identifier) ;) })) })) (labeled_statement "LAB_0005e718:\n        iVar7 = iVar7 + 1;" statement_identifier : (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar7 < def->num_exports)" ( (binary_expression "iVar7 < def->num_exports" identifier < (field_expression "def->num_exports" identifier -> field_identifier)) )) ;) })) (expression_statement "pbVar14 = make_tail(pbVar5);" (assignment_expression "pbVar14 = make_tail(pbVar5)" identifier = (call_expression "make_tail(pbVar5)" identifier (argument_list "(pbVar5)" ( identifier )))) ;) (if_statement "if ((pbVar6 != (bfd *)0x0) && (pbVar14 != (bfd *)0x0)) {\n      pbVar6->archive_next = local_38;\n      pbVar14->archive_next = pbVar6;\n      iVar7 = bfd_set_archive_head(pbVar5,pbVar14);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar7 = bfd_close(pbVar5);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_close %s: %E\n",impfilename);\n      }\n      do {\n        pbVar5 = pbVar14->archive_next;\n        bfd_close(pbVar14);\n        pbVar14 = pbVar5;\n      } while (pbVar5 != (bfd *)0x0);\n    }" if (parenthesized_expression "((pbVar6 != (bfd *)0x0) && (pbVar14 != (bfd *)0x0))" ( (binary_expression "(pbVar6 != (bfd *)0x0) && (pbVar14 != (bfd *)0x0)" (parenthesized_expression "(pbVar6 != (bfd *)0x0)" ( (binary_expression "pbVar6 != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pbVar14 != (bfd *)0x0)" ( (binary_expression "pbVar14 != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      pbVar6->archive_next = local_38;\n      pbVar14->archive_next = pbVar6;\n      iVar7 = bfd_set_archive_head(pbVar5,pbVar14);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar7 = bfd_close(pbVar5);\n      if (iVar7 == 0) {\n        einfo("%X%P: bfd_close %s: %E\n",impfilename);\n      }\n      do {\n        pbVar5 = pbVar14->archive_next;\n        bfd_close(pbVar14);\n        pbVar14 = pbVar5;\n      } while (pbVar5 != (bfd *)0x0);\n    }" { (expression_statement "pbVar6->archive_next = local_38;" (assignment_expression "pbVar6->archive_next = local_38" (field_expression "pbVar6->archive_next" identifier -> field_identifier) = identifier) ;) (expression_statement "pbVar14->archive_next = pbVar6;" (assignment_expression "pbVar14->archive_next = pbVar6" (field_expression "pbVar14->archive_next" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar7 = bfd_set_archive_head(pbVar5,pbVar14);" (assignment_expression "iVar7 = bfd_set_archive_head(pbVar5,pbVar14)" identifier = (call_expression "bfd_set_archive_head(pbVar5,pbVar14)" identifier (argument_list "(pbVar5,pbVar14)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n        einfo("%X%P: bfd_set_archive_head: %E\n");\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        einfo("%X%P: bfd_set_archive_head: %E\n");\n      }" { (expression_statement "einfo("%X%P: bfd_set_archive_head: %E\n");" (call_expression "einfo("%X%P: bfd_set_archive_head: %E\n")" identifier (argument_list "("%X%P: bfd_set_archive_head: %E\n")" ( (string_literal ""%X%P: bfd_set_archive_head: %E\n"" " string_content escape_sequence ") ))) ;) })) (expression_statement "iVar7 = bfd_close(pbVar5);" (assignment_expression "iVar7 = bfd_close(pbVar5)" identifier = (call_expression "bfd_close(pbVar5)" identifier (argument_list "(pbVar5)" ( identifier )))) ;) (if_statement "if (iVar7 == 0) {\n        einfo("%X%P: bfd_close %s: %E\n",impfilename);\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        einfo("%X%P: bfd_close %s: %E\n",impfilename);\n      }" { (expression_statement "einfo("%X%P: bfd_close %s: %E\n",impfilename);" (call_expression "einfo("%X%P: bfd_close %s: %E\n",impfilename)" identifier (argument_list "("%X%P: bfd_close %s: %E\n",impfilename)" ( (string_literal ""%X%P: bfd_close %s: %E\n"" " string_content escape_sequence ") , identifier ))) ;) })) (do_statement "do {\n        pbVar5 = pbVar14->archive_next;\n        bfd_close(pbVar14);\n        pbVar14 = pbVar5;\n      } while (pbVar5 != (bfd *)0x0);" do (compound_statement "{\n        pbVar5 = pbVar14->archive_next;\n        bfd_close(pbVar14);\n        pbVar14 = pbVar5;\n      }" { (expression_statement "pbVar5 = pbVar14->archive_next;" (assignment_expression "pbVar5 = pbVar14->archive_next" identifier = (field_expression "pbVar14->archive_next" identifier -> field_identifier)) ;) (expression_statement "bfd_close(pbVar14);" (call_expression "bfd_close(pbVar14)" identifier (argument_list "(pbVar14)" ( identifier ))) ;) (expression_statement "pbVar14 = pbVar5;" (assignment_expression "pbVar14 = pbVar5" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar5 != (bfd *)0x0)" ( (binary_expression "pbVar5 != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005e4c0(int *param_1,undefined4 param_2,int param_3)\n\n{\n  byte bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *__s;\n  undefined4 *puVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  bool bVar18;\n  undefined4 *local_38;\n  \n  DAT_001d1184 = *param_1;\n  if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }\n  pbVar4 = (byte *)xstrdup(DAT_001d1184);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  DAT_001d1180 = pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(param_2);\n  iVar5 = bfd_openw(param_2,0);\n  if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0005e4c0(int *param_1,undefined4 param_2,int param_3)\n\n{\n  byte bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *__s;\n  undefined4 *puVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  bool bVar18;\n  undefined4 *local_38;\n  \n  DAT_001d1184 = *param_1;\n  if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }\n  pbVar4 = (byte *)xstrdup(DAT_001d1184);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  DAT_001d1180 = pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(param_2);\n  iVar5 = bfd_openw(param_2,0);\n  if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0005e4c0(int *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *__s;\n  undefined4 *puVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  bool bVar18;\n  undefined4 *local_38;\n  \n  DAT_001d1184 = *param_1;\n  if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }\n  pbVar4 = (byte *)xstrdup(DAT_001d1184);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  DAT_001d1180 = pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(param_2);\n  iVar5 = bfd_openw(param_2,0);\n  if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "size_t sVar10;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "undefined4 uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "undefined4 *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (expression_statement "DAT_001d1184 = *param_1;" (assignment_expression "DAT_001d1184 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    DAT_001d1184 = DAT_001d11a8;\n  }" { (expression_statement "DAT_001d1184 = DAT_001d11a8;" (assignment_expression "DAT_001d1184 = DAT_001d11a8" identifier = identifier) ;) })) (expression_statement "pbVar4 = (byte *)xstrdup(DAT_001d1184);" (assignment_expression "pbVar4 = (byte *)xstrdup(DAT_001d1184)" identifier = (cast_expression "(byte *)xstrdup(DAT_001d1184)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(DAT_001d1184)" identifier (argument_list "(DAT_001d1184)" ( identifier ))))) ;) (expression_statement "puVar9 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar9 = PTR__sch_istable_001cefa0" identifier = identifier) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "DAT_001d1180 = pbVar4;" (assignment_expression "DAT_001d1180 = pbVar4" identifier = identifier) ;) (while_statement "while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }" while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }" { (if_statement "if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }" if (parenthesized_expression "((puVar9[(uint)bVar1 * 2] & 0x8c) == 0)" ( (binary_expression "(puVar9[(uint)bVar1 * 2] & 0x8c) == 0" (parenthesized_expression "(puVar9[(uint)bVar1 * 2] & 0x8c)" ( (binary_expression "puVar9[(uint)bVar1 * 2] & 0x8c" (subscript_expression "puVar9[(uint)bVar1 * 2]" identifier [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      *pbVar4 = 0x5f;\n    }" { (expression_statement "*pbVar4 = 0x5f;" (assignment_expression "*pbVar4 = 0x5f" (pointer_expression "*pbVar4" * identifier) = number_literal) ;) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) })) (expression_statement "unlink_if_ordinary(param_2);" (call_expression "unlink_if_ordinary(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar5 = bfd_openw(param_2,0);" (assignment_expression "iVar5 = bfd_openw(param_2,0)" identifier = (call_expression "bfd_openw(param_2,0)" identifier (argument_list "(param_2,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }" { (expression_statement "uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);" (assignment_expression "uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5)" identifier (argument_list "(0,"%X%P: can\'t open .lib file: %s\n",5)" ( number_literal , (string_literal ""%X%P: can\'t open .lib file: %s\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar15,param_2);" (call_expression "FUN_00034d20(uVar15,param_2)" identifier (argument_list "(uVar15,param_2)" ( identifier , identifier ))) ;) }) (else_clause "else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }" else (compound_statement "{\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }" { (if_statement "if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }" if (parenthesized_expression "(DAT_001d155c != 0)" ( (binary_expression "DAT_001d155c != 0" identifier != number_literal) )) (compound_statement "{\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }" { (expression_statement "uVar15 = dcgettext(0,"Creating library file: %s\n",5);" (assignment_expression "uVar15 = dcgettext(0,"Creating library file: %s\n",5)" identifier = (call_expression "dcgettext(0,"Creating library file: %s\n",5)" identifier (argument_list "(0,"Creating library file: %s\n",5)" ( number_literal , (string_literal ""Creating library file: %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034cf0(uVar15,param_2);" (call_expression "FUN_00034cf0(uVar15,param_2)" identifier (argument_list "(uVar15,param_2)" ( identifier , identifier ))) ;) })) (expression_statement "bfd_set_format(iVar5,2);" (call_expression "bfd_set_format(iVar5,2)" identifier (argument_list "(iVar5,2)" ( identifier , number_literal ))) ;) (expression_statement "*(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;" (assignment_expression "*(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80" (pointer_expression "*(byte *)(iVar5 + 0x2b)" * (cast_expression "(byte *)(iVar5 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2b)" ( (binary_expression "iVar5 + 0x2b" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar5 + 0x2b) | 0x80" (pointer_expression "*(byte *)(iVar5 + 0x2b)" * (cast_expression "(byte *)(iVar5 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x2b)" ( (binary_expression "iVar5 + 0x2b" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "iVar6 = FUN_0005c6f0();" (assignment_expression "iVar6 = FUN_0005c6f0()" identifier = (call_expression "FUN_0005c6f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar11 = *(undefined4 **)(param_3 + 0x3c);" (assignment_expression "puVar11 = *(undefined4 **)(param_3 + 0x3c)" identifier = (pointer_expression "*(undefined4 **)(param_3 + 0x3c)" * (cast_expression "(undefined4 **)(param_3 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "local_38 = (undefined4 *)0x0;" (assignment_expression "local_38 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar3 = local_38;" (assignment_expression "puVar3 = local_38" identifier = identifier) ;) (expression_statement "puVar8 = DAT_001d1198;" (assignment_expression "puVar8 = DAT_001d1198" identifier = identifier) ;) (for_statement "for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }" for ( ; (comma_expression "local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0" (assignment_expression "local_38 = puVar3" identifier = identifier) , (comma_expression "DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0" (assignment_expression "DAT_001d1198 = puVar8" identifier = identifier) , (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ; (assignment_expression "puVar11 = (undefined4 *)puVar11[0x27]" identifier = (cast_expression "(undefined4 *)puVar11[0x27]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[0x27]" identifier [ number_literal ]))) ) (compound_statement "{\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }" { (if_statement "if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }" if (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" ( (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }" { (do_statement "do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));" do (compound_statement "{\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        }" { (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" identifier = false) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (if_statement "if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }" if (parenthesized_expression "(puVar8[2] == 2)" ( (binary_expression "puVar8[2] == 2" (subscript_expression "puVar8[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }" { (expression_statement "iVar7 = filename_cmp(*puVar8,*puVar11);" (assignment_expression "iVar7 = filename_cmp(*puVar8,*puVar11)" identifier = (call_expression "filename_cmp(*puVar8,*puVar11)" identifier (argument_list "(*puVar8,*puVar11)" ( (pointer_expression "*puVar8" * identifier) , (pointer_expression "*puVar11" * identifier) )))) ;) (expression_statement "bVar18 = iVar7 == 0;" (assignment_expression "bVar18 = iVar7 == 0" identifier = (binary_expression "iVar7 == 0" identifier == number_literal)) ;) (expression_statement "bVar2 = !bVar18;" (assignment_expression "bVar2 = !bVar18" identifier = (unary_expression "!bVar18" ! identifier)) ;) })) (expression_statement "puVar8 = (undefined4 *)puVar8[1];" (assignment_expression "puVar8 = (undefined4 *)puVar8[1]" identifier = (cast_expression "(undefined4 *)puVar8[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[1]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "((puVar8 != (undefined4 *)0x0) && (bVar2))" ( (binary_expression "(puVar8 != (undefined4 *)0x0) && (bVar2)" (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" ( (binary_expression "puVar8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar2)" ( identifier ))) )) ;) (if_statement "if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }" if (parenthesized_expression "(bVar18)" ( identifier )) (compound_statement "{\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }" { (expression_statement "puVar8 = (undefined4 *)puVar11[0x23];" (assignment_expression "puVar8 = (undefined4 *)puVar11[0x23]" identifier = (cast_expression "(undefined4 *)puVar11[0x23]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[0x23]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }" if (parenthesized_expression "((undefined4 *)puVar11[0x23] == (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)puVar11[0x23] == (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar11[0x23]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[0x23]" identifier [ number_literal ])) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            puVar8 = puVar11;\n          }" { (expression_statement "puVar8 = puVar11;" (assignment_expression "puVar8 = puVar11" identifier = identifier) ;) })) (expression_statement "puVar8 = (undefined4 *)bfd_openr(*puVar8,0);" (assignment_expression "puVar8 = (undefined4 *)bfd_openr(*puVar8,0)" identifier = (cast_expression "(undefined4 *)bfd_openr(*puVar8,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_openr(*puVar8,0)" identifier (argument_list "(*puVar8,0)" ( (pointer_expression "*puVar8" * identifier) , number_literal ))))) ;) (if_statement "if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }" if (parenthesized_expression "(puVar8 == (undefined4 *)0x0)" ( (binary_expression "puVar8 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }" { (expression_statement "uVar15 = *puVar11;" (assignment_expression "uVar15 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);" (assignment_expression "uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: bfd_openr %s: %E\n",5)" identifier (argument_list "(0,"%X%P: bfd_openr %s: %E\n",5)" ( number_literal , (string_literal ""%X%P: bfd_openr %s: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar16,uVar15);" (call_expression "FUN_00034d20(uVar16,uVar15)" identifier (argument_list "(uVar16,uVar15)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_38 = puVar8;" (assignment_expression "local_38 = puVar8" identifier = identifier) ;) (if_statement "if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }" if (parenthesized_expression "(puVar11[0x23] != 0)" ( (binary_expression "puVar11[0x23] != 0" (subscript_expression "puVar11[0x23]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }" { (expression_statement "iVar7 = bfd_check_format_matches(puVar8,2,0);" (assignment_expression "iVar7 = bfd_check_format_matches(puVar8,2,0)" identifier = (call_expression "bfd_check_format_matches(puVar8,2,0)" identifier (argument_list "(puVar8,2,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }" { (expression_statement "uVar15 = *puVar11;" (assignment_expression "uVar15 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "uVar16 = *(undefined4 *)puVar11[0x23];" (assignment_expression "uVar16 = *(undefined4 *)puVar11[0x23]" identifier = (pointer_expression "*(undefined4 *)puVar11[0x23]" * (cast_expression "(undefined4 *)puVar11[0x23]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[0x23]" identifier [ number_literal ])))) ;) (expression_statement "pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";" (assignment_expression "pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file"" identifier = (string_literal ""%X%P: %s(%s): can\'t find member in non-archive file"" " string_content escape_sequence string_content ")) ;) (labeled_statement "LAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);" statement_identifier : (expression_statement "uVar14 = dcgettext(0,pcVar13,5);" (assignment_expression "uVar14 = dcgettext(0,pcVar13,5)" identifier = (call_expression "dcgettext(0,pcVar13,5)" identifier (argument_list "(0,pcVar13,5)" ( number_literal , identifier , number_literal )))) ;)) (expression_statement "FUN_00034d20(uVar14,uVar16,uVar15);" (call_expression "FUN_00034d20(uVar14,uVar16,uVar15)" identifier (argument_list "(uVar14,uVar16,uVar15)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_38 = (undefined4 *)0x0;" (assignment_expression "local_38 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);" do (compound_statement "{\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            }" { (expression_statement "local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);" (assignment_expression "local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38)" identifier = (cast_expression "(undefined4 *)bfd_openr_next_archived_file(puVar8,local_38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_openr_next_archived_file(puVar8,local_38)" identifier (argument_list "(puVar8,local_38)" ( identifier , identifier ))))) ;) (if_statement "if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }" if (parenthesized_expression "(local_38 == (undefined4 *)0x0)" ( (binary_expression "local_38 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }" { (expression_statement "uVar15 = *puVar11;" (assignment_expression "uVar15 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "uVar16 = *(undefined4 *)puVar11[0x23];" (assignment_expression "uVar16 = *(undefined4 *)puVar11[0x23]" identifier = (pointer_expression "*(undefined4 *)puVar11[0x23]" * (cast_expression "(undefined4 *)puVar11[0x23]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[0x23]" identifier [ number_literal ])))) ;) (expression_statement "pcVar13 = "%X%P: %s(%s): can\'t find member in archive";" (assignment_expression "pcVar13 = "%X%P: %s(%s): can\'t find member in archive"" identifier = (string_literal ""%X%P: %s(%s): can\'t find member in archive"" " string_content escape_sequence string_content ")) ;) (goto_statement "goto LAB_0005e85c;" goto statement_identifier ;) })) (expression_statement "iVar7 = filename_cmp(*local_38,*puVar11);" (assignment_expression "iVar7 = filename_cmp(*local_38,*puVar11)" identifier = (call_expression "filename_cmp(*local_38,*puVar11)" identifier (argument_list "(*local_38,*puVar11)" ( (pointer_expression "*local_38" * identifier) , (pointer_expression "*puVar11" * identifier) )))) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) })) (expression_statement "local_38[0x24] = puVar3;" (assignment_expression "local_38[0x24] = puVar3" (subscript_expression "local_38[0x24]" identifier [ number_literal ]) = identifier) ;) })) })) (expression_statement "puVar3 = local_38;" (assignment_expression "puVar3 = local_38" identifier = identifier) ;) (expression_statement "puVar8 = DAT_001d1198;" (assignment_expression "puVar8 = DAT_001d1198" identifier = identifier) ;) })) (if_statement "if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }" if (parenthesized_expression "(0 < param_1[0xb])" ( (binary_expression "0 < param_1[0xb]" number_literal < (subscript_expression "param_1[0xb]" identifier [ number_literal ])) )) (compound_statement "{\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;" (assignment_expression "puVar9 = PTR__bfd_std_section_001cefbc + 0xc0" identifier = (binary_expression "PTR__bfd_std_section_001cefbc + 0xc0" identifier + number_literal)) ;) (do_statement "do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);" do (compound_statement "{\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "iVar17 = iVar7 * 0x1c;" (assignment_expression "iVar17 = iVar7 * 0x1c" identifier = (binary_expression "iVar7 * 0x1c" identifier * number_literal)) ;) (if_statement "if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }" if (parenthesized_expression "(*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0')" ( (binary_expression "*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0'" (pointer_expression "*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17)" * (cast_expression "(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17)" ( (binary_expression "*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17" (binary_expression "*(int *)(DAT_001d1160 + 0x30) + 0x14" (pointer_expression "*(int *)(DAT_001d1160 + 0x30)" * (cast_expression "(int *)(DAT_001d1160 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d1160 + 0x30)" ( (binary_expression "DAT_001d1160 + 0x30" identifier + number_literal) )))) + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }" { (expression_statement "puVar11 = (undefined4 *)(param_1[0xc] + iVar17);" (assignment_expression "puVar11 = (undefined4 *)(param_1[0xc] + iVar17)" identifier = (cast_expression "(undefined4 *)(param_1[0xc] + iVar17)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + iVar17)" ( (binary_expression "param_1[0xc] + iVar17" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "pcVar13 = (char *)puVar11[1];" (assignment_expression "pcVar13 = (char *)puVar11[1]" identifier = (cast_expression "(char *)puVar11[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar11[1] = *puVar11;" (assignment_expression "puVar11[1] = *puVar11" (subscript_expression "puVar11[1]" identifier [ number_literal ]) = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);" (assignment_expression "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0)" identifier = (call_expression "bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0)" identifier (argument_list "(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0)" ( (pointer_expression "*(undefined4 *)(param_3 + 0x20)" * (cast_expression "(undefined4 *)(param_3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }" if (parenthesized_expression "(((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0))" ( (binary_expression "((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)" (parenthesized_expression "((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j'))" ( (binary_expression "(iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')" (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)(iVar12 + 0x26) != 'j')" ( (binary_expression "*(char *)(iVar12 + 0x26) != 'j'" (pointer_expression "*(char *)(iVar12 + 0x26)" * (cast_expression "(char *)(iVar12 + 0x26)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x26)" ( (binary_expression "iVar12 + 0x26" identifier + number_literal) )))) != (char_literal "'j'" ' character ')) ))) )) || (parenthesized_expression "(*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)" ( (binary_expression "*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0" (pointer_expression "*(undefined **)(iVar12 + 0x14)" * (cast_expression "(undefined **)(iVar12 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 0x14)" ( (binary_expression "iVar12 + 0x14" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_001cefbc + 0xc0" identifier + number_literal)) ))) )) (compound_statement "{\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }" { (if_statement "if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }" if (parenthesized_expression "((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@'))" ( (binary_expression "(*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')" (parenthesized_expression "(*(int *)(DAT_001d11c4 + 0x14) != 0)" ( (binary_expression "*(int *)(DAT_001d11c4 + 0x14) != 0" (pointer_expression "*(int *)(DAT_001d11c4 + 0x14)" * (cast_expression "(int *)(DAT_001d11c4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001d11c4 + 0x14)" ( (binary_expression "DAT_001d11c4 + 0x14" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*pcVar13 != '@')" ( (binary_expression "*pcVar13 != '@'" (pointer_expression "*pcVar13" * identifier) != (char_literal "'@'" ' character ')) ))) )) (compound_statement "{\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }" { (expression_statement "sVar10 = strlen(pcVar13);" (assignment_expression "sVar10 = strlen(pcVar13)" identifier = (call_expression "strlen(pcVar13)" identifier (argument_list "(pcVar13)" ( identifier )))) ;) (expression_statement "__s = (char *)xmalloc(sVar10 + 2);" (assignment_expression "__s = (char *)xmalloc(sVar10 + 2)" identifier = (cast_expression "(char *)xmalloc(sVar10 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar10 + 2)" identifier (argument_list "(sVar10 + 2)" ( (binary_expression "sVar10 + 2" identifier + number_literal) ))))) ;) (expression_statement "sprintf(__s,"_%s",pcVar13);" (call_expression "sprintf(__s,"_%s",pcVar13)" identifier (argument_list "(__s,"_%s",pcVar13)" ( identifier , (string_literal ""_%s"" " string_content ") , identifier ))) ;) (expression_statement "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);" (assignment_expression "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0)" identifier = (call_expression "bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0)" identifier (argument_list "(*(undefined4 *)(param_3 + 0x20),__s,0,0,0)" ( (pointer_expression "*(undefined4 *)(param_3 + 0x20)" * (cast_expression "(undefined4 *)(param_3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (if_statement "if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;" if (parenthesized_expression "((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))" ( (binary_expression "(iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9)))" (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9)))" ( (parenthesized_expression "(*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))" ( (binary_expression "*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9)" (binary_expression "*(char *)(iVar12 + 0x26) == 'j'" (pointer_expression "*(char *)(iVar12 + 0x26)" * (cast_expression "(char *)(iVar12 + 0x26)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x26)" ( (binary_expression "iVar12 + 0x26" identifier + number_literal) )))) == (char_literal "'j'" ' character ')) && (parenthesized_expression "(*(undefined **)(iVar12 + 0x14) == puVar9)" ( (binary_expression "*(undefined **)(iVar12 + 0x14) == puVar9" (pointer_expression "*(undefined **)(iVar12 + 0x14)" * (cast_expression "(undefined **)(iVar12 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 0x14)" ( (binary_expression "iVar12 + 0x14" identifier + number_literal) )))) == identifier) ))) )) ))) )) (goto_statement "goto LAB_0005e718;" goto statement_identifier ;)) })) (expression_statement "puVar11 = (undefined4 *)FUN_0005bed0();" (assignment_expression "puVar11 = (undefined4 *)FUN_0005bed0()" identifier = (cast_expression "(undefined4 *)FUN_0005bed0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005bed0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar12 = param_1[0xc];" (assignment_expression "iVar12 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "puVar11[0x24] = local_38;" (assignment_expression "puVar11[0x24] = local_38" (subscript_expression "puVar11[0x24]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(char **)(iVar12 + 4 + iVar17) = pcVar13;" (assignment_expression "*(char **)(iVar12 + 4 + iVar17) = pcVar13" (pointer_expression "*(char **)(iVar12 + 4 + iVar17)" * (cast_expression "(char **)(iVar12 + 4 + iVar17)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 4 + iVar17)" ( (binary_expression "iVar12 + 4 + iVar17" (binary_expression "iVar12 + 4" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "local_38 = puVar11;" (assignment_expression "local_38 = puVar11" identifier = identifier) ;) })) })) (labeled_statement "LAB_0005e718:\n        iVar7 = iVar7 + 1;" statement_identifier : (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar7 < param_1[0xb])" ( (binary_expression "iVar7 < param_1[0xb]" identifier < (subscript_expression "param_1[0xb]" identifier [ number_literal ])) )) ;) })) (expression_statement "iVar7 = FUN_0005ca40();" (assignment_expression "iVar7 = FUN_0005ca40()" identifier = (call_expression "FUN_0005ca40()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }" if (parenthesized_expression "((iVar6 != 0) && (iVar7 != 0))" ( (binary_expression "(iVar6 != 0) && (iVar7 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }" { (expression_statement "*(undefined4 **)(iVar6 + 0x90) = local_38;" (assignment_expression "*(undefined4 **)(iVar6 + 0x90) = local_38" (pointer_expression "*(undefined4 **)(iVar6 + 0x90)" * (cast_expression "(undefined4 **)(iVar6 + 0x90)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x90)" ( (binary_expression "iVar6 + 0x90" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar7 + 0x90) = iVar6;" (assignment_expression "*(int *)(iVar7 + 0x90) = iVar6" (pointer_expression "*(int *)(iVar7 + 0x90)" * (cast_expression "(int *)(iVar7 + 0x90)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x90)" ( (binary_expression "iVar7 + 0x90" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = bfd_set_archive_head(iVar5,iVar7);" (assignment_expression "iVar6 = bfd_set_archive_head(iVar5,iVar7)" identifier = (call_expression "bfd_set_archive_head(iVar5,iVar7)" identifier (argument_list "(iVar5,iVar7)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }" { (expression_statement "FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");" (call_expression "FUN_00034d20("%X%P: bfd_set_archive_head: %E\n")" identifier (argument_list "("%X%P: bfd_set_archive_head: %E\n")" ( (string_literal ""%X%P: bfd_set_archive_head: %E\n"" " string_content escape_sequence ") ))) ;) })) (expression_statement "iVar5 = bfd_close(iVar5);" (assignment_expression "iVar5 = bfd_close(iVar5)" identifier = (call_expression "bfd_close(iVar5)" identifier (argument_list "(iVar5)" ( identifier )))) ;) (if_statement "if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }" { (expression_statement "FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);" (call_expression "FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2)" identifier (argument_list "("%X%P: bfd_close %s: %E\n",param_2)" ( (string_literal ""%X%P: bfd_close %s: %E\n"" " string_content escape_sequence ") , identifier ))) ;) })) (do_statement "do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);" do (compound_statement "{\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      }" { (expression_statement "iVar5 = *(int *)(iVar7 + 0x90);" (assignment_expression "iVar5 = *(int *)(iVar7 + 0x90)" identifier = (pointer_expression "*(int *)(iVar7 + 0x90)" * (cast_expression "(int *)(iVar7 + 0x90)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x90)" ( (binary_expression "iVar7 + 0x90" identifier + number_literal) ))))) ;) (expression_statement "bfd_close(iVar7);" (call_expression "bfd_close(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))) ;) (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , 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 string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (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 , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( ; (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)))) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression ! IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( IDENT ))) )) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence string_content ")) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence string_content ")) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (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 , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' character ')) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (binary_expression IDENT + LIT)) ))) )) (compound_statement { (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 ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT ))) ;) (expression_statement (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 , LIT , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' character ')) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) ))) )) ))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , IDENT ))) ;) })) (do_statement do (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 (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) }))) (return_statement return ;) })))
(function_definition "void FUN_0005e4c0(int *param_1,undefined4 param_2,int param_3)\n\n{\n  byte bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *__s;\n  undefined4 *puVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  bool bVar18;\n  undefined4 *local_38;\n  \n  DAT_001d1184 = *param_1;\n  if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }\n  pbVar4 = (byte *)xstrdup(DAT_001d1184);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  DAT_001d1180 = pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(param_2);\n  iVar5 = bfd_openw(param_2,0);\n  if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005e4c0(int *param_1,undefined4 param_2,int param_3)" (identifier "FUN_0005e4c0") (parameter_list "(int *param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  byte bVar1;\n  bool bVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  undefined *puVar9;\n  size_t sVar10;\n  char *__s;\n  undefined4 *puVar11;\n  int iVar12;\n  char *pcVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  bool bVar18;\n  undefined4 *local_38;\n  \n  DAT_001d1184 = *param_1;\n  if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }\n  pbVar4 = (byte *)xstrdup(DAT_001d1184);\n  puVar9 = PTR__sch_istable_001cefa0;\n  bVar1 = *pbVar4;\n  DAT_001d1180 = pbVar4;\n  while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }\n  unlink_if_ordinary(param_2);\n  iVar5 = bfd_openw(param_2,0);\n  if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "size_t sVar10;" (primitive_type "size_t") (identifier "sVar10") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "char *pcVar13;" (primitive_type "char") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (declaration "undefined4 uVar14;" (type_identifier "undefined4") (identifier "uVar14") (; ";")) (declaration "undefined4 uVar15;" (type_identifier "undefined4") (identifier "uVar15") (; ";")) (declaration "undefined4 uVar16;" (type_identifier "undefined4") (identifier "uVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "bool bVar18;" (primitive_type "bool") (identifier "bVar18") (; ";")) (declaration "undefined4 *local_38;" (type_identifier "undefined4") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (expression_statement "DAT_001d1184 = *param_1;" (assignment_expression "DAT_001d1184 = *param_1" (identifier "DAT_001d1184") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (*param_1 == 0) {\n    DAT_001d1184 = DAT_001d11a8;\n  }" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_001d1184 = DAT_001d11a8;\n  }" ({ "{") (expression_statement "DAT_001d1184 = DAT_001d11a8;" (assignment_expression "DAT_001d1184 = DAT_001d11a8" (identifier "DAT_001d1184") (= "=") (identifier "DAT_001d11a8")) (; ";")) (} "}"))) (expression_statement "pbVar4 = (byte *)xstrdup(DAT_001d1184);" (assignment_expression "pbVar4 = (byte *)xstrdup(DAT_001d1184)" (identifier "pbVar4") (= "=") (cast_expression "(byte *)xstrdup(DAT_001d1184)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xstrdup(DAT_001d1184)" (identifier "xstrdup") (argument_list "(DAT_001d1184)" (( "(") (identifier "DAT_001d1184") () ")"))))) (; ";")) (expression_statement "puVar9 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar9 = PTR__sch_istable_001cefa0" (identifier "puVar9") (= "=") (identifier "PTR__sch_istable_001cefa0")) (; ";")) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" (identifier "bVar1") (= "=") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4"))) (; ";")) (expression_statement "DAT_001d1180 = pbVar4;" (assignment_expression "DAT_001d1180 = pbVar4" (identifier "DAT_001d1180") (= "=") (identifier "pbVar4")) (; ";")) (while_statement "while (bVar1 != 0) {\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }" (while "while") (parenthesized_expression "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }\n    pbVar4 = pbVar4 + 1;\n    bVar1 = *pbVar4;\n  }" ({ "{") (if_statement "if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {\n      *pbVar4 = 0x5f;\n    }" (if "if") (parenthesized_expression "((puVar9[(uint)bVar1 * 2] & 0x8c) == 0)" (( "(") (binary_expression "(puVar9[(uint)bVar1 * 2] & 0x8c) == 0" (parenthesized_expression "(puVar9[(uint)bVar1 * 2] & 0x8c)" (( "(") (binary_expression "puVar9[(uint)bVar1 * 2] & 0x8c" (subscript_expression "puVar9[(uint)bVar1 * 2]" (identifier "puVar9") ([ "[") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "0x8c")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *pbVar4 = 0x5f;\n    }" ({ "{") (expression_statement "*pbVar4 = 0x5f;" (assignment_expression "*pbVar4 = 0x5f" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (= "=") (number_literal "0x5f")) (; ";")) (} "}"))) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" (identifier "bVar1") (= "=") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4"))) (; ";")) (} "}"))) (expression_statement "unlink_if_ordinary(param_2);" (call_expression "unlink_if_ordinary(param_2)" (identifier "unlink_if_ordinary") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar5 = bfd_openw(param_2,0);" (assignment_expression "iVar5 = bfd_openw(param_2,0)" (identifier "iVar5") (= "=") (call_expression "bfd_openw(param_2,0)" (identifier "bfd_openw") (argument_list "(param_2,0)" (( "(") (identifier "param_2") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }\n  else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);\n    FUN_00034d20(uVar15,param_2);\n  }" ({ "{") (expression_statement "uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);" (assignment_expression "uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5)" (identifier "uVar15") (= "=") (call_expression "dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5)" (identifier "dcgettext") (argument_list "(0,"%X%P: can\'t open .lib file: %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%X%P: can\'t open .lib file: %s\n"" (" """) (string_content "%X%P: can") (escape_sequence "\'") (string_content "t open .lib file: %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar15,param_2);" (call_expression "FUN_00034d20(uVar15,param_2)" (identifier "FUN_00034d20") (argument_list "(uVar15,param_2)" (( "(") (identifier "uVar15") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }" (else "else") (compound_statement "{\n    if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }\n    bfd_set_format(iVar5,2);\n    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;\n    iVar6 = FUN_0005c6f0();\n    puVar11 = *(undefined4 **)(param_3 + 0x3c);\n    local_38 = (undefined4 *)0x0;\n    puVar3 = local_38;\n    puVar8 = DAT_001d1198;\n    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }\n    if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }\n    iVar7 = FUN_0005ca40();\n    if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }\n  }" ({ "{") (if_statement "if (DAT_001d155c != 0) {\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }" (if "if") (parenthesized_expression "(DAT_001d155c != 0)" (( "(") (binary_expression "DAT_001d155c != 0" (identifier "DAT_001d155c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar15 = dcgettext(0,"Creating library file: %s\n",5);\n      FUN_00034cf0(uVar15,param_2);\n    }" ({ "{") (expression_statement "uVar15 = dcgettext(0,"Creating library file: %s\n",5);" (assignment_expression "uVar15 = dcgettext(0,"Creating library file: %s\n",5)" (identifier "uVar15") (= "=") (call_expression "dcgettext(0,"Creating library file: %s\n",5)" (identifier "dcgettext") (argument_list "(0,"Creating library file: %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Creating library file: %s\n"" (" """) (string_content "Creating library file: %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034cf0(uVar15,param_2);" (call_expression "FUN_00034cf0(uVar15,param_2)" (identifier "FUN_00034cf0") (argument_list "(uVar15,param_2)" (( "(") (identifier "uVar15") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "bfd_set_format(iVar5,2);" (call_expression "bfd_set_format(iVar5,2)" (identifier "bfd_set_format") (argument_list "(iVar5,2)" (( "(") (identifier "iVar5") (, ",") (number_literal "2") () ")"))) (; ";")) (expression_statement "*(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;" (assignment_expression "*(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80" (pointer_expression "*(byte *)(iVar5 + 0x2b)" (* "*") (cast_expression "(byte *)(iVar5 + 0x2b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x2b)" (( "(") (binary_expression "iVar5 + 0x2b" (identifier "iVar5") (+ "+") (number_literal "0x2b")) () ")")))) (= "=") (binary_expression "*(byte *)(iVar5 + 0x2b) | 0x80" (pointer_expression "*(byte *)(iVar5 + 0x2b)" (* "*") (cast_expression "(byte *)(iVar5 + 0x2b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x2b)" (( "(") (binary_expression "iVar5 + 0x2b" (identifier "iVar5") (+ "+") (number_literal "0x2b")) () ")")))) (| "|") (number_literal "0x80"))) (; ";")) (expression_statement "iVar6 = FUN_0005c6f0();" (assignment_expression "iVar6 = FUN_0005c6f0()" (identifier "iVar6") (= "=") (call_expression "FUN_0005c6f0()" (identifier "FUN_0005c6f0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar11 = *(undefined4 **)(param_3 + 0x3c);" (assignment_expression "puVar11 = *(undefined4 **)(param_3 + 0x3c)" (identifier "puVar11") (= "=") (pointer_expression "*(undefined4 **)(param_3 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(param_3 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0x3c)" (( "(") (binary_expression "param_3 + 0x3c" (identifier "param_3") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "local_38 = (undefined4 *)0x0;" (assignment_expression "local_38 = (undefined4 *)0x0" (identifier "local_38") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar3 = local_38;" (assignment_expression "puVar3 = local_38" (identifier "puVar3") (= "=") (identifier "local_38")) (; ";")) (expression_statement "puVar8 = DAT_001d1198;" (assignment_expression "puVar8 = DAT_001d1198" (identifier "puVar8") (= "=") (identifier "DAT_001d1198")) (; ";")) (for_statement "for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;\n        puVar11 = (undefined4 *)puVar11[0x27]) {\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }" (for "for") (( "(") (; ";") (comma_expression "local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0" (assignment_expression "local_38 = puVar3" (identifier "local_38") (= "=") (identifier "puVar3")) (, ",") (comma_expression "DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0" (assignment_expression "DAT_001d1198 = puVar8" (identifier "DAT_001d1198") (= "=") (identifier "puVar8")) (, ",") (binary_expression "puVar11 != (undefined4 *)0x0" (identifier "puVar11") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))))) (; ";") (assignment_expression "puVar11 = (undefined4 *)puVar11[0x27]" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)puVar11[0x27]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[0x27]" (identifier "puVar11") ([ "[") (number_literal "0x27") (] "]")))) () ")") (compound_statement "{\n      if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }\n      puVar3 = local_38;\n      puVar8 = DAT_001d1198;\n    }" ({ "{") (if_statement "if (puVar8 != (undefined4 *)0x0) {\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }" (if "if") (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar8 != (undefined4 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));\n        if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }\n      }" ({ "{") (do_statement "do {\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));" (do "do") (compound_statement "{\n          bVar18 = false;\n          bVar2 = true;\n          if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }\n          puVar8 = (undefined4 *)puVar8[1];\n        }" ({ "{") (expression_statement "bVar18 = false;" (assignment_expression "bVar18 = false" (identifier "bVar18") (= "=") (false "false")) (; ";")) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" (identifier "bVar2") (= "=") (true "true")) (; ";")) (if_statement "if (puVar8[2] == 2) {\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }" (if "if") (parenthesized_expression "(puVar8[2] == 2)" (( "(") (binary_expression "puVar8[2] == 2" (subscript_expression "puVar8[2]" (identifier "puVar8") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n            iVar7 = filename_cmp(*puVar8,*puVar11);\n            bVar18 = iVar7 == 0;\n            bVar2 = !bVar18;\n          }" ({ "{") (expression_statement "iVar7 = filename_cmp(*puVar8,*puVar11);" (assignment_expression "iVar7 = filename_cmp(*puVar8,*puVar11)" (identifier "iVar7") (= "=") (call_expression "filename_cmp(*puVar8,*puVar11)" (identifier "filename_cmp") (argument_list "(*puVar8,*puVar11)" (( "(") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (, ",") (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) () ")")))) (; ";")) (expression_statement "bVar18 = iVar7 == 0;" (assignment_expression "bVar18 = iVar7 == 0" (identifier "bVar18") (= "=") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0"))) (; ";")) (expression_statement "bVar2 = !bVar18;" (assignment_expression "bVar2 = !bVar18" (identifier "bVar2") (= "=") (unary_expression "!bVar18" (! "!") (identifier "bVar18"))) (; ";")) (} "}"))) (expression_statement "puVar8 = (undefined4 *)puVar8[1];" (assignment_expression "puVar8 = (undefined4 *)puVar8[1]" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)puVar8[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((puVar8 != (undefined4 *)0x0) && (bVar2))" (( "(") (binary_expression "(puVar8 != (undefined4 *)0x0) && (bVar2)" (parenthesized_expression "(puVar8 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar8 != (undefined4 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")"))) () ")")) (; ";")) (if_statement "if (bVar18) {\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }" (if "if") (parenthesized_expression "(bVar18)" (( "(") (identifier "bVar18") () ")")) (compound_statement "{\n          puVar8 = (undefined4 *)puVar11[0x23];\n          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }\n          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);\n          if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }\n          local_38 = puVar8;\n          if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }\n          local_38[0x24] = puVar3;\n        }" ({ "{") (expression_statement "puVar8 = (undefined4 *)puVar11[0x23];" (assignment_expression "puVar8 = (undefined4 *)puVar11[0x23]" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)puVar11[0x23]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[0x23]" (identifier "puVar11") ([ "[") (number_literal "0x23") (] "]")))) (; ";")) (if_statement "if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {\n            puVar8 = puVar11;\n          }" (if "if") (parenthesized_expression "((undefined4 *)puVar11[0x23] == (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)puVar11[0x23] == (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar11[0x23]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[0x23]" (identifier "puVar11") ([ "[") (number_literal "0x23") (] "]"))) (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            puVar8 = puVar11;\n          }" ({ "{") (expression_statement "puVar8 = puVar11;" (assignment_expression "puVar8 = puVar11" (identifier "puVar8") (= "=") (identifier "puVar11")) (; ";")) (} "}"))) (expression_statement "puVar8 = (undefined4 *)bfd_openr(*puVar8,0);" (assignment_expression "puVar8 = (undefined4 *)bfd_openr(*puVar8,0)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)bfd_openr(*puVar8,0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "bfd_openr(*puVar8,0)" (identifier "bfd_openr") (argument_list "(*puVar8,0)" (( "(") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (, ",") (number_literal "0") () ")"))))) (; ";")) (if_statement "if (puVar8 == (undefined4 *)0x0) {\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }" (if "if") (parenthesized_expression "(puVar8 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar8 == (undefined4 *)0x0" (identifier "puVar8") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            uVar15 = *puVar11;\n            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);\n            FUN_00034d20(uVar16,uVar15);\n            return;\n          }" ({ "{") (expression_statement "uVar15 = *puVar11;" (assignment_expression "uVar15 = *puVar11" (identifier "uVar15") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);" (assignment_expression "uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5)" (identifier "uVar16") (= "=") (call_expression "dcgettext(0,"%X%P: bfd_openr %s: %E\n",5)" (identifier "dcgettext") (argument_list "(0,"%X%P: bfd_openr %s: %E\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%X%P: bfd_openr %s: %E\n"" (" """) (string_content "%X%P: bfd_openr %s: %E") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar16,uVar15);" (call_expression "FUN_00034d20(uVar16,uVar15)" (identifier "FUN_00034d20") (argument_list "(uVar16,uVar15)" (( "(") (identifier "uVar16") (, ",") (identifier "uVar15") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_38 = puVar8;" (assignment_expression "local_38 = puVar8" (identifier "local_38") (= "=") (identifier "puVar8")) (; ";")) (if_statement "if (puVar11[0x23] != 0) {\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }" (if "if") (parenthesized_expression "(puVar11[0x23] != 0)" (( "(") (binary_expression "puVar11[0x23] != 0" (subscript_expression "puVar11[0x23]" (identifier "puVar11") ([ "[") (number_literal "0x23") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar7 = bfd_check_format_matches(puVar8,2,0);\n            if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }\n            local_38 = (undefined4 *)0x0;\n            do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);\n          }" ({ "{") (expression_statement "iVar7 = bfd_check_format_matches(puVar8,2,0);" (assignment_expression "iVar7 = bfd_check_format_matches(puVar8,2,0)" (identifier "iVar7") (= "=") (call_expression "bfd_check_format_matches(puVar8,2,0)" (identifier "bfd_check_format_matches") (argument_list "(puVar8,2,0)" (( "(") (identifier "puVar8") (, ",") (number_literal "2") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              uVar15 = *puVar11;\n              uVar16 = *(undefined4 *)puVar11[0x23];\n              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";\nLAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);\n              FUN_00034d20(uVar14,uVar16,uVar15);\n              return;\n            }" ({ "{") (expression_statement "uVar15 = *puVar11;" (assignment_expression "uVar15 = *puVar11" (identifier "uVar15") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "uVar16 = *(undefined4 *)puVar11[0x23];" (assignment_expression "uVar16 = *(undefined4 *)puVar11[0x23]" (identifier "uVar16") (= "=") (pointer_expression "*(undefined4 *)puVar11[0x23]" (* "*") (cast_expression "(undefined4 *)puVar11[0x23]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[0x23]" (identifier "puVar11") ([ "[") (number_literal "0x23") (] "]"))))) (; ";")) (expression_statement "pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";" (assignment_expression "pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file"" (identifier "pcVar13") (= "=") (string_literal ""%X%P: %s(%s): can\'t find member in non-archive file"" (" """) (string_content "%X%P: %s(%s): can") (escape_sequence "\'") (string_content "t find member in non-archive file") (" """))) (; ";")) (labeled_statement "LAB_0005e85c:\n              uVar14 = dcgettext(0,pcVar13,5);" (statement_identifier "LAB_0005e85c") (: ":") (expression_statement "uVar14 = dcgettext(0,pcVar13,5);" (assignment_expression "uVar14 = dcgettext(0,pcVar13,5)" (identifier "uVar14") (= "=") (call_expression "dcgettext(0,pcVar13,5)" (identifier "dcgettext") (argument_list "(0,pcVar13,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar13") (, ",") (number_literal "5") () ")")))) (; ";"))) (expression_statement "FUN_00034d20(uVar14,uVar16,uVar15);" (call_expression "FUN_00034d20(uVar14,uVar16,uVar15)" (identifier "FUN_00034d20") (argument_list "(uVar14,uVar16,uVar15)" (( "(") (identifier "uVar14") (, ",") (identifier "uVar16") (, ",") (identifier "uVar15") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_38 = (undefined4 *)0x0;" (assignment_expression "local_38 = (undefined4 *)0x0" (identifier "local_38") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (do_statement "do {\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            } while (iVar7 != 0);" (do "do") (compound_statement "{\n              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);\n              if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }\n              iVar7 = filename_cmp(*local_38,*puVar11);\n            }" ({ "{") (expression_statement "local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);" (assignment_expression "local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38)" (identifier "local_38") (= "=") (cast_expression "(undefined4 *)bfd_openr_next_archived_file(puVar8,local_38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "bfd_openr_next_archived_file(puVar8,local_38)" (identifier "bfd_openr_next_archived_file") (argument_list "(puVar8,local_38)" (( "(") (identifier "puVar8") (, ",") (identifier "local_38") () ")"))))) (; ";")) (if_statement "if (local_38 == (undefined4 *)0x0) {\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }" (if "if") (parenthesized_expression "(local_38 == (undefined4 *)0x0)" (( "(") (binary_expression "local_38 == (undefined4 *)0x0" (identifier "local_38") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                uVar15 = *puVar11;\n                uVar16 = *(undefined4 *)puVar11[0x23];\n                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";\n                goto LAB_0005e85c;\n              }" ({ "{") (expression_statement "uVar15 = *puVar11;" (assignment_expression "uVar15 = *puVar11" (identifier "uVar15") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "uVar16 = *(undefined4 *)puVar11[0x23];" (assignment_expression "uVar16 = *(undefined4 *)puVar11[0x23]" (identifier "uVar16") (= "=") (pointer_expression "*(undefined4 *)puVar11[0x23]" (* "*") (cast_expression "(undefined4 *)puVar11[0x23]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[0x23]" (identifier "puVar11") ([ "[") (number_literal "0x23") (] "]"))))) (; ";")) (expression_statement "pcVar13 = "%X%P: %s(%s): can\'t find member in archive";" (assignment_expression "pcVar13 = "%X%P: %s(%s): can\'t find member in archive"" (identifier "pcVar13") (= "=") (string_literal ""%X%P: %s(%s): can\'t find member in archive"" (" """) (string_content "%X%P: %s(%s): can") (escape_sequence "\'") (string_content "t find member in archive") (" """))) (; ";")) (goto_statement "goto LAB_0005e85c;" (goto "goto") (statement_identifier "LAB_0005e85c") (; ";")) (} "}"))) (expression_statement "iVar7 = filename_cmp(*local_38,*puVar11);" (assignment_expression "iVar7 = filename_cmp(*local_38,*puVar11)" (identifier "iVar7") (= "=") (call_expression "filename_cmp(*local_38,*puVar11)" (identifier "filename_cmp") (argument_list "(*local_38,*puVar11)" (( "(") (pointer_expression "*local_38" (* "*") (identifier "local_38")) (, ",") (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "local_38[0x24] = puVar3;" (assignment_expression "local_38[0x24] = puVar3" (subscript_expression "local_38[0x24]" (identifier "local_38") ([ "[") (number_literal "0x24") (] "]")) (= "=") (identifier "puVar3")) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar3 = local_38;" (assignment_expression "puVar3 = local_38" (identifier "puVar3") (= "=") (identifier "local_38")) (; ";")) (expression_statement "puVar8 = DAT_001d1198;" (assignment_expression "puVar8 = DAT_001d1198" (identifier "puVar8") (= "=") (identifier "DAT_001d1198")) (; ";")) (} "}"))) (if_statement "if (0 < param_1[0xb]) {\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }" (if "if") (parenthesized_expression "(0 < param_1[0xb])" (( "(") (binary_expression "0 < param_1[0xb]" (number_literal "0") (< "<") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]"))) () ")")) (compound_statement "{\n      iVar7 = 0;\n      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;\n      do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);\n    }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;" (assignment_expression "puVar9 = PTR__bfd_std_section_001cefbc + 0xc0" (identifier "puVar9") (= "=") (binary_expression "PTR__bfd_std_section_001cefbc + 0xc0" (identifier "PTR__bfd_std_section_001cefbc") (+ "+") (number_literal "0xc0"))) (; ";")) (do_statement "do {\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      } while (iVar7 < param_1[0xb]);" (do "do") (compound_statement "{\n        iVar17 = iVar7 * 0x1c;\n        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }\nLAB_0005e718:\n        iVar7 = iVar7 + 1;\n      }" ({ "{") (expression_statement "iVar17 = iVar7 * 0x1c;" (assignment_expression "iVar17 = iVar7 * 0x1c" (identifier "iVar17") (= "=") (binary_expression "iVar7 * 0x1c" (identifier "iVar7") (* "*") (number_literal "0x1c"))) (; ";")) (if_statement "if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0')" (( "(") (binary_expression "*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0'" (pointer_expression "*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17)" (* "*") (cast_expression "(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17)" (( "(") (binary_expression "*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17" (binary_expression "*(int *)(DAT_001d1160 + 0x30) + 0x14" (pointer_expression "*(int *)(DAT_001d1160 + 0x30)" (* "*") (cast_expression "(int *)(DAT_001d1160 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d1160 + 0x30)" (( "(") (binary_expression "DAT_001d1160 + 0x30" (identifier "DAT_001d1160") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "0x14")) (+ "+") (identifier "iVar17")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);\n          pcVar13 = (char *)puVar11[1];\n          puVar11[1] = *puVar11;\n          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);\n          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }\n        }" ({ "{") (expression_statement "puVar11 = (undefined4 *)(param_1[0xc] + iVar17);" (assignment_expression "puVar11 = (undefined4 *)(param_1[0xc] + iVar17)" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)(param_1[0xc] + iVar17)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[0xc] + iVar17)" (( "(") (binary_expression "param_1[0xc] + iVar17" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (+ "+") (identifier "iVar17")) () ")")))) (; ";")) (expression_statement "pcVar13 = (char *)puVar11[1];" (assignment_expression "pcVar13 = (char *)puVar11[1]" (identifier "pcVar13") (= "=") (cast_expression "(char *)puVar11[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "puVar11[1] = *puVar11;" (assignment_expression "puVar11[1] = *puVar11" (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);" (assignment_expression "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0)" (identifier "iVar12") (= "=") (call_expression "bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0)" (identifier "bfd_link_hash_lookup") (argument_list "(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0)" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (identifier "pcVar13") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }" (if "if") (parenthesized_expression "(((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0))" (( "(") (binary_expression "((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||\n             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)" (parenthesized_expression "((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j'))" (( "(") (binary_expression "(iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')" (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(iVar12 + 0x26) != 'j')" (( "(") (binary_expression "*(char *)(iVar12 + 0x26) != 'j'" (pointer_expression "*(char *)(iVar12 + 0x26)" (* "*") (cast_expression "(char *)(iVar12 + 0x26)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x26)" (( "(") (binary_expression "iVar12 + 0x26" (identifier "iVar12") (+ "+") (number_literal "0x26")) () ")")))) (!= "!=") (char_literal "'j'" (' "'") (character "j") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)" (( "(") (binary_expression "*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0" (pointer_expression "*(undefined **)(iVar12 + 0x14)" (* "*") (cast_expression "(undefined **)(iVar12 + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar12 + 0x14)" (( "(") (binary_expression "iVar12 + 0x14" (identifier "iVar12") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (binary_expression "PTR__bfd_std_section_001cefbc + 0xc0" (identifier "PTR__bfd_std_section_001cefbc") (+ "+") (number_literal "0xc0"))) () ")"))) () ")")) (compound_statement "{\n            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }\n            puVar11 = (undefined4 *)FUN_0005bed0();\n            iVar12 = param_1[0xc];\n            puVar11[0x24] = local_38;\n            *(char **)(iVar12 + 4 + iVar17) = pcVar13;\n            local_38 = puVar11;\n          }" ({ "{") (if_statement "if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }" (if "if") (parenthesized_expression "((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@'))" (( "(") (binary_expression "(*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')" (parenthesized_expression "(*(int *)(DAT_001d11c4 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(DAT_001d11c4 + 0x14) != 0" (pointer_expression "*(int *)(DAT_001d11c4 + 0x14)" (* "*") (cast_expression "(int *)(DAT_001d11c4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001d11c4 + 0x14)" (( "(") (binary_expression "DAT_001d11c4 + 0x14" (identifier "DAT_001d11c4") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*pcVar13 != '@')" (( "(") (binary_expression "*pcVar13 != '@'" (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) (!= "!=") (char_literal "'@'" (' "'") (character "@") (' "'"))) () ")"))) () ")")) (compound_statement "{\n              sVar10 = strlen(pcVar13);\n              __s = (char *)xmalloc(sVar10 + 2);\n              sprintf(__s,"_%s",pcVar13);\n              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);\n              free(__s);\n              if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;\n            }" ({ "{") (expression_statement "sVar10 = strlen(pcVar13);" (assignment_expression "sVar10 = strlen(pcVar13)" (identifier "sVar10") (= "=") (call_expression "strlen(pcVar13)" (identifier "strlen") (argument_list "(pcVar13)" (( "(") (identifier "pcVar13") () ")")))) (; ";")) (expression_statement "__s = (char *)xmalloc(sVar10 + 2);" (assignment_expression "__s = (char *)xmalloc(sVar10 + 2)" (identifier "__s") (= "=") (cast_expression "(char *)xmalloc(sVar10 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar10 + 2)" (identifier "xmalloc") (argument_list "(sVar10 + 2)" (( "(") (binary_expression "sVar10 + 2" (identifier "sVar10") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "sprintf(__s,"_%s",pcVar13);" (call_expression "sprintf(__s,"_%s",pcVar13)" (identifier "sprintf") (argument_list "(__s,"_%s",pcVar13)" (( "(") (identifier "__s") (, ",") (string_literal ""_%s"" (" """) (string_content "_%s") (" """)) (, ",") (identifier "pcVar13") () ")"))) (; ";")) (expression_statement "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);" (assignment_expression "iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0)" (identifier "iVar12") (= "=") (call_expression "bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0)" (identifier "bfd_link_hash_lookup") (argument_list "(*(undefined4 *)(param_3 + 0x20),__s,0,0,0)" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (identifier "__s") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "free(__s);" (call_expression "free(__s)" (identifier "free") (argument_list "(__s)" (( "(") (identifier "__s") () ")"))) (; ";")) (if_statement "if ((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))\n              goto LAB_0005e718;" (if "if") (parenthesized_expression "((iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))" (( "(") (binary_expression "(iVar12 != 0) &&\n                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9)))" (parenthesized_expression "(iVar12 != 0)" (( "(") (binary_expression "iVar12 != 0" (identifier "iVar12") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9)))" (( "(") (parenthesized_expression "(*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))" (( "(") (binary_expression "*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9)" (binary_expression "*(char *)(iVar12 + 0x26) == 'j'" (pointer_expression "*(char *)(iVar12 + 0x26)" (* "*") (cast_expression "(char *)(iVar12 + 0x26)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x26)" (( "(") (binary_expression "iVar12 + 0x26" (identifier "iVar12") (+ "+") (number_literal "0x26")) () ")")))) (== "==") (char_literal "'j'" (' "'") (character "j") (' "'"))) (&& "&&") (parenthesized_expression "(*(undefined **)(iVar12 + 0x14) == puVar9)" (( "(") (binary_expression "*(undefined **)(iVar12 + 0x14) == puVar9" (pointer_expression "*(undefined **)(iVar12 + 0x14)" (* "*") (cast_expression "(undefined **)(iVar12 + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar12 + 0x14)" (( "(") (binary_expression "iVar12 + 0x14" (identifier "iVar12") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (identifier "puVar9")) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_0005e718;" (goto "goto") (statement_identifier "LAB_0005e718") (; ";"))) (} "}"))) (expression_statement "puVar11 = (undefined4 *)FUN_0005bed0();" (assignment_expression "puVar11 = (undefined4 *)FUN_0005bed0()" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)FUN_0005bed0()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005bed0()" (identifier "FUN_0005bed0") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar12 = param_1[0xc];" (assignment_expression "iVar12 = param_1[0xc]" (identifier "iVar12") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "puVar11[0x24] = local_38;" (assignment_expression "puVar11[0x24] = local_38" (subscript_expression "puVar11[0x24]" (identifier "puVar11") ([ "[") (number_literal "0x24") (] "]")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "*(char **)(iVar12 + 4 + iVar17) = pcVar13;" (assignment_expression "*(char **)(iVar12 + 4 + iVar17) = pcVar13" (pointer_expression "*(char **)(iVar12 + 4 + iVar17)" (* "*") (cast_expression "(char **)(iVar12 + 4 + iVar17)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar12 + 4 + iVar17)" (( "(") (binary_expression "iVar12 + 4 + iVar17" (binary_expression "iVar12 + 4" (identifier "iVar12") (+ "+") (number_literal "4")) (+ "+") (identifier "iVar17")) () ")")))) (= "=") (identifier "pcVar13")) (; ";")) (expression_statement "local_38 = puVar11;" (assignment_expression "local_38 = puVar11" (identifier "local_38") (= "=") (identifier "puVar11")) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0005e718:\n        iVar7 = iVar7 + 1;" (statement_identifier "LAB_0005e718") (: ":") (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar7 < param_1[0xb])" (( "(") (binary_expression "iVar7 < param_1[0xb]" (identifier "iVar7") (< "<") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar7 = FUN_0005ca40();" (assignment_expression "iVar7 = FUN_0005ca40()" (identifier "iVar7") (= "=") (call_expression "FUN_0005ca40()" (identifier "FUN_0005ca40") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar6 != 0) && (iVar7 != 0)) {\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }" (if "if") (parenthesized_expression "((iVar6 != 0) && (iVar7 != 0))" (( "(") (binary_expression "(iVar6 != 0) && (iVar7 != 0)" (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      *(undefined4 **)(iVar6 + 0x90) = local_38;\n      *(int *)(iVar7 + 0x90) = iVar6;\n      iVar6 = bfd_set_archive_head(iVar5,iVar7);\n      if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }\n      iVar5 = bfd_close(iVar5);\n      if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }\n      do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);\n    }" ({ "{") (expression_statement "*(undefined4 **)(iVar6 + 0x90) = local_38;" (assignment_expression "*(undefined4 **)(iVar6 + 0x90) = local_38" (pointer_expression "*(undefined4 **)(iVar6 + 0x90)" (* "*") (cast_expression "(undefined4 **)(iVar6 + 0x90)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x90)" (( "(") (binary_expression "iVar6 + 0x90" (identifier "iVar6") (+ "+") (number_literal "0x90")) () ")")))) (= "=") (identifier "local_38")) (; ";")) (expression_statement "*(int *)(iVar7 + 0x90) = iVar6;" (assignment_expression "*(int *)(iVar7 + 0x90) = iVar6" (pointer_expression "*(int *)(iVar7 + 0x90)" (* "*") (cast_expression "(int *)(iVar7 + 0x90)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x90)" (( "(") (binary_expression "iVar7 + 0x90" (identifier "iVar7") (+ "+") (number_literal "0x90")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar6 = bfd_set_archive_head(iVar5,iVar7);" (assignment_expression "iVar6 = bfd_set_archive_head(iVar5,iVar7)" (identifier "iVar6") (= "=") (call_expression "bfd_set_archive_head(iVar5,iVar7)" (identifier "bfd_set_archive_head") (argument_list "(iVar5,iVar7)" (( "(") (identifier "iVar5") (, ",") (identifier "iVar7") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");\n      }" ({ "{") (expression_statement "FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");" (call_expression "FUN_00034d20("%X%P: bfd_set_archive_head: %E\n")" (identifier "FUN_00034d20") (argument_list "("%X%P: bfd_set_archive_head: %E\n")" (( "(") (string_literal ""%X%P: bfd_set_archive_head: %E\n"" (" """) (string_content "%X%P: bfd_set_archive_head: %E") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar5 = bfd_close(iVar5);" (assignment_expression "iVar5 = bfd_close(iVar5)" (identifier "iVar5") (= "=") (call_expression "bfd_close(iVar5)" (identifier "bfd_close") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);\n      }" ({ "{") (expression_statement "FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);" (call_expression "FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2)" (identifier "FUN_00034d20") (argument_list "("%X%P: bfd_close %s: %E\n",param_2)" (( "(") (string_literal ""%X%P: bfd_close %s: %E\n"" (" """) (string_content "%X%P: bfd_close %s: %E") (escape_sequence "\n") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (do_statement "do {\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      } while (iVar5 != 0);" (do "do") (compound_statement "{\n        iVar5 = *(int *)(iVar7 + 0x90);\n        bfd_close(iVar7);\n        iVar7 = iVar5;\n      }" ({ "{") (expression_statement "iVar5 = *(int *)(iVar7 + 0x90);" (assignment_expression "iVar5 = *(int *)(iVar7 + 0x90)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar7 + 0x90)" (* "*") (cast_expression "(int *)(iVar7 + 0x90)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x90)" (( "(") (binary_expression "iVar7 + 0x90" (identifier "iVar7") (+ "+") (number_literal "0x90")) () ")"))))) (; ";")) (expression_statement "bfd_close(iVar7);" (call_expression "bfd_close(iVar7)" (identifier "bfd_close") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" (identifier "iVar7") (= "=") (identifier "iVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *def,char *impfilename,type_2 *info)

{
  type_3 var_2;
  bool bVar2;
  type_4 *pbVar3;
  type_3 *var_3;
  type_4 *var_6;
  type_4 *var_34;
  int var_17;
  type_4 *var_19;
  type_5 *var_31;
  size_t var_28;
  char *pcVar11;
  type_6 *pdVar12;
  int var_25;
  type_4 *var_13;
  char *pcVar15;
  type_7 *var_14;
  char *pcVar17;
  bool bVar18;
  type_4 *var_22;
  
  dll_filename = def->name;
  if (def->name == (char *)0x0) {
    dll_filename = dll_name;
  }
  var_3 = (type_3 *)var_1(dll_filename);
  var_31 = PTR__sch_istable_001cefa0;
  var_2 = *var_3;
  dll_symname = (char *)var_3;
  while (var_2 != 0) {
    if ((var_31[(type_8)var_2 * 2] & 0x8c) == 0) {
      *var_3 = 0x5f;
    }
    var_3 = var_3 + 1;
    var_2 = *var_3;
  }
  var_4(impfilename);
  var_6 = (type_4 *)var_5(impfilename,0);
  if (var_6 == (type_4 *)0x0) {
    pcVar15 = (char *)var_7(0,"%X%P: can\'t open .lib file: %s\n",5);
    var_8(pcVar15,impfilename);
  }
  else {
    if (var_9 != 0) {
      pcVar15 = (char *)var_7(0,"Creating library file: %s\n",5);
      var_10(pcVar15,impfilename);
    }
    var_11(var_6,2);
    var_6->field_0x2b = var_6->field_0x2b | 0x80;
    var_34 = var_12(var_6);
    var_13 = info->input_bfds;
    var_22 = (type_4 *)0x0;
    pbVar3 = var_22;
    var_14 = excludes;
    for (; var_22 = pbVar3, excludes = var_14, var_13 != (type_4 *)0x0;
        var_13 = (var_13->link).next) {
      if (var_14 != (type_7 *)0x0) {
        do {
          bVar18 = false;
          bVar2 = true;
          if (var_14->type == var_15) {
            var_17 = var_16(var_14->string,var_13->filename);
            bVar18 = var_17 == 0;
            bVar2 = !bVar18;
          }
          var_14 = var_14->next;
        } while ((var_14 != (type_7 *)0x0) && (bVar2));
        if (bVar18) {
          var_19 = var_13->my_archive;
          if (var_13->my_archive == (type_4 *)0x0) {
            var_19 = var_13;
          }
          var_19 = (type_4 *)var_18(var_19->filename,0);
          if (var_19 == (type_4 *)0x0) {
            pcVar15 = var_13->filename;
            pcVar11 = (char *)var_7(0,"%X%P: bfd_openr %s: %E\n",5);
            var_8(pcVar11,pcVar15);
            return;
          }
          var_22 = var_19;
          if (var_13->my_archive != (type_4 *)0x0) {
            var_17 = var_20(var_19,2,0);
            if (var_17 == 0) {
              pcVar11 = var_13->filename;
              pcVar17 = var_13->my_archive->filename;
              pcVar15 = "%X%P: %s(%s): can\'t find member in non-archive file";
LAB_0005e85c:
              pcVar15 = (char *)var_7(0,pcVar15,5);
              var_8(pcVar15,pcVar17,pcVar11);
              return;
            }
            var_22 = (type_4 *)0x0;
            do {
              var_22 = (type_4 *)var_21(var_19,var_22);
              if (var_22 == (type_4 *)0x0) {
                pcVar11 = var_13->filename;
                pcVar17 = var_13->my_archive->filename;
                pcVar15 = "%X%P: %s(%s): can\'t find member in archive";
                goto LAB_0005e85c;
              }
              var_17 = var_16(var_22->filename,var_13->filename);
            } while (var_17 != 0);
          }
          var_22->archive_next = pbVar3;
        }
      }
      pbVar3 = var_22;
      var_14 = excludes;
    }
    if (0 < def->num_exports) {
      var_17 = 0;
      var_31 = var_23 + 0xc0;
      do {
        if (pep_def_file->exports[var_17].flag_private == '\0') {
          pdVar12 = def->exports + var_17;
          pcVar15 = pdVar12->internal_name;
          pdVar12->internal_name = pdVar12->name;
          var_25 = var_24(info->hash,pcVar15,0,0,0);
          if (((var_25 == 0) || (*(char *)(var_25 + 0x26) != 'j')) ||
             (*(type_5 **)(var_25 + 0x14) != var_23 + 0xc0)) {
            if ((pep_details->underscored != 0) && (*pcVar15 != '@')) {
              var_28 = var_26(pcVar15);
              pcVar11 = (char *)var_27(var_28 + 2);
              var_29(pcVar11,"_%s",pcVar15);
              var_25 = var_24(info->hash,pcVar11,0,0,0);
              var_30(pcVar11);
              if ((var_25 != 0) &&
                 ((*(char *)(var_25 + 0x26) == 'j' && (*(type_5 **)(var_25 + 0x14) == var_31))))
              goto LAB_0005e718;
            }
            var_13 = var_32(def->exports + var_17,var_6,
                               (type_8)(def->exports[var_17].flag_data == '\0'));
            pdVar12 = def->exports;
            var_13->archive_next = var_22;
            pdVar12[var_17].internal_name = pcVar15;
            var_22 = var_13;
          }
        }
LAB_0005e718:
        var_17 = var_17 + 1;
      } while (var_17 < def->num_exports);
    }
    var_13 = var_33(var_6);
    if ((var_34 != (type_4 *)0x0) && (var_13 != (type_4 *)0x0)) {
      var_34->archive_next = var_22;
      var_13->archive_next = var_34;
      var_17 = var_35(var_6,var_13);
      if (var_17 == 0) {
        var_8("%X%P: bfd_set_archive_head: %E\n");
      }
      var_17 = var_36(var_6);
      if (var_17 == 0) {
        var_8("%X%P: bfd_close %s: %E\n",impfilename);
      }
      do {
        var_6 = var_13->archive_next;
        var_36(var_13);
        var_13 = var_6;
      } while (var_6 != (type_4 *)0x0);
    }
  }
  return;
}


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

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

void MASKED(int *param_1,undefined4 param_2,int param_3)

{
  byte bVar1;
  bool bVar2;
  undefined4 *puVar3;
  byte *pbVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  undefined4 *puVar8;
  undefined *puVar9;
  size_t sVar10;
  char *__s;
  undefined4 *puVar11;
  int iVar12;
  char *pcVar13;
  undefined4 uVar14;
  undefined4 uVar15;
  undefined4 uVar16;
  int iVar17;
  bool bVar18;
  undefined4 *local_38;
  
  DAT_001d1184 = *param_1;
  if (*param_1 == 0) {
    DAT_001d1184 = DAT_001d11a8;
  }
  pbVar4 = (byte *)xstrdup(DAT_001d1184);
  puVar9 = PTR__sch_istable_001cefa0;
  bVar1 = *pbVar4;
  DAT_001d1180 = pbVar4;
  while (bVar1 != 0) {
    if ((puVar9[(uint)bVar1 * 2] & 0x8c) == 0) {
      *pbVar4 = 0x5f;
    }
    pbVar4 = pbVar4 + 1;
    bVar1 = *pbVar4;
  }
  unlink_if_ordinary(param_2);
  iVar5 = bfd_openw(param_2,0);
  if (iVar5 == 0) {
    uVar15 = dcgettext(0,"%X%P: can\'t open .lib file: %s\n",5);
    FUN_00034d20(uVar15,param_2);
  }
  else {
    if (DAT_001d155c != 0) {
      uVar15 = dcgettext(0,"Creating library file: %s\n",5);
      FUN_00034cf0(uVar15,param_2);
    }
    bfd_set_format(iVar5,2);
    *(byte *)(iVar5 + 0x2b) = *(byte *)(iVar5 + 0x2b) | 0x80;
    iVar6 = FUN_0005c6f0();
    puVar11 = *(undefined4 **)(param_3 + 0x3c);
    local_38 = (undefined4 *)0x0;
    puVar3 = local_38;
    puVar8 = DAT_001d1198;
    for (; local_38 = puVar3, DAT_001d1198 = puVar8, puVar11 != (undefined4 *)0x0;
        puVar11 = (undefined4 *)puVar11[0x27]) {
      if (puVar8 != (undefined4 *)0x0) {
        do {
          bVar18 = false;
          bVar2 = true;
          if (puVar8[2] == 2) {
            iVar7 = filename_cmp(*puVar8,*puVar11);
            bVar18 = iVar7 == 0;
            bVar2 = !bVar18;
          }
          puVar8 = (undefined4 *)puVar8[1];
        } while ((puVar8 != (undefined4 *)0x0) && (bVar2));
        if (bVar18) {
          puVar8 = (undefined4 *)puVar11[0x23];
          if ((undefined4 *)puVar11[0x23] == (undefined4 *)0x0) {
            puVar8 = puVar11;
          }
          puVar8 = (undefined4 *)bfd_openr(*puVar8,0);
          if (puVar8 == (undefined4 *)0x0) {
            uVar15 = *puVar11;
            uVar16 = dcgettext(0,"%X%P: bfd_openr %s: %E\n",5);
            FUN_00034d20(uVar16,uVar15);
            return;
          }
          local_38 = puVar8;
          if (puVar11[0x23] != 0) {
            iVar7 = bfd_check_format_matches(puVar8,2,0);
            if (iVar7 == 0) {
              uVar15 = *puVar11;
              uVar16 = *(undefined4 *)puVar11[0x23];
              pcVar13 = "%X%P: %s(%s): can\'t find member in non-archive file";
LAB_0005e85c:
              uVar14 = dcgettext(0,pcVar13,5);
              FUN_00034d20(uVar14,uVar16,uVar15);
              return;
            }
            local_38 = (undefined4 *)0x0;
            do {
              local_38 = (undefined4 *)bfd_openr_next_archived_file(puVar8,local_38);
              if (local_38 == (undefined4 *)0x0) {
                uVar15 = *puVar11;
                uVar16 = *(undefined4 *)puVar11[0x23];
                pcVar13 = "%X%P: %s(%s): can\'t find member in archive";
                goto LAB_0005e85c;
              }
              iVar7 = filename_cmp(*local_38,*puVar11);
            } while (iVar7 != 0);
          }
          local_38[0x24] = puVar3;
        }
      }
      puVar3 = local_38;
      puVar8 = DAT_001d1198;
    }
    if (0 < param_1[0xb]) {
      iVar7 = 0;
      puVar9 = PTR__bfd_std_section_001cefbc + 0xc0;
      do {
        iVar17 = iVar7 * 0x1c;
        if (*(char *)(*(int *)(DAT_001d1160 + 0x30) + 0x14 + iVar17) == '\0') {
          puVar11 = (undefined4 *)(param_1[0xc] + iVar17);
          pcVar13 = (char *)puVar11[1];
          puVar11[1] = *puVar11;
          iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),pcVar13,0,0,0);
          if (((iVar12 == 0) || (*(char *)(iVar12 + 0x26) != 'j')) ||
             (*(undefined **)(iVar12 + 0x14) != PTR__bfd_std_section_001cefbc + 0xc0)) {
            if ((*(int *)(DAT_001d11c4 + 0x14) != 0) && (*pcVar13 != '@')) {
              sVar10 = strlen(pcVar13);
              __s = (char *)xmalloc(sVar10 + 2);
              sprintf(__s,"_%s",pcVar13);
              iVar12 = bfd_link_hash_lookup(*(undefined4 *)(param_3 + 0x20),__s,0,0,0);
              free(__s);
              if ((iVar12 != 0) &&
                 ((*(char *)(iVar12 + 0x26) == 'j' && (*(undefined **)(iVar12 + 0x14) == puVar9))))
              goto LAB_0005e718;
            }
            puVar11 = (undefined4 *)FUN_0005bed0();
            iVar12 = param_1[0xc];
            puVar11[0x24] = local_38;
            *(char **)(iVar12 + 4 + iVar17) = pcVar13;
            local_38 = puVar11;
          }
        }
LAB_0005e718:
        iVar7 = iVar7 + 1;
      } while (iVar7 < param_1[0xb]);
    }
    iVar7 = FUN_0005ca40();
    if ((iVar6 != 0) && (iVar7 != 0)) {
      *(undefined4 **)(iVar6 + 0x90) = local_38;
      *(int *)(iVar7 + 0x90) = iVar6;
      iVar6 = bfd_set_archive_head(iVar5,iVar7);
      if (iVar6 == 0) {
        FUN_00034d20("%X%P: bfd_set_archive_head: %E\n");
      }
      iVar5 = bfd_close(iVar5);
      if (iVar5 == 0) {
        FUN_00034d20("%X%P: bfd_close %s: %E\n",param_2);
      }
      do {
        iVar5 = *(int *)(iVar7 + 0x90);
        bfd_close(iVar7);
        iVar7 = iVar5;
      } while (iVar5 != 0);
    }
  }
  return;
}

