
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* WARNING: Unknown calling convention */

int setup_archive(archive_info *arch,char *file_name,FILE *file,bfd_boolean is_thin_archive,
                 bfd_boolean read_symbols)

{
  char cVar1;
  char *pcVar2;
  int iVar3;
  size_t sVar4;
  ulong __size;
  uint uVar5;
  ar_hdr *paVar6;
  ar_hdr *__ptr;
  byte *pbVar7;
  bool bVar8;
  bool bVar9;
  bool bVar10;
  byte bVar11;
  
  bVar11 = 0;
  pcVar2 = strdup(file_name);
  *(undefined4 *)&arch->index_num = 0;
  arch->file_name = pcVar2;
  *(undefined4 *)((int)&arch->index_num + 4) = 0;
  arch->file = file;
  arch->index_array = (elf_vma *)0x0;
  arch->sym_table = (char *)0x0;
  arch->sym_size = 0;
  arch->longnames = (char *)0x0;
  arch->longnames_size = 0;
  arch->nested_member_origin = 0;
  arch->is_thin_archive = is_thin_archive;
  arch->uses_64bit_indicies = 0;
  arch->next_arhdr_offset = 8;
  iVar3 = fseek((FILE *)file,8,0);
  if (iVar3 == 0) {
    __ptr = &arch->arhdr;
    sVar4 = fread(__ptr,1,0x3c,(FILE *)file);
    bVar8 = sVar4 < 0x3c;
    bVar10 = sVar4 == 0x3c;
    if (bVar10) {
      iVar3 = 0x10;
      paVar6 = __ptr;
      pbVar7 = (byte *)"/               ";
      do {
        if (iVar3 == 0) break;
        iVar3 = iVar3 + -1;
        bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;
        bVar10 = paVar6->ar_name[0] == *pbVar7;
        paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);
        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;
      } while (bVar10);
      bVar9 = false;
      bVar8 = (!bVar8 && !bVar10) == bVar8;
      if (bVar8) {
        iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);
joined_r0x000674c2:
        bVar10 = iVar3 == 0;
        bVar8 = false;
        if (bVar10) {
          return 1;
        }
      }
      else {
        iVar3 = 0x10;
        paVar6 = __ptr;
        pbVar7 = (byte *)"/SYM64/         ";
        do {
          if (iVar3 == 0) break;
          iVar3 = iVar3 + -1;
          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;
          bVar8 = paVar6->ar_name[0] == *pbVar7;
          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);
          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;
        } while (bVar8);
        if ((!bVar9 && !bVar8) == bVar9) {
          arch->uses_64bit_indicies = 1;
          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);
          goto joined_r0x000674c2;
        }
        bVar8 = false;
        bVar10 = read_symbols == 0;
        if (!bVar10) {
          pcVar2 = (char *)dcgettext();
          printf(pcVar2);
          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;
          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;
        }
      }
      iVar3 = 0x10;
      pbVar7 = (byte *)"//              ";
      do {
        if (iVar3 == 0) break;
        iVar3 = iVar3 + -1;
        bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;
        bVar10 = __ptr->ar_name[0] == *pbVar7;
        __ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);
        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;
      } while (bVar10);
      if ((!bVar8 && !bVar10) != bVar8) {
        return 0;
      }
      cVar1 = (arch->arhdr).ar_fmag[0];
      (arch->arhdr).ar_fmag[0] = '\0';
      __size = strtoul((arch->arhdr).ar_size,(char **)0x0,10);
      arch->longnames_size = __size;
      (arch->arhdr).ar_fmag[0] = cVar1;
      if ((__size < 8) || ((int)__size < 0)) {
        pcVar2 = (char *)dcgettext();
        goto LAB_0006748d;
      }
      arch->next_arhdr_offset = __size + 0x3c + arch->next_arhdr_offset;
      pcVar2 = (char *)malloc(__size + 1);
      arch->longnames = pcVar2;
      if (pcVar2 == (char *)0x0) {
        pcVar2 = (char *)dcgettext();
        error(pcVar2);
        return 1;
      }
      sVar4 = fread(pcVar2,__size,1,(FILE *)file);
      if (sVar4 == 1) {
        uVar5 = arch->longnames_size;
        if ((uVar5 & 1) != 0) {
          getc((FILE *)file);
          uVar5 = arch->longnames_size;
        }
        arch->longnames[uVar5] = '\0';
        return 0;
      }
      free(arch->longnames);
      arch->longnames = (char *)0x0;
    }
    else if (sVar4 == 0) {
      return 0;
    }
  }
  pcVar2 = (char *)dcgettext();
LAB_0006748d:
  error(pcVar2);
  return 1;
}



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

undefined4
FUN_000672b0(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)

{
  undefined1 uVar1;
  char *pcVar2;
  int iVar3;
  size_t sVar4;
  ulong __size;
  void *__ptr;
  uint uVar5;
  byte *pbVar6;
  byte *__ptr_00;
  byte *pbVar7;
  bool bVar8;
  bool bVar9;
  bool bVar10;
  byte bVar11;
  
  bVar11 = 0;
  pcVar2 = strdup(param_2);
  param_1[2] = 0;
  *param_1 = pcVar2;
  param_1[3] = 0;
  param_1[1] = param_3;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  param_1[7] = 0;
  param_1[8] = 0;
  param_1[9] = 0;
  param_1[0xb] = param_4;
  param_1[0xc] = 0;
  param_1[10] = 8;
  iVar3 = fseek(param_3,8,0);
  if (iVar3 == 0) {
    __ptr_00 = (byte *)(param_1 + 0xd);
    sVar4 = fread(__ptr_00,1,0x3c,param_3);
    bVar8 = sVar4 < 0x3c;
    bVar10 = sVar4 == 0x3c;
    if (bVar10) {
      iVar3 = 0x10;
      pbVar6 = __ptr_00;
      pbVar7 = (byte *)"/               ";
      do {
        if (iVar3 == 0) break;
        iVar3 = iVar3 + -1;
        bVar8 = *pbVar6 < *pbVar7;
        bVar10 = *pbVar6 == *pbVar7;
        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;
        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;
      } while (bVar10);
      bVar9 = false;
      bVar8 = (!bVar8 && !bVar10) == bVar8;
      if (bVar8) {
        iVar3 = FUN_000669f0();
joined_r0x000674c2:
        bVar10 = iVar3 == 0;
        bVar8 = false;
        if (bVar10) {
          return 1;
        }
      }
      else {
        iVar3 = 0x10;
        pbVar6 = __ptr_00;
        pbVar7 = (byte *)"/SYM64/         ";
        do {
          if (iVar3 == 0) break;
          iVar3 = iVar3 + -1;
          bVar9 = *pbVar6 < *pbVar7;
          bVar8 = *pbVar6 == *pbVar7;
          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;
          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;
        } while (bVar8);
        if ((!bVar9 && !bVar8) == bVar9) {
          param_1[0xc] = 1;
          iVar3 = FUN_000669f0();
          goto joined_r0x000674c2;
        }
        bVar8 = false;
        bVar10 = param_5 == 0;
        if (!bVar10) {
          pcVar2 = (char *)dcgettext();
          printf(pcVar2);
          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;
          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;
        }
      }
      iVar3 = 0x10;
      pbVar6 = (byte *)"//              ";
      do {
        if (iVar3 == 0) break;
        iVar3 = iVar3 + -1;
        bVar8 = *__ptr_00 < *pbVar6;
        bVar10 = *__ptr_00 == *pbVar6;
        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;
        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;
      } while (bVar10);
      if ((!bVar8 && !bVar10) != bVar8) {
        return 0;
      }
      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);
      *(undefined1 *)((int)param_1 + 0x6e) = 0;
      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);
      param_1[8] = __size;
      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;
      if ((__size < 8) || ((int)__size < 0)) {
        dcgettext();
        goto LAB_0006748d;
      }
      param_1[10] = __size + 0x3c + param_1[10];
      __ptr = malloc(__size + 1);
      param_1[7] = __ptr;
      if (__ptr == (void *)0x0) {
        dcgettext();
        error();
        return 1;
      }
      sVar4 = fread(__ptr,__size,1,param_3);
      if (sVar4 == 1) {
        uVar5 = param_1[8];
        if ((uVar5 & 1) != 0) {
          getc(param_3);
          uVar5 = param_1[8];
        }
        *(undefined1 *)(param_1[7] + uVar5) = 0;
        return 0;
      }
      free((void *)param_1[7]);
      param_1[7] = 0;
    }
    else if (sVar4 == 0) {
      return 0;
    }
  }
  dcgettext();
LAB_0006748d:
  error();
  return 1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013f70
ADD EBX,0x4cd47
SUB ESP,0x28
MOV EBP,dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x40]
CALL 0x000130b0
MOV dword ptr [EBP + 0x8],0x0
MOV dword ptr [EBP],EAX
MOV EAX,dword ptr [ESP + 0x48]
MOV dword ptr [EBP + 0xc],0x0
MOV dword ptr [EBP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x4c]
ADD ESP,0xc
MOV dword ptr [EBP + 0x10],0x0
MOV dword ptr [EBP + 0x14],0x0
MOV dword ptr [EBP + 0x18],0x0
MOV dword ptr [EBP + 0x1c],0x0
MOV dword ptr [EBP + 0x20],0x0
MOV dword ptr [EBP + 0x24],0x0
MOV dword ptr [EBP + 0x2c],EAX
MOV dword ptr [EBP + 0x30],0x0
MOV dword ptr [EBP + 0x28],0x8
PUSH 0x0
PUSH 0x8
PUSH dword ptr [ESP + 0x44]
CALL 0x00013130
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00067478
LEA EAX,[EBP + 0x34]
MOV dword ptr [ESP + 0xc],EAX
PUSH dword ptr [ESP + 0x38]
PUSH 0x3c
PUSH 0x1
PUSH EAX
CALL 0x00013180
ADD ESP,0x10
CMP EAX,0x3c
JZ 0x00067380
TEST EAX,EAX
JNZ 0x000674d8
MOV EAX,dword ptr [ESP + 0x8]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,dword ptr [ESP + 0xc]
MOV ECX,0x10
LEA EDI,[EBX + 0xfffe1da4]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x000674b0
MOV ESI,dword ptr [ESP + 0xc]
MOV ECX,0x10
LEA EDI,[EBX + 0xfffe1db5]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x00067508
MOV ESI,dword ptr [ESP + 0x40]
TEST ESI,ESI
JNZ 0x00067530
MOV ESI,dword ptr [ESP + 0xc]
MOV ECX,0x10
LEA EDI,[EBX + 0xfffe1ddf]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x0006736a
SUB ESP,0x4
LEA EAX,[EBP + 0x64]
MOVZX ESI,byte ptr [EBP + 0x6e]
MOV byte ptr [EBP + 0x6e],0x0
PUSH 0xa
PUSH 0x0
PUSH EAX
CALL 0x00013230
ADD ESP,0x10
MOV EDI,EAX
MOV dword ptr [EBP + 0x20],EAX
MOV EAX,ESI
MOV byte ptr [EBP + 0x6e],AL
CMP EDI,0x7
JBE 0x000674e8
TEST EDI,EDI
JS 0x00067560
MOV EAX,dword ptr [EBP + 0x28]
SUB ESP,0xc
LEA EAX,[EDI + EAX*0x1 + 0x3c]
MOV dword ptr [EBP + 0x28],EAX
LEA EAX,[EDI + 0x1]
PUSH EAX
CALL 0x000131c0
ADD ESP,0x10
MOV dword ptr [EBP + 0x1c],EAX
TEST EAX,EAX
JZ 0x0006758f
PUSH dword ptr [ESP + 0x38]
PUSH 0x1
PUSH EDI
PUSH EAX
CALL 0x00013180
ADD ESP,0x10
CMP EAX,0x1
JNZ 0x0006756d
MOV EAX,dword ptr [EBP + 0x20]
TEST AL,0x1
JNZ 0x000675b2
MOV EDX,dword ptr [EBP + 0x1c]
MOV dword ptr [ESP + 0x8],0x0
MOV byte ptr [EDX + EAX*0x1],0x0
JMP 0x0006736a
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe214c]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
POP EDI
POP EBP
PUSH dword ptr [ESP + 0x3c]
PUSH EAX
CALL 0x00066870
ADD ESP,0x10
MOV dword ptr [ESP + 0x8],0x1
MOV EAX,dword ptr [ESP + 0x8]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [ESP + 0x40]
MOV EDX,0x4
MOV EAX,EBP
CALL 0x000669f0
TEST EAX,EAX
JNZ 0x000673c8
MOV dword ptr [ESP + 0x8],0x1
JMP 0x0006736a
SUB ESP,0x4
LEA EAX,[EBX + 0xfffd24c4]
PUSH 0x5
JMP 0x00067483
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe2178]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
ADD ESP,0xc
PUSH EDI
JMP 0x0006748d
MOV dword ptr [EBP + 0x30],0x1
MOV ECX,dword ptr [ESP + 0x40]
MOV EDX,0x8
MOV EAX,EBP
CALL 0x000669f0
TEST EAX,EAX
JNZ 0x000673c8
JMP 0x000674c8
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe1dc6]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
POP EDX
POP ECX
PUSH dword ptr [ESP + 0x3c]
PUSH EAX
CALL 0x00013060
ADD ESP,0x10
JMP 0x000673c8
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe21a8]
PUSH 0x5
JMP 0x000674f3
SUB ESP,0xc
PUSH dword ptr [EBP + 0x1c]
CALL 0x000130a0
ADD ESP,0xc
MOV dword ptr [EBP + 0x1c],0x0
LEA EAX,[EBX + 0xfffe220c]
PUSH 0x5
JMP 0x00067483
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe21d8]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
MOV dword ptr [ESP],EAX
CALL 0x00066870
ADD ESP,0x10
JMP 0x000674c8
SUB ESP,0xc
PUSH dword ptr [ESP + 0x44]
CALL 0x000133e0
MOV EAX,dword ptr [EBP + 0x20]
ADD ESP,0x10
JMP 0x00067460
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4\nFUN_000672b0(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)\n\n{\n  undefined1 uVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  void *__ptr;\n  uint uVar5;\n  byte *pbVar6;\n  byte *__ptr_00;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(param_2);\n  param_1[2] = 0;\n  *param_1 = pcVar2;\n  param_1[3] = 0;\n  param_1[1] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[0xb] = param_4;\n  param_1[0xc] = 0;\n  param_1[10] = 8;\n  iVar3 = fseek(param_3,8,0);\n  if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }\n  dcgettext();\nLAB_0006748d:\n  error();\n  return 1;\n}\n\n" comment (function_definition "undefined4\nFUN_000672b0(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)\n\n{\n  undefined1 uVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  void *__ptr;\n  uint uVar5;\n  byte *pbVar6;\n  byte *__ptr_00;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(param_2);\n  param_1[2] = 0;\n  *param_1 = pcVar2;\n  param_1[3] = 0;\n  param_1[1] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[0xb] = param_4;\n  param_1[0xc] = 0;\n  param_1[10] = 8;\n  iVar3 = fseek(param_3,8,0);\n  if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }\n  dcgettext();\nLAB_0006748d:\n  error();\n  return 1;\n}" type_identifier (function_declarator "FUN_000672b0(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)" identifier (parameter_list "(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "FILE *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  void *__ptr;\n  uint uVar5;\n  byte *pbVar6;\n  byte *__ptr_00;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(param_2);\n  param_1[2] = 0;\n  *param_1 = pcVar2;\n  param_1[3] = 0;\n  param_1[1] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[0xb] = param_4;\n  param_1[0xc] = 0;\n  param_1[10] = 8;\n  iVar3 = fseek(param_3,8,0);\n  if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }\n  dcgettext();\nLAB_0006748d:\n  error();\n  return 1;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "ulong __size;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *__ptr_00;" type_identifier (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" identifier = number_literal) ;) (expression_statement "pcVar2 = strdup(param_2);" (assignment_expression "pcVar2 = strdup(param_2)" identifier = (call_expression "strdup(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = pcVar2;" (assignment_expression "*param_1 = pcVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = param_3;" (assignment_expression "param_1[1] = param_3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xb] = param_4;" (assignment_expression "param_1[0xb] = param_4" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[10] = 8;" (assignment_expression "param_1[10] = 8" (subscript_expression "param_1[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar3 = fseek(param_3,8,0);" (assignment_expression "iVar3 = fseek(param_3,8,0)" identifier = (call_expression "fseek(param_3,8,0)" identifier (argument_list "(param_3,8,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }" { (expression_statement "__ptr_00 = (byte *)(param_1 + 0xd);" (assignment_expression "__ptr_00 = (byte *)(param_1 + 0xd)" identifier = (cast_expression "(byte *)(param_1 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) )))) ;) (expression_statement "sVar4 = fread(__ptr_00,1,0x3c,param_3);" (assignment_expression "sVar4 = fread(__ptr_00,1,0x3c,param_3)" identifier = (call_expression "fread(__ptr_00,1,0x3c,param_3)" identifier (argument_list "(__ptr_00,1,0x3c,param_3)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "bVar8 = sVar4 < 0x3c;" (assignment_expression "bVar8 = sVar4 < 0x3c" identifier = (binary_expression "sVar4 < 0x3c" identifier < number_literal)) ;) (expression_statement "bVar10 = sVar4 == 0x3c;" (assignment_expression "bVar10 = sVar4 == 0x3c" identifier = (binary_expression "sVar4 == 0x3c" identifier == number_literal)) ;) (if_statement "if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }" { (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" identifier = number_literal) ;) (expression_statement "pbVar6 = __ptr_00;" (assignment_expression "pbVar6 = __ptr_00" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)"/               ";" (assignment_expression "pbVar7 = (byte *)"/               "" identifier = (cast_expression "(byte *)"/               "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""/               "" " string_content "))) ;) (do_statement "do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);" do (compound_statement "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar8 = *pbVar6 < *pbVar7;" (assignment_expression "bVar8 = *pbVar6 < *pbVar7" identifier = (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = *pbVar6 == *pbVar7;" (assignment_expression "bVar10 = *pbVar6 == *pbVar7" identifier = (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "bVar8 = (!bVar8 && !bVar10) == bVar8;" (assignment_expression "bVar8 = (!bVar8 && !bVar10) == bVar8" identifier = (binary_expression "(!bVar8 && !bVar10) == bVar8" (parenthesized_expression "(!bVar8 && !bVar10)" ( (binary_expression "!bVar8 && !bVar10" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }" { (expression_statement "iVar3 = FUN_000669f0();" (assignment_expression "iVar3 = FUN_000669f0()" identifier = (call_expression "FUN_000669f0()" identifier (argument_list "()" ( )))) ;) (labeled_statement "joined_r0x000674c2:\n        bVar10 = iVar3 == 0;" statement_identifier : (expression_statement "bVar10 = iVar3 == 0;" (assignment_expression "bVar10 = iVar3 == 0" identifier = (binary_expression "iVar3 == 0" identifier == number_literal)) ;)) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (if_statement "if (bVar10) {\n          return 1;\n        }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" else (compound_statement "{\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" { (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" identifier = number_literal) ;) (expression_statement "pbVar6 = __ptr_00;" (assignment_expression "pbVar6 = __ptr_00" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)"/SYM64/         ";" (assignment_expression "pbVar7 = (byte *)"/SYM64/         "" identifier = (cast_expression "(byte *)"/SYM64/         "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""/SYM64/         "" " string_content "))) ;) (do_statement "do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);" do (compound_statement "{\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar9 = *pbVar6 < *pbVar7;" (assignment_expression "bVar9 = *pbVar6 < *pbVar7" identifier = (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar8 = *pbVar6 == *pbVar7;" (assignment_expression "bVar8 = *pbVar6 == *pbVar7" identifier = (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar8)" ( identifier )) ;) (if_statement "if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }" if (parenthesized_expression "((!bVar9 && !bVar8) == bVar9)" ( (binary_expression "(!bVar9 && !bVar8) == bVar9" (parenthesized_expression "(!bVar9 && !bVar8)" ( (binary_expression "!bVar9 && !bVar8" (unary_expression "!bVar9" ! identifier) && (unary_expression "!bVar8" ! identifier)) )) == identifier) )) (compound_statement "{\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }" { (expression_statement "param_1[0xc] = 1;" (assignment_expression "param_1[0xc] = 1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar3 = FUN_000669f0();" (assignment_expression "iVar3 = FUN_000669f0()" identifier = (call_expression "FUN_000669f0()" identifier (argument_list "()" ( )))) ;) (goto_statement "goto joined_r0x000674c2;" goto statement_identifier ;) })) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "bVar10 = param_5 == 0;" (assignment_expression "bVar10 = param_5 == 0" identifier = (binary_expression "param_5 == 0" identifier == number_literal)) ;) (if_statement "if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }" if (parenthesized_expression "(!bVar10)" ( (unary_expression "!bVar10" ! identifier) )) (compound_statement "{\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }" { (expression_statement "pcVar2 = (char *)dcgettext();" (assignment_expression "pcVar2 = (char *)dcgettext()" identifier = (cast_expression "(char *)dcgettext()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext()" identifier (argument_list "()" ( ))))) ;) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;" (assignment_expression "bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4" identifier = (binary_expression "(undefined1 *)0xffffffef < &stack0xffffffc4" (cast_expression "(undefined1 *)0xffffffef" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (pointer_expression "&stack0xffffffc4" & identifier))) ;) (expression_statement "bVar10 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar10 = &stack0x00000000 == (undefined1 *)0x2c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x2c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) })) }))) (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" identifier = number_literal) ;) (expression_statement "pbVar6 = (byte *)"//              ";" (assignment_expression "pbVar6 = (byte *)"//              "" identifier = (cast_expression "(byte *)"//              "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""//              "" " string_content "))) ;) (do_statement "do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);" do (compound_statement "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar8 = *__ptr_00 < *pbVar6;" (assignment_expression "bVar8 = *__ptr_00 < *pbVar6" identifier = (binary_expression "*__ptr_00 < *pbVar6" (pointer_expression "*__ptr_00" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar10 = *__ptr_00 == *pbVar6;" (assignment_expression "bVar10 = *__ptr_00 == *pbVar6" identifier = (binary_expression "*__ptr_00 == *pbVar6" (pointer_expression "*__ptr_00" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "__ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;" (assignment_expression "__ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "__ptr_00 + (uint)bVar11 * -2 + 1" (binary_expression "__ptr_00 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (if_statement "if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }" if (parenthesized_expression "((!bVar8 && !bVar10) != bVar8)" ( (binary_expression "(!bVar8 && !bVar10) != bVar8" (parenthesized_expression "(!bVar8 && !bVar10)" ( (binary_expression "!bVar8 && !bVar10" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) != identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = *(undefined1 *)((int)param_1 + 0x6e);" (assignment_expression "uVar1 = *(undefined1 *)((int)param_1 + 0x6e)" identifier = (pointer_expression "*(undefined1 *)((int)param_1 + 0x6e)" * (cast_expression "(undefined1 *)((int)param_1 + 0x6e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x6e)" ( (binary_expression "(int)param_1 + 0x6e" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x6e) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x6e) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x6e)" * (cast_expression "(undefined1 *)((int)param_1 + 0x6e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x6e)" ( (binary_expression "(int)param_1 + 0x6e" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "__size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);" (assignment_expression "__size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10)" identifier = (call_expression "strtoul((char *)(param_1 + 0x19),(char **)0x0,10)" identifier (argument_list "((char *)(param_1 + 0x19),(char **)0x0,10)" ( (cast_expression "(char *)(param_1 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x19)" ( (binary_expression "param_1 + 0x19" identifier + number_literal) ))) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "param_1[8] = __size;" (assignment_expression "param_1[8] = __size" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x6e) = uVar1;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x6e) = uVar1" (pointer_expression "*(undefined1 *)((int)param_1 + 0x6e)" * (cast_expression "(undefined1 *)((int)param_1 + 0x6e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x6e)" ( (binary_expression "(int)param_1 + 0x6e" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }" if (parenthesized_expression "((__size < 8) || ((int)__size < 0))" ( (binary_expression "(__size < 8) || ((int)__size < 0)" (parenthesized_expression "(__size < 8)" ( (binary_expression "__size < 8" identifier < number_literal) )) || (parenthesized_expression "((int)__size < 0)" ( (binary_expression "(int)__size < 0" (cast_expression "(int)__size" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ))) )) (compound_statement "{\n        dcgettext();\n        goto LAB_0006748d;\n      }" { (expression_statement "dcgettext();" (call_expression "dcgettext()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0006748d;" goto statement_identifier ;) })) (expression_statement "param_1[10] = __size + 0x3c + param_1[10];" (assignment_expression "param_1[10] = __size + 0x3c + param_1[10]" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (binary_expression "__size + 0x3c + param_1[10]" (binary_expression "__size + 0x3c" identifier + number_literal) + (subscript_expression "param_1[10]" identifier [ number_literal ]))) ;) (expression_statement "__ptr = malloc(__size + 1);" (assignment_expression "__ptr = malloc(__size + 1)" identifier = (call_expression "malloc(__size + 1)" identifier (argument_list "(__size + 1)" ( (binary_expression "__size + 1" identifier + number_literal) )))) ;) (expression_statement "param_1[7] = __ptr;" (assignment_expression "param_1[7] = __ptr" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }" if (parenthesized_expression "(__ptr == (void *)0x0)" ( (binary_expression "__ptr == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        dcgettext();\n        error();\n        return 1;\n      }" { (expression_statement "dcgettext();" (call_expression "dcgettext()" identifier (argument_list "()" ( ))) ;) (expression_statement "error();" (call_expression "error()" identifier (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "sVar4 = fread(__ptr,__size,1,param_3);" (assignment_expression "sVar4 = fread(__ptr,__size,1,param_3)" identifier = (call_expression "fread(__ptr,__size,1,param_3)" identifier (argument_list "(__ptr,__size,1,param_3)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }" if (parenthesized_expression "(sVar4 == 1)" ( (binary_expression "sVar4 == 1" identifier == number_literal) )) (compound_statement "{\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }" { (expression_statement "uVar5 = param_1[8];" (assignment_expression "uVar5 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (if_statement "if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }" if (parenthesized_expression "((uVar5 & 1) != 0)" ( (binary_expression "(uVar5 & 1) != 0" (parenthesized_expression "(uVar5 & 1)" ( (binary_expression "uVar5 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          getc(param_3);\n          uVar5 = param_1[8];\n        }" { (expression_statement "getc(param_3);" (call_expression "getc(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (expression_statement "uVar5 = param_1[8];" (assignment_expression "uVar5 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined1 *)(param_1[7] + uVar5) = 0;" (assignment_expression "*(undefined1 *)(param_1[7] + uVar5) = 0" (pointer_expression "*(undefined1 *)(param_1[7] + uVar5)" * (cast_expression "(undefined1 *)(param_1[7] + uVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[7] + uVar5)" ( (binary_expression "param_1[7] + uVar5" (subscript_expression "param_1[7]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "free((void *)param_1[7]);" (call_expression "free((void *)param_1[7])" identifier (argument_list "((void *)param_1[7])" ( (cast_expression "(void *)param_1[7]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) ))) ;) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (sVar4 == 0) {\n      return 0;\n    }" else (if_statement "if (sVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(sVar4 == 0)" ( (binary_expression "sVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })))) })) (expression_statement "dcgettext();" (call_expression "dcgettext()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_0006748d:\n  error();" statement_identifier : (expression_statement "error();" (call_expression "error()" identifier (argument_list "()" ( ))) ;)) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Type propagation algorithm not settling */\n/* WARNING: Unknown calling convention */\n\nint setup_archive(archive_info *arch,char *file_name,FILE *file,bfd_boolean is_thin_archive,\n                 bfd_boolean read_symbols)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  uint uVar5;\n  ar_hdr *paVar6;\n  ar_hdr *__ptr;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(file_name);\n  *(undefined4 *)&arch->index_num = 0;\n  arch->file_name = pcVar2;\n  *(undefined4 *)((int)&arch->index_num + 4) = 0;\n  arch->file = file;\n  arch->index_array = (elf_vma *)0x0;\n  arch->sym_table = (char *)0x0;\n  arch->sym_size = 0;\n  arch->longnames = (char *)0x0;\n  arch->longnames_size = 0;\n  arch->nested_member_origin = 0;\n  arch->is_thin_archive = is_thin_archive;\n  arch->uses_64bit_indicies = 0;\n  arch->next_arhdr_offset = 8;\n  iVar3 = fseek((FILE *)file,8,0);\n  if (iVar3 == 0) {\n    __ptr = &arch->arhdr;\n    sVar4 = fread(__ptr,1,0x3c,(FILE *)file);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      paVar6 = __ptr;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;\n        bVar10 = paVar6->ar_name[0] == *pbVar7;\n        paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        paVar6 = __ptr;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = read_symbols == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar7 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;\n        bVar10 = __ptr->ar_name[0] == *pbVar7;\n        __ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      cVar1 = (arch->arhdr).ar_fmag[0];\n      (arch->arhdr).ar_fmag[0] = '\0';\n      __size = strtoul((arch->arhdr).ar_size,(char **)0x0,10);\n      arch->longnames_size = __size;\n      (arch->arhdr).ar_fmag[0] = cVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        pcVar2 = (char *)dcgettext();\n        goto LAB_0006748d;\n      }\n      arch->next_arhdr_offset = __size + 0x3c + arch->next_arhdr_offset;\n      pcVar2 = (char *)malloc(__size + 1);\n      arch->longnames = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        pcVar2 = (char *)dcgettext();\n        error(pcVar2);\n        return 1;\n      }\n      sVar4 = fread(pcVar2,__size,1,(FILE *)file);\n      if (sVar4 == 1) {\n        uVar5 = arch->longnames_size;\n        if ((uVar5 & 1) != 0) {\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }\n        arch->longnames[uVar5] = '\0';\n        return 0;\n      }\n      free(arch->longnames);\n      arch->longnames = (char *)0x0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }\n  pcVar2 = (char *)dcgettext();\nLAB_0006748d:\n  error(pcVar2);\n  return 1;\n}\n\n" comment comment comment (function_definition "int setup_archive(archive_info *arch,char *file_name,FILE *file,bfd_boolean is_thin_archive,\n                 bfd_boolean read_symbols)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  uint uVar5;\n  ar_hdr *paVar6;\n  ar_hdr *__ptr;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(file_name);\n  *(undefined4 *)&arch->index_num = 0;\n  arch->file_name = pcVar2;\n  *(undefined4 *)((int)&arch->index_num + 4) = 0;\n  arch->file = file;\n  arch->index_array = (elf_vma *)0x0;\n  arch->sym_table = (char *)0x0;\n  arch->sym_size = 0;\n  arch->longnames = (char *)0x0;\n  arch->longnames_size = 0;\n  arch->nested_member_origin = 0;\n  arch->is_thin_archive = is_thin_archive;\n  arch->uses_64bit_indicies = 0;\n  arch->next_arhdr_offset = 8;\n  iVar3 = fseek((FILE *)file,8,0);\n  if (iVar3 == 0) {\n    __ptr = &arch->arhdr;\n    sVar4 = fread(__ptr,1,0x3c,(FILE *)file);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      paVar6 = __ptr;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;\n        bVar10 = paVar6->ar_name[0] == *pbVar7;\n        paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        paVar6 = __ptr;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = read_symbols == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar7 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;\n        bVar10 = __ptr->ar_name[0] == *pbVar7;\n        __ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      cVar1 = (arch->arhdr).ar_fmag[0];\n      (arch->arhdr).ar_fmag[0] = '\0';\n      __size = strtoul((arch->arhdr).ar_size,(char **)0x0,10);\n      arch->longnames_size = __size;\n      (arch->arhdr).ar_fmag[0] = cVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        pcVar2 = (char *)dcgettext();\n        goto LAB_0006748d;\n      }\n      arch->next_arhdr_offset = __size + 0x3c + arch->next_arhdr_offset;\n      pcVar2 = (char *)malloc(__size + 1);\n      arch->longnames = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        pcVar2 = (char *)dcgettext();\n        error(pcVar2);\n        return 1;\n      }\n      sVar4 = fread(pcVar2,__size,1,(FILE *)file);\n      if (sVar4 == 1) {\n        uVar5 = arch->longnames_size;\n        if ((uVar5 & 1) != 0) {\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }\n        arch->longnames[uVar5] = '\0';\n        return 0;\n      }\n      free(arch->longnames);\n      arch->longnames = (char *)0x0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }\n  pcVar2 = (char *)dcgettext();\nLAB_0006748d:\n  error(pcVar2);\n  return 1;\n}" primitive_type (function_declarator "setup_archive(archive_info *arch,char *file_name,FILE *file,bfd_boolean is_thin_archive,\n                 bfd_boolean read_symbols)" identifier (parameter_list "(archive_info *arch,char *file_name,FILE *file,bfd_boolean is_thin_archive,\n                 bfd_boolean read_symbols)" ( (parameter_declaration "archive_info *arch" type_identifier (pointer_declarator "*arch" * identifier)) , (parameter_declaration "char *file_name" primitive_type (pointer_declarator "*file_name" * identifier)) , (parameter_declaration "FILE *file" type_identifier (pointer_declarator "*file" * identifier)) , (parameter_declaration "bfd_boolean is_thin_archive" type_identifier identifier) , (parameter_declaration "bfd_boolean read_symbols" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  uint uVar5;\n  ar_hdr *paVar6;\n  ar_hdr *__ptr;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(file_name);\n  *(undefined4 *)&arch->index_num = 0;\n  arch->file_name = pcVar2;\n  *(undefined4 *)((int)&arch->index_num + 4) = 0;\n  arch->file = file;\n  arch->index_array = (elf_vma *)0x0;\n  arch->sym_table = (char *)0x0;\n  arch->sym_size = 0;\n  arch->longnames = (char *)0x0;\n  arch->longnames_size = 0;\n  arch->nested_member_origin = 0;\n  arch->is_thin_archive = is_thin_archive;\n  arch->uses_64bit_indicies = 0;\n  arch->next_arhdr_offset = 8;\n  iVar3 = fseek((FILE *)file,8,0);\n  if (iVar3 == 0) {\n    __ptr = &arch->arhdr;\n    sVar4 = fread(__ptr,1,0x3c,(FILE *)file);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      paVar6 = __ptr;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;\n        bVar10 = paVar6->ar_name[0] == *pbVar7;\n        paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        paVar6 = __ptr;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = read_symbols == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar7 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;\n        bVar10 = __ptr->ar_name[0] == *pbVar7;\n        __ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      cVar1 = (arch->arhdr).ar_fmag[0];\n      (arch->arhdr).ar_fmag[0] = '\0';\n      __size = strtoul((arch->arhdr).ar_size,(char **)0x0,10);\n      arch->longnames_size = __size;\n      (arch->arhdr).ar_fmag[0] = cVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        pcVar2 = (char *)dcgettext();\n        goto LAB_0006748d;\n      }\n      arch->next_arhdr_offset = __size + 0x3c + arch->next_arhdr_offset;\n      pcVar2 = (char *)malloc(__size + 1);\n      arch->longnames = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        pcVar2 = (char *)dcgettext();\n        error(pcVar2);\n        return 1;\n      }\n      sVar4 = fread(pcVar2,__size,1,(FILE *)file);\n      if (sVar4 == 1) {\n        uVar5 = arch->longnames_size;\n        if ((uVar5 & 1) != 0) {\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }\n        arch->longnames[uVar5] = '\0';\n        return 0;\n      }\n      free(arch->longnames);\n      arch->longnames = (char *)0x0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }\n  pcVar2 = (char *)dcgettext();\nLAB_0006748d:\n  error(pcVar2);\n  return 1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "ulong __size;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "ar_hdr *paVar6;" type_identifier (pointer_declarator "*paVar6" * identifier) ;) (declaration "ar_hdr *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" identifier = number_literal) ;) (expression_statement "pcVar2 = strdup(file_name);" (assignment_expression "pcVar2 = strdup(file_name)" identifier = (call_expression "strdup(file_name)" identifier (argument_list "(file_name)" ( identifier )))) ;) (expression_statement "*(undefined4 *)&arch->index_num = 0;" (assignment_expression "*(undefined4 *)&arch->index_num = 0" (pointer_expression "*(undefined4 *)&arch->index_num" * (cast_expression "(undefined4 *)&arch->index_num" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&arch->index_num" & (field_expression "arch->index_num" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "arch->file_name = pcVar2;" (assignment_expression "arch->file_name = pcVar2" (field_expression "arch->file_name" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)((int)&arch->index_num + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&arch->index_num + 4) = 0" (pointer_expression "*(undefined4 *)((int)&arch->index_num + 4)" * (cast_expression "(undefined4 *)((int)&arch->index_num + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&arch->index_num + 4)" ( (binary_expression "(int)&arch->index_num + 4" (cast_expression "(int)&arch->index_num" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&arch->index_num" & (field_expression "arch->index_num" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "arch->file = file;" (assignment_expression "arch->file = file" (field_expression "arch->file" identifier -> field_identifier) = identifier) ;) (expression_statement "arch->index_array = (elf_vma *)0x0;" (assignment_expression "arch->index_array = (elf_vma *)0x0" (field_expression "arch->index_array" identifier -> field_identifier) = (cast_expression "(elf_vma *)0x0" ( (type_descriptor "elf_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "arch->sym_table = (char *)0x0;" (assignment_expression "arch->sym_table = (char *)0x0" (field_expression "arch->sym_table" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "arch->sym_size = 0;" (assignment_expression "arch->sym_size = 0" (field_expression "arch->sym_size" identifier -> field_identifier) = number_literal) ;) (expression_statement "arch->longnames = (char *)0x0;" (assignment_expression "arch->longnames = (char *)0x0" (field_expression "arch->longnames" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "arch->longnames_size = 0;" (assignment_expression "arch->longnames_size = 0" (field_expression "arch->longnames_size" identifier -> field_identifier) = number_literal) ;) (expression_statement "arch->nested_member_origin = 0;" (assignment_expression "arch->nested_member_origin = 0" (field_expression "arch->nested_member_origin" identifier -> field_identifier) = number_literal) ;) (expression_statement "arch->is_thin_archive = is_thin_archive;" (assignment_expression "arch->is_thin_archive = is_thin_archive" (field_expression "arch->is_thin_archive" identifier -> field_identifier) = identifier) ;) (expression_statement "arch->uses_64bit_indicies = 0;" (assignment_expression "arch->uses_64bit_indicies = 0" (field_expression "arch->uses_64bit_indicies" identifier -> field_identifier) = number_literal) ;) (expression_statement "arch->next_arhdr_offset = 8;" (assignment_expression "arch->next_arhdr_offset = 8" (field_expression "arch->next_arhdr_offset" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar3 = fseek((FILE *)file,8,0);" (assignment_expression "iVar3 = fseek((FILE *)file,8,0)" identifier = (call_expression "fseek((FILE *)file,8,0)" identifier (argument_list "((FILE *)file,8,0)" ( (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    __ptr = &arch->arhdr;\n    sVar4 = fread(__ptr,1,0x3c,(FILE *)file);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      paVar6 = __ptr;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;\n        bVar10 = paVar6->ar_name[0] == *pbVar7;\n        paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        paVar6 = __ptr;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = read_symbols == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar7 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;\n        bVar10 = __ptr->ar_name[0] == *pbVar7;\n        __ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      cVar1 = (arch->arhdr).ar_fmag[0];\n      (arch->arhdr).ar_fmag[0] = '\0';\n      __size = strtoul((arch->arhdr).ar_size,(char **)0x0,10);\n      arch->longnames_size = __size;\n      (arch->arhdr).ar_fmag[0] = cVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        pcVar2 = (char *)dcgettext();\n        goto LAB_0006748d;\n      }\n      arch->next_arhdr_offset = __size + 0x3c + arch->next_arhdr_offset;\n      pcVar2 = (char *)malloc(__size + 1);\n      arch->longnames = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        pcVar2 = (char *)dcgettext();\n        error(pcVar2);\n        return 1;\n      }\n      sVar4 = fread(pcVar2,__size,1,(FILE *)file);\n      if (sVar4 == 1) {\n        uVar5 = arch->longnames_size;\n        if ((uVar5 & 1) != 0) {\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }\n        arch->longnames[uVar5] = '\0';\n        return 0;\n      }\n      free(arch->longnames);\n      arch->longnames = (char *)0x0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    __ptr = &arch->arhdr;\n    sVar4 = fread(__ptr,1,0x3c,(FILE *)file);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      paVar6 = __ptr;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;\n        bVar10 = paVar6->ar_name[0] == *pbVar7;\n        paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        paVar6 = __ptr;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = read_symbols == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar7 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;\n        bVar10 = __ptr->ar_name[0] == *pbVar7;\n        __ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      cVar1 = (arch->arhdr).ar_fmag[0];\n      (arch->arhdr).ar_fmag[0] = '\0';\n      __size = strtoul((arch->arhdr).ar_size,(char **)0x0,10);\n      arch->longnames_size = __size;\n      (arch->arhdr).ar_fmag[0] = cVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        pcVar2 = (char *)dcgettext();\n        goto LAB_0006748d;\n      }\n      arch->next_arhdr_offset = __size + 0x3c + arch->next_arhdr_offset;\n      pcVar2 = (char *)malloc(__size + 1);\n      arch->longnames = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        pcVar2 = (char *)dcgettext();\n        error(pcVar2);\n        return 1;\n      }\n      sVar4 = fread(pcVar2,__size,1,(FILE *)file);\n      if (sVar4 == 1) {\n        uVar5 = arch->longnames_size;\n        if ((uVar5 & 1) != 0) {\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }\n        arch->longnames[uVar5] = '\0';\n        return 0;\n      }\n      free(arch->longnames);\n      arch->longnames = (char *)0x0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }" { (expression_statement "__ptr = &arch->arhdr;" (assignment_expression "__ptr = &arch->arhdr" identifier = (pointer_expression "&arch->arhdr" & (field_expression "arch->arhdr" identifier -> field_identifier))) ;) (expression_statement "sVar4 = fread(__ptr,1,0x3c,(FILE *)file);" (assignment_expression "sVar4 = fread(__ptr,1,0x3c,(FILE *)file)" identifier = (call_expression "fread(__ptr,1,0x3c,(FILE *)file)" identifier (argument_list "(__ptr,1,0x3c,(FILE *)file)" ( identifier , number_literal , number_literal , (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "bVar8 = sVar4 < 0x3c;" (assignment_expression "bVar8 = sVar4 < 0x3c" identifier = (binary_expression "sVar4 < 0x3c" identifier < number_literal)) ;) (expression_statement "bVar10 = sVar4 == 0x3c;" (assignment_expression "bVar10 = sVar4 == 0x3c" identifier = (binary_expression "sVar4 == 0x3c" identifier == number_literal)) ;) (if_statement "if (bVar10) {\n      iVar3 = 0x10;\n      paVar6 = __ptr;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;\n        bVar10 = paVar6->ar_name[0] == *pbVar7;\n        paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        paVar6 = __ptr;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = read_symbols == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar7 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;\n        bVar10 = __ptr->ar_name[0] == *pbVar7;\n        __ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      cVar1 = (arch->arhdr).ar_fmag[0];\n      (arch->arhdr).ar_fmag[0] = '\0';\n      __size = strtoul((arch->arhdr).ar_size,(char **)0x0,10);\n      arch->longnames_size = __size;\n      (arch->arhdr).ar_fmag[0] = cVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        pcVar2 = (char *)dcgettext();\n        goto LAB_0006748d;\n      }\n      arch->next_arhdr_offset = __size + 0x3c + arch->next_arhdr_offset;\n      pcVar2 = (char *)malloc(__size + 1);\n      arch->longnames = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        pcVar2 = (char *)dcgettext();\n        error(pcVar2);\n        return 1;\n      }\n      sVar4 = fread(pcVar2,__size,1,(FILE *)file);\n      if (sVar4 == 1) {\n        uVar5 = arch->longnames_size;\n        if ((uVar5 & 1) != 0) {\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }\n        arch->longnames[uVar5] = '\0';\n        return 0;\n      }\n      free(arch->longnames);\n      arch->longnames = (char *)0x0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n      iVar3 = 0x10;\n      paVar6 = __ptr;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;\n        bVar10 = paVar6->ar_name[0] == *pbVar7;\n        paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        paVar6 = __ptr;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = read_symbols == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar7 = (byte *)"//              ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;\n        bVar10 = __ptr->ar_name[0] == *pbVar7;\n        __ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      cVar1 = (arch->arhdr).ar_fmag[0];\n      (arch->arhdr).ar_fmag[0] = '\0';\n      __size = strtoul((arch->arhdr).ar_size,(char **)0x0,10);\n      arch->longnames_size = __size;\n      (arch->arhdr).ar_fmag[0] = cVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        pcVar2 = (char *)dcgettext();\n        goto LAB_0006748d;\n      }\n      arch->next_arhdr_offset = __size + 0x3c + arch->next_arhdr_offset;\n      pcVar2 = (char *)malloc(__size + 1);\n      arch->longnames = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        pcVar2 = (char *)dcgettext();\n        error(pcVar2);\n        return 1;\n      }\n      sVar4 = fread(pcVar2,__size,1,(FILE *)file);\n      if (sVar4 == 1) {\n        uVar5 = arch->longnames_size;\n        if ((uVar5 & 1) != 0) {\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }\n        arch->longnames[uVar5] = '\0';\n        return 0;\n      }\n      free(arch->longnames);\n      arch->longnames = (char *)0x0;\n    }" { (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" identifier = number_literal) ;) (expression_statement "paVar6 = __ptr;" (assignment_expression "paVar6 = __ptr" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)"/               ";" (assignment_expression "pbVar7 = (byte *)"/               "" identifier = (cast_expression "(byte *)"/               "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""/               "" " string_content "))) ;) (do_statement "do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;\n        bVar10 = paVar6->ar_name[0] == *pbVar7;\n        paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);" do (compound_statement "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;\n        bVar10 = paVar6->ar_name[0] == *pbVar7;\n        paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar8 = (byte)paVar6->ar_name[0] < *pbVar7;" (assignment_expression "bVar8 = (byte)paVar6->ar_name[0] < *pbVar7" identifier = (binary_expression "(byte)paVar6->ar_name[0] < *pbVar7" (cast_expression "(byte)paVar6->ar_name[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "paVar6->ar_name[0]" (field_expression "paVar6->ar_name" identifier -> field_identifier) [ number_literal ])) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = paVar6->ar_name[0] == *pbVar7;" (assignment_expression "bVar10 = paVar6->ar_name[0] == *pbVar7" identifier = (binary_expression "paVar6->ar_name[0] == *pbVar7" (subscript_expression "paVar6->ar_name[0]" (field_expression "paVar6->ar_name" identifier -> field_identifier) [ number_literal ]) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);" (assignment_expression "paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1)" identifier = (cast_expression "(ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1)" ( (type_descriptor "ar_hdr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)paVar6 + (uint)bVar11 * -2 + 1)" ( (binary_expression "(int)paVar6 + (uint)bVar11 * -2 + 1" (binary_expression "(int)paVar6 + (uint)bVar11 * -2" (cast_expression "(int)paVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "bVar8 = (!bVar8 && !bVar10) == bVar8;" (assignment_expression "bVar8 = (!bVar8 && !bVar10) == bVar8" identifier = (binary_expression "(!bVar8 && !bVar10) == bVar8" (parenthesized_expression "(!bVar8 && !bVar10)" ( (binary_expression "!bVar8 && !bVar10" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar8) {\n        iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        paVar6 = __ptr;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = read_symbols == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n        iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }" { (expression_statement "iVar3 = process_archive_index_and_symbols(arch,4,read_symbols);" (assignment_expression "iVar3 = process_archive_index_and_symbols(arch,4,read_symbols)" identifier = (call_expression "process_archive_index_and_symbols(arch,4,read_symbols)" identifier (argument_list "(arch,4,read_symbols)" ( identifier , number_literal , identifier )))) ;) (labeled_statement "joined_r0x000674c2:\n        bVar10 = iVar3 == 0;" statement_identifier : (expression_statement "bVar10 = iVar3 == 0;" (assignment_expression "bVar10 = iVar3 == 0" identifier = (binary_expression "iVar3 == 0" identifier == number_literal)) ;)) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (if_statement "if (bVar10) {\n          return 1;\n        }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n        iVar3 = 0x10;\n        paVar6 = __ptr;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = read_symbols == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" else (compound_statement "{\n        iVar3 = 0x10;\n        paVar6 = __ptr;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = read_symbols == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" { (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" identifier = number_literal) ;) (expression_statement "paVar6 = __ptr;" (assignment_expression "paVar6 = __ptr" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)"/SYM64/         ";" (assignment_expression "pbVar7 = (byte *)"/SYM64/         "" identifier = (cast_expression "(byte *)"/SYM64/         "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""/SYM64/         "" " string_content "))) ;) (do_statement "do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);" do (compound_statement "{\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;\n          bVar8 = paVar6->ar_name[0] == *pbVar7;\n          paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar9 = (byte)paVar6->ar_name[0] < *pbVar7;" (assignment_expression "bVar9 = (byte)paVar6->ar_name[0] < *pbVar7" identifier = (binary_expression "(byte)paVar6->ar_name[0] < *pbVar7" (cast_expression "(byte)paVar6->ar_name[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "paVar6->ar_name[0]" (field_expression "paVar6->ar_name" identifier -> field_identifier) [ number_literal ])) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar8 = paVar6->ar_name[0] == *pbVar7;" (assignment_expression "bVar8 = paVar6->ar_name[0] == *pbVar7" identifier = (binary_expression "paVar6->ar_name[0] == *pbVar7" (subscript_expression "paVar6->ar_name[0]" (field_expression "paVar6->ar_name" identifier -> field_identifier) [ number_literal ]) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1);" (assignment_expression "paVar6 = (ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1)" identifier = (cast_expression "(ar_hdr *)((int)paVar6 + (uint)bVar11 * -2 + 1)" ( (type_descriptor "ar_hdr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)paVar6 + (uint)bVar11 * -2 + 1)" ( (binary_expression "(int)paVar6 + (uint)bVar11 * -2 + 1" (binary_expression "(int)paVar6 + (uint)bVar11 * -2" (cast_expression "(int)paVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar8)" ( identifier )) ;) (if_statement "if ((!bVar9 && !bVar8) == bVar9) {\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }" if (parenthesized_expression "((!bVar9 && !bVar8) == bVar9)" ( (binary_expression "(!bVar9 && !bVar8) == bVar9" (parenthesized_expression "(!bVar9 && !bVar8)" ( (binary_expression "!bVar9 && !bVar8" (unary_expression "!bVar9" ! identifier) && (unary_expression "!bVar8" ! identifier)) )) == identifier) )) (compound_statement "{\n          arch->uses_64bit_indicies = 1;\n          iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);\n          goto joined_r0x000674c2;\n        }" { (expression_statement "arch->uses_64bit_indicies = 1;" (assignment_expression "arch->uses_64bit_indicies = 1" (field_expression "arch->uses_64bit_indicies" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar3 = process_archive_index_and_symbols(arch,8,read_symbols);" (assignment_expression "iVar3 = process_archive_index_and_symbols(arch,8,read_symbols)" identifier = (call_expression "process_archive_index_and_symbols(arch,8,read_symbols)" identifier (argument_list "(arch,8,read_symbols)" ( identifier , number_literal , identifier )))) ;) (goto_statement "goto joined_r0x000674c2;" goto statement_identifier ;) })) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "bVar10 = read_symbols == 0;" (assignment_expression "bVar10 = read_symbols == 0" identifier = (binary_expression "read_symbols == 0" identifier == number_literal)) ;) (if_statement "if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }" if (parenthesized_expression "(!bVar10)" ( (unary_expression "!bVar10" ! identifier) )) (compound_statement "{\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }" { (expression_statement "pcVar2 = (char *)dcgettext();" (assignment_expression "pcVar2 = (char *)dcgettext()" identifier = (cast_expression "(char *)dcgettext()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext()" identifier (argument_list "()" ( ))))) ;) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;" (assignment_expression "bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4" identifier = (binary_expression "(undefined1 *)0xffffffef < &stack0xffffffc4" (cast_expression "(undefined1 *)0xffffffef" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (pointer_expression "&stack0xffffffc4" & identifier))) ;) (expression_statement "bVar10 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar10 = &stack0x00000000 == (undefined1 *)0x2c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x2c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) })) }))) (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" identifier = number_literal) ;) (expression_statement "pbVar7 = (byte *)"//              ";" (assignment_expression "pbVar7 = (byte *)"//              "" identifier = (cast_expression "(byte *)"//              "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""//              "" " string_content "))) ;) (do_statement "do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;\n        bVar10 = __ptr->ar_name[0] == *pbVar7;\n        __ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);" do (compound_statement "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;\n        bVar10 = __ptr->ar_name[0] == *pbVar7;\n        __ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar8 = (byte)__ptr->ar_name[0] < *pbVar7;" (assignment_expression "bVar8 = (byte)__ptr->ar_name[0] < *pbVar7" identifier = (binary_expression "(byte)__ptr->ar_name[0] < *pbVar7" (cast_expression "(byte)__ptr->ar_name[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "__ptr->ar_name[0]" (field_expression "__ptr->ar_name" identifier -> field_identifier) [ number_literal ])) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = __ptr->ar_name[0] == *pbVar7;" (assignment_expression "bVar10 = __ptr->ar_name[0] == *pbVar7" identifier = (binary_expression "__ptr->ar_name[0] == *pbVar7" (subscript_expression "__ptr->ar_name[0]" (field_expression "__ptr->ar_name" identifier -> field_identifier) [ number_literal ]) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "__ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1);" (assignment_expression "__ptr = (ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1)" identifier = (cast_expression "(ar_hdr *)((int)__ptr + (uint)bVar11 * -2 + 1)" ( (type_descriptor "ar_hdr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr + (uint)bVar11 * -2 + 1)" ( (binary_expression "(int)__ptr + (uint)bVar11 * -2 + 1" (binary_expression "(int)__ptr + (uint)bVar11 * -2" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (if_statement "if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }" if (parenthesized_expression "((!bVar8 && !bVar10) != bVar8)" ( (binary_expression "(!bVar8 && !bVar10) != bVar8" (parenthesized_expression "(!bVar8 && !bVar10)" ( (binary_expression "!bVar8 && !bVar10" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) != identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "cVar1 = (arch->arhdr).ar_fmag[0];" (assignment_expression "cVar1 = (arch->arhdr).ar_fmag[0]" identifier = (subscript_expression "(arch->arhdr).ar_fmag[0]" (field_expression "(arch->arhdr).ar_fmag" (parenthesized_expression "(arch->arhdr)" ( (field_expression "arch->arhdr" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) ;) (expression_statement "(arch->arhdr).ar_fmag[0] = '\0';" (assignment_expression "(arch->arhdr).ar_fmag[0] = '\0'" (subscript_expression "(arch->arhdr).ar_fmag[0]" (field_expression "(arch->arhdr).ar_fmag" (parenthesized_expression "(arch->arhdr)" ( (field_expression "arch->arhdr" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "__size = strtoul((arch->arhdr).ar_size,(char **)0x0,10);" (assignment_expression "__size = strtoul((arch->arhdr).ar_size,(char **)0x0,10)" identifier = (call_expression "strtoul((arch->arhdr).ar_size,(char **)0x0,10)" identifier (argument_list "((arch->arhdr).ar_size,(char **)0x0,10)" ( (field_expression "(arch->arhdr).ar_size" (parenthesized_expression "(arch->arhdr)" ( (field_expression "arch->arhdr" identifier -> field_identifier) )) . field_identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "arch->longnames_size = __size;" (assignment_expression "arch->longnames_size = __size" (field_expression "arch->longnames_size" identifier -> field_identifier) = identifier) ;) (expression_statement "(arch->arhdr).ar_fmag[0] = cVar1;" (assignment_expression "(arch->arhdr).ar_fmag[0] = cVar1" (subscript_expression "(arch->arhdr).ar_fmag[0]" (field_expression "(arch->arhdr).ar_fmag" (parenthesized_expression "(arch->arhdr)" ( (field_expression "arch->arhdr" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = identifier) ;) (if_statement "if ((__size < 8) || ((int)__size < 0)) {\n        pcVar2 = (char *)dcgettext();\n        goto LAB_0006748d;\n      }" if (parenthesized_expression "((__size < 8) || ((int)__size < 0))" ( (binary_expression "(__size < 8) || ((int)__size < 0)" (parenthesized_expression "(__size < 8)" ( (binary_expression "__size < 8" identifier < number_literal) )) || (parenthesized_expression "((int)__size < 0)" ( (binary_expression "(int)__size < 0" (cast_expression "(int)__size" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ))) )) (compound_statement "{\n        pcVar2 = (char *)dcgettext();\n        goto LAB_0006748d;\n      }" { (expression_statement "pcVar2 = (char *)dcgettext();" (assignment_expression "pcVar2 = (char *)dcgettext()" identifier = (cast_expression "(char *)dcgettext()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext()" identifier (argument_list "()" ( ))))) ;) (goto_statement "goto LAB_0006748d;" goto statement_identifier ;) })) (expression_statement "arch->next_arhdr_offset = __size + 0x3c + arch->next_arhdr_offset;" (assignment_expression "arch->next_arhdr_offset = __size + 0x3c + arch->next_arhdr_offset" (field_expression "arch->next_arhdr_offset" identifier -> field_identifier) = (binary_expression "__size + 0x3c + arch->next_arhdr_offset" (binary_expression "__size + 0x3c" identifier + number_literal) + (field_expression "arch->next_arhdr_offset" identifier -> field_identifier))) ;) (expression_statement "pcVar2 = (char *)malloc(__size + 1);" (assignment_expression "pcVar2 = (char *)malloc(__size + 1)" identifier = (cast_expression "(char *)malloc(__size + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(__size + 1)" identifier (argument_list "(__size + 1)" ( (binary_expression "__size + 1" identifier + number_literal) ))))) ;) (expression_statement "arch->longnames = pcVar2;" (assignment_expression "arch->longnames = pcVar2" (field_expression "arch->longnames" identifier -> field_identifier) = identifier) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n        pcVar2 = (char *)dcgettext();\n        error(pcVar2);\n        return 1;\n      }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pcVar2 = (char *)dcgettext();\n        error(pcVar2);\n        return 1;\n      }" { (expression_statement "pcVar2 = (char *)dcgettext();" (assignment_expression "pcVar2 = (char *)dcgettext()" identifier = (cast_expression "(char *)dcgettext()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext()" identifier (argument_list "()" ( ))))) ;) (expression_statement "error(pcVar2);" (call_expression "error(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "sVar4 = fread(pcVar2,__size,1,(FILE *)file);" (assignment_expression "sVar4 = fread(pcVar2,__size,1,(FILE *)file)" identifier = (call_expression "fread(pcVar2,__size,1,(FILE *)file)" identifier (argument_list "(pcVar2,__size,1,(FILE *)file)" ( identifier , identifier , number_literal , (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (sVar4 == 1) {\n        uVar5 = arch->longnames_size;\n        if ((uVar5 & 1) != 0) {\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }\n        arch->longnames[uVar5] = '\0';\n        return 0;\n      }" if (parenthesized_expression "(sVar4 == 1)" ( (binary_expression "sVar4 == 1" identifier == number_literal) )) (compound_statement "{\n        uVar5 = arch->longnames_size;\n        if ((uVar5 & 1) != 0) {\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }\n        arch->longnames[uVar5] = '\0';\n        return 0;\n      }" { (expression_statement "uVar5 = arch->longnames_size;" (assignment_expression "uVar5 = arch->longnames_size" identifier = (field_expression "arch->longnames_size" identifier -> field_identifier)) ;) (if_statement "if ((uVar5 & 1) != 0) {\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }" if (parenthesized_expression "((uVar5 & 1) != 0)" ( (binary_expression "(uVar5 & 1) != 0" (parenthesized_expression "(uVar5 & 1)" ( (binary_expression "uVar5 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          getc((FILE *)file);\n          uVar5 = arch->longnames_size;\n        }" { (expression_statement "getc((FILE *)file);" (call_expression "getc((FILE *)file)" identifier (argument_list "((FILE *)file)" ( (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "uVar5 = arch->longnames_size;" (assignment_expression "uVar5 = arch->longnames_size" identifier = (field_expression "arch->longnames_size" identifier -> field_identifier)) ;) })) (expression_statement "arch->longnames[uVar5] = '\0';" (assignment_expression "arch->longnames[uVar5] = '\0'" (subscript_expression "arch->longnames[uVar5]" (field_expression "arch->longnames" identifier -> field_identifier) [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "free(arch->longnames);" (call_expression "free(arch->longnames)" identifier (argument_list "(arch->longnames)" ( (field_expression "arch->longnames" identifier -> field_identifier) ))) ;) (expression_statement "arch->longnames = (char *)0x0;" (assignment_expression "arch->longnames = (char *)0x0" (field_expression "arch->longnames" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else if (sVar4 == 0) {\n      return 0;\n    }" else (if_statement "if (sVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(sVar4 == 0)" ( (binary_expression "sVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })))) })) (expression_statement "pcVar2 = (char *)dcgettext();" (assignment_expression "pcVar2 = (char *)dcgettext()" identifier = (cast_expression "(char *)dcgettext()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext()" identifier (argument_list "()" ( ))))) ;) (labeled_statement "LAB_0006748d:\n  error(pcVar2);" statement_identifier : (expression_statement "error(pcVar2);" (call_expression "error(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;)) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4\nFUN_000672b0(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)\n\n{\n  undefined1 uVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  void *__ptr;\n  uint uVar5;\n  byte *pbVar6;\n  byte *__ptr_00;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(param_2);\n  param_1[2] = 0;\n  *param_1 = pcVar2;\n  param_1[3] = 0;\n  param_1[1] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[0xb] = param_4;\n  param_1[0xc] = 0;\n  param_1[10] = 8;\n  iVar3 = fseek(param_3,8,0);\n  if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }\n  dcgettext();\nLAB_0006748d:\n  error();\n  return 1;\n}\n\n" (function_definition "undefined4\nFUN_000672b0(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)\n\n{\n  undefined1 uVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  void *__ptr;\n  uint uVar5;\n  byte *pbVar6;\n  byte *__ptr_00;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(param_2);\n  param_1[2] = 0;\n  *param_1 = pcVar2;\n  param_1[3] = 0;\n  param_1[1] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[0xb] = param_4;\n  param_1[0xc] = 0;\n  param_1[10] = 8;\n  iVar3 = fseek(param_3,8,0);\n  if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }" type_identifier (function_declarator "FUN_000672b0(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)" identifier (parameter_list "(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "FILE *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  void *__ptr;\n  uint uVar5;\n  byte *pbVar6;\n  byte *__ptr_00;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(param_2);\n  param_1[2] = 0;\n  *param_1 = pcVar2;\n  param_1[3] = 0;\n  param_1[1] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[0xb] = param_4;\n  param_1[0xc] = 0;\n  param_1[10] = 8;\n  iVar3 = fseek(param_3,8,0);\n  if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "ulong __size;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *__ptr_00;" type_identifier (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" identifier = number_literal) ;) (expression_statement "pcVar2 = strdup(param_2);" (assignment_expression "pcVar2 = strdup(param_2)" identifier = (call_expression "strdup(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = pcVar2;" (assignment_expression "*param_1 = pcVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = param_3;" (assignment_expression "param_1[1] = param_3" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0xb] = param_4;" (assignment_expression "param_1[0xb] = param_4" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[10] = 8;" (assignment_expression "param_1[10] = 8" (subscript_expression "param_1[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar3 = fseek(param_3,8,0);" (assignment_expression "iVar3 = fseek(param_3,8,0)" identifier = (call_expression "fseek(param_3,8,0)" identifier (argument_list "(param_3,8,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }" { (expression_statement "__ptr_00 = (byte *)(param_1 + 0xd);" (assignment_expression "__ptr_00 = (byte *)(param_1 + 0xd)" identifier = (cast_expression "(byte *)(param_1 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) )))) ;) (expression_statement "sVar4 = fread(__ptr_00,1,0x3c,param_3);" (assignment_expression "sVar4 = fread(__ptr_00,1,0x3c,param_3)" identifier = (call_expression "fread(__ptr_00,1,0x3c,param_3)" identifier (argument_list "(__ptr_00,1,0x3c,param_3)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "bVar8 = sVar4 < 0x3c;" (assignment_expression "bVar8 = sVar4 < 0x3c" identifier = (binary_expression "sVar4 < 0x3c" identifier < number_literal)) ;) (expression_statement "bVar10 = sVar4 == 0x3c;" (assignment_expression "bVar10 = sVar4 == 0x3c" identifier = (binary_expression "sVar4 == 0x3c" identifier == number_literal)) ;) (if_statement "if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      }" { (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" identifier = number_literal) ;) (expression_statement "pbVar6 = __ptr_00;" (assignment_expression "pbVar6 = __ptr_00" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)"/               ";" (assignment_expression "pbVar7 = (byte *)"/               "" identifier = (cast_expression "(byte *)"/               "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""/               "" " string_content "))) ;) (do_statement "do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);" do (compound_statement "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar8 = *pbVar6 < *pbVar7;" (assignment_expression "bVar8 = *pbVar6 < *pbVar7" identifier = (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar10 = *pbVar6 == *pbVar7;" (assignment_expression "bVar10 = *pbVar6 == *pbVar7" identifier = (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "bVar8 = (!bVar8 && !bVar10) == bVar8;" (assignment_expression "bVar8 = (!bVar8 && !bVar10) == bVar8" identifier = (binary_expression "(!bVar8 && !bVar10) == bVar8" (parenthesized_expression "(!bVar8 && !bVar10)" ( (binary_expression "!bVar8 && !bVar10" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }" { (expression_statement "iVar3 = FUN_000669f0();" (assignment_expression "iVar3 = FUN_000669f0()" identifier = (call_expression "FUN_000669f0()" identifier (argument_list "()" ( )))) ;) (labeled_statement "joined_r0x000674c2:\n        bVar10 = iVar3 == 0;" statement_identifier : (expression_statement "bVar10 = iVar3 == 0;" (assignment_expression "bVar10 = iVar3 == 0" identifier = (binary_expression "iVar3 == 0" identifier == number_literal)) ;)) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (if_statement "if (bVar10) {\n          return 1;\n        }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" else (compound_statement "{\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" { (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" identifier = number_literal) ;) (expression_statement "pbVar6 = __ptr_00;" (assignment_expression "pbVar6 = __ptr_00" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)"/SYM64/         ";" (assignment_expression "pbVar7 = (byte *)"/SYM64/         "" identifier = (cast_expression "(byte *)"/SYM64/         "" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""/SYM64/         "" " string_content "))) ;) (do_statement "do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);" do (compound_statement "{\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        }" { (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "bVar9 = *pbVar6 < *pbVar7;" (assignment_expression "bVar9 = *pbVar6 < *pbVar7" identifier = (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "bVar8 = *pbVar6 == *pbVar7;" (assignment_expression "bVar8 = *pbVar6 == *pbVar7" identifier = (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar7 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar8)" ( identifier )) ;) (if_statement "if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }" if (parenthesized_expression "((!bVar9 && !bVar8) == bVar9)" ( (binary_expression "(!bVar9 && !bVar8) == bVar9" (parenthesized_expression "(!bVar9 && !bVar8)" ( (binary_expression "!bVar9 && !bVar8" (unary_expression "!bVar9" ! identifier) && (unary_expression "!bVar8" ! identifier)) )) == identifier) )) (compound_statement "{\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }" { (expression_statement "param_1[0xc] = 1;" (assignment_expression "param_1[0xc] = 1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar3 = FUN_000669f0();" (assignment_expression "iVar3 = FUN_000669f0()" identifier = (call_expression "FUN_000669f0()" identifier (argument_list "()" ( )))) ;) (goto_statement "goto joined_r0x000674c2;" goto statement_identifier ;) })) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "bVar10 = param_5 == 0;" (assignment_expression "bVar10 = param_5 == 0" identifier = (binary_expression "param_5 == 0" identifier == number_literal)) ;) (if_statement "if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }" if (parenthesized_expression "(!bVar10)" ( (unary_expression "!bVar10" ! identifier) )) (compound_statement "{\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }" { (expression_statement "pcVar2 = (char *)dcgettext();" (assignment_expression "pcVar2 = (char *)dcgettext()" identifier = (cast_expression "(char *)dcgettext()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext()" identifier (argument_list "()" ( ))))) ;) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;" (assignment_expression "bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4" identifier = (binary_expression "(undefined1 *)0xffffffef < &stack0xffffffc4" (cast_expression "(undefined1 *)0xffffffef" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (pointer_expression "&stack0xffffffc4" & identifier))) ;) (expression_statement "bVar10 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar10 = &stack0x00000000 == (undefined1 *)0x2c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x2c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) })) }))) (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" identifier = number_literal) ;) (expression_statement "pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" identifier = (compound_literal_expression "(byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (ERROR ""\n      do" " identifier) (initializer_list "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" { (ERROR "if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;" (call_expression "if (iVar3 == 0)" identifier (argument_list "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) ))) identifier ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ; (assignment_expression "bVar8 = *__ptr_00 < *pbVar6" identifier = (binary_expression "*__ptr_00 < *pbVar6" (pointer_expression "*__ptr_00" * identifier) < (pointer_expression "*pbVar6" * identifier))) ; (assignment_expression "bVar10 = *__ptr_00 == *pbVar6" identifier = (binary_expression "*__ptr_00 == *pbVar6" (pointer_expression "*__ptr_00" * identifier) == (pointer_expression "*pbVar6" * identifier))) ; (assignment_expression "__ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "__ptr_00 + (uint)bVar11 * -2 + 1" (binary_expression "__ptr_00 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) }))) ;) })) (while_statement "while (bVar10);" while (parenthesized_expression "(bVar10)" ( identifier )) (expression_statement ";" ;)) (if_statement "if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }" if (parenthesized_expression "((!bVar8 && !bVar10) != bVar8)" ( (binary_expression "(!bVar8 && !bVar10) != bVar8" (parenthesized_expression "(!bVar8 && !bVar10)" ( (binary_expression "!bVar8 && !bVar10" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) != identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = *(undefined1 *)((int)param_1 + 0x6e);" (assignment_expression "uVar1 = *(undefined1 *)((int)param_1 + 0x6e)" identifier = (pointer_expression "*(undefined1 *)((int)param_1 + 0x6e)" * (cast_expression "(undefined1 *)((int)param_1 + 0x6e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x6e)" ( (binary_expression "(int)param_1 + 0x6e" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x6e) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x6e) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x6e)" * (cast_expression "(undefined1 *)((int)param_1 + 0x6e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x6e)" ( (binary_expression "(int)param_1 + 0x6e" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "__size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);" (assignment_expression "__size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10)" identifier = (call_expression "strtoul((char *)(param_1 + 0x19),(char **)0x0,10)" identifier (argument_list "((char *)(param_1 + 0x19),(char **)0x0,10)" ( (cast_expression "(char *)(param_1 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x19)" ( (binary_expression "param_1 + 0x19" identifier + number_literal) ))) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "param_1[8] = __size;" (assignment_expression "param_1[8] = __size" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x6e) = uVar1;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x6e) = uVar1" (pointer_expression "*(undefined1 *)((int)param_1 + 0x6e)" * (cast_expression "(undefined1 *)((int)param_1 + 0x6e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x6e)" ( (binary_expression "(int)param_1 + 0x6e" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }" if (parenthesized_expression "((__size < 8) || ((int)__size < 0))" ( (binary_expression "(__size < 8) || ((int)__size < 0)" (parenthesized_expression "(__size < 8)" ( (binary_expression "__size < 8" identifier < number_literal) )) || (parenthesized_expression "((int)__size < 0)" ( (binary_expression "(int)__size < 0" (cast_expression "(int)__size" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ))) )) (compound_statement "{\n        dcgettext();\n        goto LAB_0006748d;\n      }" { (expression_statement "dcgettext();" (call_expression "dcgettext()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0006748d;" goto statement_identifier ;) })) (expression_statement "param_1[10] = __size + 0x3c + param_1[10];" (assignment_expression "param_1[10] = __size + 0x3c + param_1[10]" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (binary_expression "__size + 0x3c + param_1[10]" (binary_expression "__size + 0x3c" identifier + number_literal) + (subscript_expression "param_1[10]" identifier [ number_literal ]))) ;) (expression_statement "__ptr = malloc(__size + 1);" (assignment_expression "__ptr = malloc(__size + 1)" identifier = (call_expression "malloc(__size + 1)" identifier (argument_list "(__size + 1)" ( (binary_expression "__size + 1" identifier + number_literal) )))) ;) (expression_statement "param_1[7] = __ptr;" (assignment_expression "param_1[7] = __ptr" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }" if (parenthesized_expression "(__ptr == (void *)0x0)" ( (binary_expression "__ptr == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        dcgettext();\n        error();\n        return 1;\n      }" { (expression_statement "dcgettext();" (call_expression "dcgettext()" identifier (argument_list "()" ( ))) ;) (expression_statement "error();" (call_expression "error()" identifier (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "sVar4 = fread(__ptr,__size,1,param_3);" (assignment_expression "sVar4 = fread(__ptr,__size,1,param_3)" identifier = (call_expression "fread(__ptr,__size,1,param_3)" identifier (argument_list "(__ptr,__size,1,param_3)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }" if (parenthesized_expression "(sVar4 == 1)" ( (binary_expression "sVar4 == 1" identifier == number_literal) )) (compound_statement "{\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }" { (expression_statement "uVar5 = param_1[8];" (assignment_expression "uVar5 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (if_statement "if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }" if (parenthesized_expression "((uVar5 & 1) != 0)" ( (binary_expression "(uVar5 & 1) != 0" (parenthesized_expression "(uVar5 & 1)" ( (binary_expression "uVar5 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          getc(param_3);\n          uVar5 = param_1[8];\n        }" { (expression_statement "getc(param_3);" (call_expression "getc(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (expression_statement "uVar5 = param_1[8];" (assignment_expression "uVar5 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined1 *)(param_1[7] + uVar5) = 0;" (assignment_expression "*(undefined1 *)(param_1[7] + uVar5) = 0" (pointer_expression "*(undefined1 *)(param_1[7] + uVar5)" * (cast_expression "(undefined1 *)(param_1[7] + uVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[7] + uVar5)" ( (binary_expression "param_1[7] + uVar5" (subscript_expression "param_1[7]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "free((void *)param_1[7]);" (call_expression "free((void *)param_1[7])" identifier (argument_list "((void *)param_1[7])" ( (cast_expression "(void *)param_1[7]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) ))) ;) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (sVar4 == 0) {\n      return 0;\n    }" else (if_statement "if (sVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(sVar4 == 0)" ( (binary_expression "sVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })))) })) (expression_statement "dcgettext();" (call_expression "dcgettext()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_0006748d:\n  error();" statement_identifier : (expression_statement "error();" (call_expression "error()" identifier (argument_list "()" ( ))) ;)) (return_statement "return 1;" return number_literal ;) (ERROR "}" }))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;)) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) })) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (compound_literal_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (ERROR " IDENT) (initializer_list { (ERROR (call_expression IDENT (argument_list ( (binary_expression IDENT == LIT) ))) IDENT ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ; (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ; (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ; (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) }))) ;) })) (while_statement while (parenthesized_expression ( IDENT )) (expression_statement ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) != IDENT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression IDENT + LIT) + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })))) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (return_statement return LIT ;) (ERROR }))
(function_definition "undefined4\nFUN_000672b0(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)\n\n{\n  undefined1 uVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  void *__ptr;\n  uint uVar5;\n  byte *pbVar6;\n  byte *__ptr_00;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(param_2);\n  param_1[2] = 0;\n  *param_1 = pcVar2;\n  param_1[3] = 0;\n  param_1[1] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[0xb] = param_4;\n  param_1[0xc] = 0;\n  param_1[10] = 8;\n  iVar3 = fseek(param_3,8,0);\n  if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }" (type_identifier "undefined4") (function_declarator "FUN_000672b0(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)" (identifier "FUN_000672b0") (parameter_list "(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "FILE *param_3" (type_identifier "FILE") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  char *pcVar2;\n  int iVar3;\n  size_t sVar4;\n  ulong __size;\n  void *__ptr;\n  uint uVar5;\n  byte *pbVar6;\n  byte *__ptr_00;\n  byte *pbVar7;\n  bool bVar8;\n  bool bVar9;\n  bool bVar10;\n  byte bVar11;\n  \n  bVar11 = 0;\n  pcVar2 = strdup(param_2);\n  param_1[2] = 0;\n  *param_1 = pcVar2;\n  param_1[3] = 0;\n  param_1[1] = param_3;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  param_1[7] = 0;\n  param_1[8] = 0;\n  param_1[9] = 0;\n  param_1[0xb] = param_4;\n  param_1[0xc] = 0;\n  param_1[10] = 8;\n  iVar3 = fseek(param_3,8,0);\n  if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }\n  }" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "ulong __size;" (type_identifier "ulong") (identifier "__size") (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "byte *__ptr_00;" (type_identifier "byte") (pointer_declarator "*__ptr_00" (* "*") (identifier "__ptr_00")) (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (declaration "bool bVar10;" (primitive_type "bool") (identifier "bVar10") (; ";")) (declaration "byte bVar11;" (type_identifier "byte") (identifier "bVar11") (; ";")) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" (identifier "bVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar2 = strdup(param_2);" (assignment_expression "pcVar2 = strdup(param_2)" (identifier "pcVar2") (= "=") (call_expression "strdup(param_2)" (identifier "strdup") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = pcVar2;" (assignment_expression "*param_1 = pcVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "pcVar2")) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = param_3;" (assignment_expression "param_1[1] = param_3" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0xb] = param_4;" (assignment_expression "param_1[0xb] = param_4" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[10] = 8;" (assignment_expression "param_1[10] = 8" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "8")) (; ";")) (expression_statement "iVar3 = fseek(param_3,8,0);" (assignment_expression "iVar3 = fseek(param_3,8,0)" (identifier "iVar3") (= "=") (call_expression "fseek(param_3,8,0)" (identifier "fseek") (argument_list "(param_3,8,0)" (( "(") (identifier "param_3") (, ",") (number_literal "8") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }\n    else if (sVar4 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    __ptr_00 = (byte *)(param_1 + 0xd);\n    sVar4 = fread(__ptr_00,1,0x3c,param_3);\n    bVar8 = sVar4 < 0x3c;\n    bVar10 = sVar4 == 0x3c;\n    if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }\n      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n      *(undefined1 *)((int)param_1 + 0x6e) = 0;\n      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);\n      param_1[8] = __size;\n      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n      if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }\n      param_1[10] = __size + 0x3c + param_1[10];\n      __ptr = malloc(__size + 1);\n      param_1[7] = __ptr;\n      if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }\n      sVar4 = fread(__ptr,__size,1,param_3);\n      if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }\n      free((void *)param_1[7]);\n      param_1[7] = 0;\n    }" ({ "{") (expression_statement "__ptr_00 = (byte *)(param_1 + 0xd);" (assignment_expression "__ptr_00 = (byte *)(param_1 + 0xd)" (identifier "__ptr_00") (= "=") (cast_expression "(byte *)(param_1 + 0xd)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd)" (( "(") (binary_expression "param_1 + 0xd" (identifier "param_1") (+ "+") (number_literal "0xd")) () ")")))) (; ";")) (expression_statement "sVar4 = fread(__ptr_00,1,0x3c,param_3);" (assignment_expression "sVar4 = fread(__ptr_00,1,0x3c,param_3)" (identifier "sVar4") (= "=") (call_expression "fread(__ptr_00,1,0x3c,param_3)" (identifier "fread") (argument_list "(__ptr_00,1,0x3c,param_3)" (( "(") (identifier "__ptr_00") (, ",") (number_literal "1") (, ",") (number_literal "0x3c") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "bVar8 = sVar4 < 0x3c;" (assignment_expression "bVar8 = sVar4 < 0x3c" (identifier "bVar8") (= "=") (binary_expression "sVar4 < 0x3c" (identifier "sVar4") (< "<") (number_literal "0x3c"))) (; ";")) (expression_statement "bVar10 = sVar4 == 0x3c;" (assignment_expression "bVar10 = sVar4 == 0x3c" (identifier "bVar10") (= "=") (binary_expression "sVar4 == 0x3c" (identifier "sVar4") (== "==") (number_literal "0x3c"))) (; ";")) (if_statement "if (bVar10) {\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      }" (if "if") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (compound_statement "{\n      iVar3 = 0x10;\n      pbVar6 = __ptr_00;\n      pbVar7 = (byte *)"/               ";\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      bVar9 = false;\n      bVar8 = (!bVar8 && !bVar10) == bVar8;\n      if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }\n      iVar3 = 0x10;\n      pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n      }" ({ "{") (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" (identifier "iVar3") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "pbVar6 = __ptr_00;" (assignment_expression "pbVar6 = __ptr_00" (identifier "pbVar6") (= "=") (identifier "__ptr_00")) (; ";")) (expression_statement "pbVar7 = (byte *)"/               ";" (assignment_expression "pbVar7 = (byte *)"/               "" (identifier "pbVar7") (= "=") (cast_expression "(byte *)"/               "" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""/               "" (" """) (string_content "/               ") (" """)))) (; ";")) (do_statement "do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);" (do "do") (compound_statement "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *pbVar6 < *pbVar7;\n        bVar10 = *pbVar6 == *pbVar7;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n      }" ({ "{") (if_statement "if (iVar3 == 0) break;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar8 = *pbVar6 < *pbVar7;" (assignment_expression "bVar8 = *pbVar6 < *pbVar7" (identifier "bVar8") (= "=") (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (< "<") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "bVar10 = *pbVar6 == *pbVar7;" (assignment_expression "bVar10 = *pbVar6 == *pbVar7" (identifier "bVar10") (= "=") (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (== "==") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" (identifier "pbVar6") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar11 * -2" (identifier "pbVar7") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (; ";")) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" (identifier "bVar9") (= "=") (false "false")) (; ";")) (expression_statement "bVar8 = (!bVar8 && !bVar10) == bVar8;" (assignment_expression "bVar8 = (!bVar8 && !bVar10) == bVar8" (identifier "bVar8") (= "=") (binary_expression "(!bVar8 && !bVar10) == bVar8" (parenthesized_expression "(!bVar8 && !bVar10)" (( "(") (binary_expression "!bVar8 && !bVar10" (unary_expression "!bVar8" (! "!") (identifier "bVar8")) (&& "&&") (unary_expression "!bVar10" (! "!") (identifier "bVar10"))) () ")")) (== "==") (identifier "bVar8"))) (; ";")) (if_statement "if (bVar8) {\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }\n      else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" (if "if") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")")) (compound_statement "{\n        iVar3 = FUN_000669f0();\njoined_r0x000674c2:\n        bVar10 = iVar3 == 0;\n        bVar8 = false;\n        if (bVar10) {\n          return 1;\n        }\n      }" ({ "{") (expression_statement "iVar3 = FUN_000669f0();" (assignment_expression "iVar3 = FUN_000669f0()" (identifier "iVar3") (= "=") (call_expression "FUN_000669f0()" (identifier "FUN_000669f0") (argument_list "()" (( "(") () ")")))) (; ";")) (labeled_statement "joined_r0x000674c2:\n        bVar10 = iVar3 == 0;" (statement_identifier "joined_r0x000674c2") (: ":") (expression_statement "bVar10 = iVar3 == 0;" (assignment_expression "bVar10 = iVar3 == 0" (identifier "bVar10") (= "=") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) (; ";"))) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" (identifier "bVar8") (= "=") (false "false")) (; ";")) (if_statement "if (bVar10) {\n          return 1;\n        }" (if "if") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (compound_statement "{\n          return 1;\n        }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" (else "else") (compound_statement "{\n        iVar3 = 0x10;\n        pbVar6 = __ptr_00;\n        pbVar7 = (byte *)"/SYM64/         ";\n        do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);\n        if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }\n        bVar8 = false;\n        bVar10 = param_5 == 0;\n        if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }\n      }" ({ "{") (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" (identifier "iVar3") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "pbVar6 = __ptr_00;" (assignment_expression "pbVar6 = __ptr_00" (identifier "pbVar6") (= "=") (identifier "__ptr_00")) (; ";")) (expression_statement "pbVar7 = (byte *)"/SYM64/         ";" (assignment_expression "pbVar7 = (byte *)"/SYM64/         "" (identifier "pbVar7") (= "=") (cast_expression "(byte *)"/SYM64/         "" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""/SYM64/         "" (" """) (string_content "/SYM64/         ") (" """)))) (; ";")) (do_statement "do {\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        } while (bVar8);" (do "do") (compound_statement "{\n          if (iVar3 == 0) break;\n          iVar3 = iVar3 + -1;\n          bVar9 = *pbVar6 < *pbVar7;\n          bVar8 = *pbVar6 == *pbVar7;\n          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;\n          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;\n        }" ({ "{") (if_statement "if (iVar3 == 0) break;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar9 = *pbVar6 < *pbVar7;" (assignment_expression "bVar9 = *pbVar6 < *pbVar7" (identifier "bVar9") (= "=") (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (< "<") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "bVar8 = *pbVar6 == *pbVar7;" (assignment_expression "bVar8 = *pbVar6 == *pbVar7" (identifier "bVar8") (= "=") (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (== "==") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" (identifier "pbVar6") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar7 + (uint)bVar11 * -2" (identifier "pbVar7") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")")) (; ";")) (if_statement "if ((!bVar9 && !bVar8) == bVar9) {\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }" (if "if") (parenthesized_expression "((!bVar9 && !bVar8) == bVar9)" (( "(") (binary_expression "(!bVar9 && !bVar8) == bVar9" (parenthesized_expression "(!bVar9 && !bVar8)" (( "(") (binary_expression "!bVar9 && !bVar8" (unary_expression "!bVar9" (! "!") (identifier "bVar9")) (&& "&&") (unary_expression "!bVar8" (! "!") (identifier "bVar8"))) () ")")) (== "==") (identifier "bVar9")) () ")")) (compound_statement "{\n          param_1[0xc] = 1;\n          iVar3 = FUN_000669f0();\n          goto joined_r0x000674c2;\n        }" ({ "{") (expression_statement "param_1[0xc] = 1;" (assignment_expression "param_1[0xc] = 1" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar3 = FUN_000669f0();" (assignment_expression "iVar3 = FUN_000669f0()" (identifier "iVar3") (= "=") (call_expression "FUN_000669f0()" (identifier "FUN_000669f0") (argument_list "()" (( "(") () ")")))) (; ";")) (goto_statement "goto joined_r0x000674c2;" (goto "goto") (statement_identifier "joined_r0x000674c2") (; ";")) (} "}"))) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" (identifier "bVar8") (= "=") (false "false")) (; ";")) (expression_statement "bVar10 = param_5 == 0;" (assignment_expression "bVar10 = param_5 == 0" (identifier "bVar10") (= "=") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0"))) (; ";")) (if_statement "if (!bVar10) {\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }" (if "if") (parenthesized_expression "(!bVar10)" (( "(") (unary_expression "!bVar10" (! "!") (identifier "bVar10")) () ")")) (compound_statement "{\n          pcVar2 = (char *)dcgettext();\n          printf(pcVar2);\n          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;\n          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;\n        }" ({ "{") (expression_statement "pcVar2 = (char *)dcgettext();" (assignment_expression "pcVar2 = (char *)dcgettext()" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext()" (identifier "dcgettext") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" (identifier "printf") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")"))) (; ";")) (expression_statement "bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;" (assignment_expression "bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4" (identifier "bVar8") (= "=") (binary_expression "(undefined1 *)0xffffffef < &stack0xffffffc4" (cast_expression "(undefined1 *)0xffffffef" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffef")) (< "<") (pointer_expression "&stack0xffffffc4" (& "&") (identifier "stack0xffffffc4")))) (; ";")) (expression_statement "bVar10 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar10 = &stack0x00000000 == (undefined1 *)0x2c" (identifier "bVar10") (= "=") (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" (& "&") (identifier "stack0x00000000")) (== "==") (cast_expression "(undefined1 *)0x2c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2c")))) (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar3 = 0x10;" (assignment_expression "iVar3 = 0x10" (identifier "iVar3") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar6 = (byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" (identifier "pbVar6") (= "=") (compound_literal_expression "(byte *)"\n      do {\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (ERROR ""\n      do" (" """) (identifier "do")) (initializer_list "{\n        if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;\n        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" ({ "{") (ERROR "if (iVar3 == 0) break;\n        iVar3 = iVar3 + -1;\n        bVar8 = *__ptr_00 < *pbVar6;\n        bVar10 = *__ptr_00 == *pbVar6;\n        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;" (call_expression "if (iVar3 == 0)" (identifier "if") (argument_list "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")"))) (identifier "break") (; ";") (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";") (assignment_expression "bVar8 = *__ptr_00 < *pbVar6" (identifier "bVar8") (= "=") (binary_expression "*__ptr_00 < *pbVar6" (pointer_expression "*__ptr_00" (* "*") (identifier "__ptr_00")) (< "<") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";") (assignment_expression "bVar10 = *__ptr_00 == *pbVar6" (identifier "bVar10") (= "=") (binary_expression "*__ptr_00 == *pbVar6" (pointer_expression "*__ptr_00" (* "*") (identifier "__ptr_00")) (== "==") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";") (assignment_expression "__ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1" (identifier "__ptr_00") (= "=") (binary_expression "__ptr_00 + (uint)bVar11 * -2 + 1" (binary_expression "__ptr_00 + (uint)bVar11 * -2" (identifier "__ptr_00") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (assignment_expression "pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar6 + (uint)bVar11 * -2" (identifier "pbVar6") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (} "")))) (; ";")) (} "}"))) (while_statement "while (bVar10);" (while "while") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (expression_statement ";" (; ";"))) (if_statement "if ((!bVar8 && !bVar10) != bVar8) {\n        return 0;\n      }" (if "if") (parenthesized_expression "((!bVar8 && !bVar10) != bVar8)" (( "(") (binary_expression "(!bVar8 && !bVar10) != bVar8" (parenthesized_expression "(!bVar8 && !bVar10)" (( "(") (binary_expression "!bVar8 && !bVar10" (unary_expression "!bVar8" (! "!") (identifier "bVar8")) (&& "&&") (unary_expression "!bVar10" (! "!") (identifier "bVar10"))) () ")")) (!= "!=") (identifier "bVar8")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar1 = *(undefined1 *)((int)param_1 + 0x6e);" (assignment_expression "uVar1 = *(undefined1 *)((int)param_1 + 0x6e)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)((int)param_1 + 0x6e)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0x6e)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x6e)" (( "(") (binary_expression "(int)param_1 + 0x6e" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x6e")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 0x6e) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x6e) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x6e)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0x6e)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x6e)" (( "(") (binary_expression "(int)param_1 + 0x6e" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x6e")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "__size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);" (assignment_expression "__size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10)" (identifier "__size") (= "=") (call_expression "strtoul((char *)(param_1 + 0x19),(char **)0x0,10)" (identifier "strtoul") (argument_list "((char *)(param_1 + 0x19),(char **)0x0,10)" (( "(") (cast_expression "(char *)(param_1 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x19)" (( "(") (binary_expression "param_1 + 0x19" (identifier "param_1") (+ "+") (number_literal "0x19")) () ")"))) (, ",") (cast_expression "(char **)0x0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "param_1[8] = __size;" (assignment_expression "param_1[8] = __size" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "__size")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 0x6e) = uVar1;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x6e) = uVar1" (pointer_expression "*(undefined1 *)((int)param_1 + 0x6e)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0x6e)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x6e)" (( "(") (binary_expression "(int)param_1 + 0x6e" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x6e")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (if_statement "if ((__size < 8) || ((int)__size < 0)) {\n        dcgettext();\n        goto LAB_0006748d;\n      }" (if "if") (parenthesized_expression "((__size < 8) || ((int)__size < 0))" (( "(") (binary_expression "(__size < 8) || ((int)__size < 0)" (parenthesized_expression "(__size < 8)" (( "(") (binary_expression "__size < 8" (identifier "__size") (< "<") (number_literal "8")) () ")")) (|| "||") (parenthesized_expression "((int)__size < 0)" (( "(") (binary_expression "(int)__size < 0" (cast_expression "(int)__size" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__size")) (< "<") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        dcgettext();\n        goto LAB_0006748d;\n      }" ({ "{") (expression_statement "dcgettext();" (call_expression "dcgettext()" (identifier "dcgettext") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_0006748d;" (goto "goto") (statement_identifier "LAB_0006748d") (; ";")) (} "}"))) (expression_statement "param_1[10] = __size + 0x3c + param_1[10];" (assignment_expression "param_1[10] = __size + 0x3c + param_1[10]" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "__size + 0x3c + param_1[10]" (binary_expression "__size + 0x3c" (identifier "__size") (+ "+") (number_literal "0x3c")) (+ "+") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")))) (; ";")) (expression_statement "__ptr = malloc(__size + 1);" (assignment_expression "__ptr = malloc(__size + 1)" (identifier "__ptr") (= "=") (call_expression "malloc(__size + 1)" (identifier "malloc") (argument_list "(__size + 1)" (( "(") (binary_expression "__size + 1" (identifier "__size") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "param_1[7] = __ptr;" (assignment_expression "param_1[7] = __ptr" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "__ptr")) (; ";")) (if_statement "if (__ptr == (void *)0x0) {\n        dcgettext();\n        error();\n        return 1;\n      }" (if "if") (parenthesized_expression "(__ptr == (void *)0x0)" (( "(") (binary_expression "__ptr == (void *)0x0" (identifier "__ptr") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        dcgettext();\n        error();\n        return 1;\n      }" ({ "{") (expression_statement "dcgettext();" (call_expression "dcgettext()" (identifier "dcgettext") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "error();" (call_expression "error()" (identifier "error") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "sVar4 = fread(__ptr,__size,1,param_3);" (assignment_expression "sVar4 = fread(__ptr,__size,1,param_3)" (identifier "sVar4") (= "=") (call_expression "fread(__ptr,__size,1,param_3)" (identifier "fread") (argument_list "(__ptr,__size,1,param_3)" (( "(") (identifier "__ptr") (, ",") (identifier "__size") (, ",") (number_literal "1") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (sVar4 == 1) {\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }" (if "if") (parenthesized_expression "(sVar4 == 1)" (( "(") (binary_expression "sVar4 == 1" (identifier "sVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        uVar5 = param_1[8];\n        if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }\n        *(undefined1 *)(param_1[7] + uVar5) = 0;\n        return 0;\n      }" ({ "{") (expression_statement "uVar5 = param_1[8];" (assignment_expression "uVar5 = param_1[8]" (identifier "uVar5") (= "=") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (; ";")) (if_statement "if ((uVar5 & 1) != 0) {\n          getc(param_3);\n          uVar5 = param_1[8];\n        }" (if "if") (parenthesized_expression "((uVar5 & 1) != 0)" (( "(") (binary_expression "(uVar5 & 1) != 0" (parenthesized_expression "(uVar5 & 1)" (( "(") (binary_expression "uVar5 & 1" (identifier "uVar5") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          getc(param_3);\n          uVar5 = param_1[8];\n        }" ({ "{") (expression_statement "getc(param_3);" (call_expression "getc(param_3)" (identifier "getc") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar5 = param_1[8];" (assignment_expression "uVar5 = param_1[8]" (identifier "uVar5") (= "=") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(param_1[7] + uVar5) = 0;" (assignment_expression "*(undefined1 *)(param_1[7] + uVar5) = 0" (pointer_expression "*(undefined1 *)(param_1[7] + uVar5)" (* "*") (cast_expression "(undefined1 *)(param_1[7] + uVar5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[7] + uVar5)" (( "(") (binary_expression "param_1[7] + uVar5" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (+ "+") (identifier "uVar5")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "free((void *)param_1[7]);" (call_expression "free((void *)param_1[7])" (identifier "free") (argument_list "((void *)param_1[7])" (( "(") (cast_expression "(void *)param_1[7]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) () ")"))) (; ";")) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (sVar4 == 0) {\n      return 0;\n    }" (else "else") (if_statement "if (sVar4 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(sVar4 == 0)" (( "(") (binary_expression "sVar4 == 0" (identifier "sVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))))) (} "}"))) (expression_statement "dcgettext();" (call_expression "dcgettext()" (identifier "dcgettext") (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_0006748d:\n  error();" (statement_identifier "LAB_0006748d") (: ":") (expression_statement "error();" (call_expression "error()" (identifier "error") (argument_list "()" (( "(") () ")"))) (; ";"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (ERROR "}" (} "}"))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* WARNING: Unknown calling convention */

int function_1(type_1 *arch,char *file_name,type_2 *file,type_3 is_thin_archive,
                 type_3 var_10)

{
  char cVar1;
  char *var_16;
  int var_3;
  size_t var_5;
  type_4 var_14;
  type_5 var_18;
  type_6 *paVar6;
  type_6 *__ptr;
  type_7 *var_6;
  bool var_7;
  bool var_9;
  bool bVar10;
  type_7 bVar11;
  
  bVar11 = 0;
  var_16 = var_1(file_name);
  *(type_8 *)&arch->index_num = 0;
  arch->file_name = var_16;
  *(type_8 *)((int)&arch->index_num + 4) = 0;
  arch->file = file;
  arch->index_array = (type_9 *)0x0;
  arch->sym_table = (char *)0x0;
  arch->sym_size = 0;
  arch->longnames = (char *)0x0;
  arch->longnames_size = 0;
  arch->nested_member_origin = 0;
  arch->is_thin_archive = is_thin_archive;
  arch->uses_64bit_indicies = 0;
  arch->next_arhdr_offset = 8;
  var_3 = var_2((type_2 *)file,8,0);
  if (var_3 == 0) {
    __ptr = &arch->arhdr;
    var_5 = var_4(__ptr,1,0x3c,(type_2 *)file);
    var_7 = var_5 < 0x3c;
    bVar10 = var_5 == 0x3c;
    if (bVar10) {
      var_3 = 0x10;
      paVar6 = __ptr;
      var_6 = (type_7 *)"/               ";
      do {
        if (var_3 == 0) break;
        var_3 = var_3 + -1;
        var_7 = (type_7)paVar6->ar_name[0] < *var_6;
        bVar10 = paVar6->ar_name[0] == *var_6;
        paVar6 = (type_6 *)((int)paVar6 + (type_5)bVar11 * -2 + 1);
        var_6 = var_6 + (type_5)bVar11 * -2 + 1;
      } while (bVar10);
      var_9 = false;
      var_7 = (!var_7 && !bVar10) == var_7;
      if (var_7) {
        var_3 = var_8(arch,4,var_10);
joined_r0x000674c2:
        bVar10 = var_3 == 0;
        var_7 = false;
        if (bVar10) {
          return 1;
        }
      }
      else {
        var_3 = 0x10;
        paVar6 = __ptr;
        var_6 = (type_7 *)"/SYM64/         ";
        do {
          if (var_3 == 0) break;
          var_3 = var_3 + -1;
          var_9 = (type_7)paVar6->ar_name[0] < *var_6;
          var_7 = paVar6->ar_name[0] == *var_6;
          paVar6 = (type_6 *)((int)paVar6 + (type_5)bVar11 * -2 + 1);
          var_6 = var_6 + (type_5)bVar11 * -2 + 1;
        } while (var_7);
        if ((!var_9 && !var_7) == var_9) {
          arch->uses_64bit_indicies = 1;
          var_3 = var_8(arch,8,var_10);
          goto joined_r0x000674c2;
        }
        var_7 = false;
        bVar10 = var_10 == 0;
        if (!bVar10) {
          var_16 = (char *)var_11();
          var_12(var_16);
          var_7 = (type_10 *)0xffffffef < &stack0xffffffc4;
          bVar10 = &stack0x00000000 == (type_10 *)0x2c;
        }
      }
      var_3 = 0x10;
      var_6 = (type_7 *)"//              ";
      do {
        if (var_3 == 0) break;
        var_3 = var_3 + -1;
        var_7 = (type_7)__ptr->ar_name[0] < *var_6;
        bVar10 = __ptr->ar_name[0] == *var_6;
        __ptr = (type_6 *)((int)__ptr + (type_5)bVar11 * -2 + 1);
        var_6 = var_6 + (type_5)bVar11 * -2 + 1;
      } while (bVar10);
      if ((!var_7 && !bVar10) != var_7) {
        return 0;
      }
      cVar1 = (arch->arhdr).ar_fmag[0];
      (arch->arhdr).ar_fmag[0] = '\0';
      var_14 = var_13((arch->arhdr).ar_size,(char **)0x0,10);
      arch->longnames_size = var_14;
      (arch->arhdr).ar_fmag[0] = cVar1;
      if ((var_14 < 8) || ((int)var_14 < 0)) {
        var_16 = (char *)var_11();
        goto LAB_0006748d;
      }
      arch->next_arhdr_offset = var_14 + 0x3c + arch->next_arhdr_offset;
      var_16 = (char *)var_15(var_14 + 1);
      arch->longnames = var_16;
      if (var_16 == (char *)0x0) {
        var_16 = (char *)var_11();
        var_17(var_16);
        return 1;
      }
      var_5 = var_4(var_16,var_14,1,(type_2 *)file);
      if (var_5 == 1) {
        var_18 = arch->longnames_size;
        if ((var_18 & 1) != 0) {
          var_19((type_2 *)file);
          var_18 = arch->longnames_size;
        }
        arch->longnames[var_18] = '\0';
        return 0;
      }
      var_20(arch->longnames);
      arch->longnames = (char *)0x0;
    }
    else if (var_5 == 0) {
      return 0;
    }
  }
  var_16 = (char *)var_11();
LAB_0006748d:
  var_17(var_16);
  return 1;
}


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

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

undefined4
MASKED(undefined4 *param_1,char *param_2,FILE *param_3,undefined4 param_4,int param_5)

{
  undefined1 uVar1;
  char *pcVar2;
  int iVar3;
  size_t sVar4;
  ulong __size;
  void *__ptr;
  uint uVar5;
  byte *pbVar6;
  byte *__ptr_00;
  byte *pbVar7;
  bool bVar8;
  bool bVar9;
  bool bVar10;
  byte bVar11;
  
  bVar11 = 0;
  pcVar2 = strdup(param_2);
  param_1[2] = 0;
  *param_1 = pcVar2;
  param_1[3] = 0;
  param_1[1] = param_3;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  param_1[7] = 0;
  param_1[8] = 0;
  param_1[9] = 0;
  param_1[0xb] = param_4;
  param_1[0xc] = 0;
  param_1[10] = 8;
  iVar3 = fseek(param_3,8,0);
  if (iVar3 == 0) {
    __ptr_00 = (byte *)(param_1 + 0xd);
    sVar4 = fread(__ptr_00,1,0x3c,param_3);
    bVar8 = sVar4 < 0x3c;
    bVar10 = sVar4 == 0x3c;
    if (bVar10) {
      iVar3 = 0x10;
      pbVar6 = __ptr_00;
      pbVar7 = (byte *)"/               ";
      do {
        if (iVar3 == 0) break;
        iVar3 = iVar3 + -1;
        bVar8 = *pbVar6 < *pbVar7;
        bVar10 = *pbVar6 == *pbVar7;
        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;
        pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;
      } while (bVar10);
      bVar9 = false;
      bVar8 = (!bVar8 && !bVar10) == bVar8;
      if (bVar8) {
        iVar3 = FUN_000669f0();
joined_r0x000674c2:
        bVar10 = iVar3 == 0;
        bVar8 = false;
        if (bVar10) {
          return 1;
        }
      }
      else {
        iVar3 = 0x10;
        pbVar6 = __ptr_00;
        pbVar7 = (byte *)"/SYM64/         ";
        do {
          if (iVar3 == 0) break;
          iVar3 = iVar3 + -1;
          bVar9 = *pbVar6 < *pbVar7;
          bVar8 = *pbVar6 == *pbVar7;
          pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;
          pbVar7 = pbVar7 + (uint)bVar11 * -2 + 1;
        } while (bVar8);
        if ((!bVar9 && !bVar8) == bVar9) {
          param_1[0xc] = 1;
          iVar3 = FUN_000669f0();
          goto joined_r0x000674c2;
        }
        bVar8 = false;
        bVar10 = param_5 == 0;
        if (!bVar10) {
          pcVar2 = (char *)dcgettext();
          printf(pcVar2);
          bVar8 = (undefined1 *)0xffffffef < &stack0xffffffc4;
          bVar10 = &stack0x00000000 == (undefined1 *)0x2c;
        }
      }
      iVar3 = 0x10;
      pbVar6 = (byte *)"//              ";
      do {
        if (iVar3 == 0) break;
        iVar3 = iVar3 + -1;
        bVar8 = *__ptr_00 < *pbVar6;
        bVar10 = *__ptr_00 == *pbVar6;
        __ptr_00 = __ptr_00 + (uint)bVar11 * -2 + 1;
        pbVar6 = pbVar6 + (uint)bVar11 * -2 + 1;
      } while (bVar10);
      if ((!bVar8 && !bVar10) != bVar8) {
        return 0;
      }
      uVar1 = *(undefined1 *)((int)param_1 + 0x6e);
      *(undefined1 *)((int)param_1 + 0x6e) = 0;
      __size = strtoul((char *)(param_1 + 0x19),(char **)0x0,10);
      param_1[8] = __size;
      *(undefined1 *)((int)param_1 + 0x6e) = uVar1;
      if ((__size < 8) || ((int)__size < 0)) {
        dcgettext();
        goto LAB_0006748d;
      }
      param_1[10] = __size + 0x3c + param_1[10];
      __ptr = malloc(__size + 1);
      param_1[7] = __ptr;
      if (__ptr == (void *)0x0) {
        dcgettext();
        error();
        return 1;
      }
      sVar4 = fread(__ptr,__size,1,param_3);
      if (sVar4 == 1) {
        uVar5 = param_1[8];
        if ((uVar5 & 1) != 0) {
          getc(param_3);
          uVar5 = param_1[8];
        }
        *(undefined1 *)(param_1[7] + uVar5) = 0;
        return 0;
      }
      free((void *)param_1[7]);
      param_1[7] = 0;
    }
    else if (sVar4 == 0) {
      return 0;
    }
  }
  dcgettext();
LAB_0006748d:
  error();
  return 1;
}

