
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;
  int iVar4;
  uint uVar5;
  bfd_boolean bVar6;
  undefined4 uVar7;
  undefined *puVar8;
  ar_hdr *paVar9;
  
  pcVar2 = (char *)(*(code *)PTR_strdup_00082424)(file_name);
  arch->file_name = pcVar2;
  *(undefined4 *)((int)&arch->index_num + 4) = 0;
  *(undefined4 *)&arch->index_num = 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;
  puVar8 = PTR_fseek_000823dc;
  arch->next_arhdr_offset = 8;
  iVar3 = (*(code *)puVar8)(file,8,0);
  if (iVar3 != 0) {
    puVar8 = PTR_UINT_00082018 + -0x35f8;
    goto LAB_0005a1c0;
  }
  paVar9 = &arch->arhdr;
  iVar4 = (*(code *)PTR_fread_000823ac)(paVar9,1,0x3c,file);
  iVar3 = 0;
  if (iVar4 != 0x3c) {
    if (iVar4 == 0) {
      return 0;
    }
    puVar8 = PTR_UINT_00082018 + -0x35cc;
    goto LAB_0005a1c0;
  }
  iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x35a8,0x10);
  if (iVar4 == 0) {
    uVar5 = 4;
LAB_0005a204:
    bVar6 = process_archive_index_and_symbols(arch,uVar5,read_symbols);
    if (bVar6 == 0) {
      return 1;
    }
  }
  else {
    iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3594,0x10);
    if (iVar4 == 0) {
      uVar5 = 8;
      arch->uses_64bit_indicies = 1;
      goto LAB_0005a204;
    }
    if (read_symbols != 0) {
      uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);
      (*(code *)PTR_printf_00082448)(uVar7,file_name);
    }
  }
  iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3564,0x10);
  puVar8 = PTR_strtoul_0008235c;
  if (iVar4 == 0) {
    cVar1 = (arch->arhdr).ar_fmag[0];
    (arch->arhdr).ar_fmag[0] = '\0';
    uVar5 = (*(code *)puVar8)((arch->arhdr).ar_size,0,10);
    (arch->arhdr).ar_fmag[0] = cVar1;
    arch->longnames_size = uVar5;
    puVar8 = PTR_malloc_00082384;
    if (uVar5 < 8) {
      puVar8 = PTR_UINT_00082018 + -0x3550;
    }
    else {
      if (-1 < (int)uVar5) {
        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;
        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);
        arch->longnames = pcVar2;
        if (pcVar2 == (char *)0x0) {
          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);
          error(pcVar2);
          return 1;
        }
        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);
        if (iVar3 == 1) {
          uVar5 = arch->longnames_size;
          if ((uVar5 & 1) != 0) {
            (*(code *)PTR_getc_00082258)(file);
            uVar5 = arch->longnames_size;
          }
          arch->longnames[uVar5] = '\0';
          return 0;
        }
        (*(code *)PTR_free_00082428)(arch->longnames);
        arch->longnames = (char *)0x0;
        puVar8 = PTR_UINT_00082018 + -0x34bc;
LAB_0005a1c0:
        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);
        error(pcVar2,file_name);
        return 1;
      }
      puVar8 = PTR_UINT_00082018 + -0x3520;
    }
    iVar3 = 1;
    pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);
    error(pcVar2,file_name,arch->longnames_size);
  }
  return iVar3;
}



undefined4
setup_archive(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
             int param_5)

{
  undefined1 uVar1;
  undefined4 uVar2;
  int iVar3;
  uint uVar4;
  undefined4 uVar5;
  undefined *puVar6;
  undefined4 *puVar7;
  
  uVar2 = (*(code *)PTR_strdup_00082424)(param_2);
  *param_1 = uVar2;
  param_1[3] = 0;
  param_1[2] = 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;
  puVar6 = PTR_fseek_000823dc;
  param_1[10] = 8;
  iVar3 = (*(code *)puVar6)(param_3,8,0);
  if (iVar3 != 0) {
    puVar6 = PTR_UINT_00082018 + -0x35f8;
    goto LAB_0005a1c0;
  }
  puVar7 = param_1 + 0xd;
  iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);
  uVar2 = 0;
  if (iVar3 != 0x3c) {
    if (iVar3 == 0) {
      return 0;
    }
    puVar6 = PTR_UINT_00082018 + -0x35cc;
    goto LAB_0005a1c0;
  }
  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);
  if (iVar3 == 0) {
    uVar5 = 4;
LAB_0005a204:
    iVar3 = FUN_000592d0(param_1,uVar5,param_5);
    if (iVar3 == 0) {
      return 1;
    }
  }
  else {
    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);
    if (iVar3 == 0) {
      uVar5 = 8;
      param_1[0xc] = 1;
      goto LAB_0005a204;
    }
    if (param_5 != 0) {
      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);
      (*(code *)PTR_printf_00082448)(uVar5,param_2);
    }
  }
  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);
  puVar6 = PTR_strtoul_0008235c;
  if (iVar3 == 0) {
    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);
    *(undefined1 *)((int)param_1 + 0x6e) = 0;
    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);
    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;
    param_1[8] = uVar4;
    puVar6 = PTR_malloc_00082384;
    if (uVar4 < 8) {
      puVar6 = PTR_UINT_00082018 + -0x3550;
    }
    else {
      if (-1 < (int)uVar4) {
        param_1[10] = param_1[10] + 0x3c + uVar4;
        iVar3 = (*(code *)puVar6)(uVar4 + 1);
        param_1[7] = iVar3;
        if (iVar3 == 0) {
          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);
          error(uVar2);
          return 1;
        }
        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);
        if (iVar3 == 1) {
          uVar4 = param_1[8];
          if ((uVar4 & 1) != 0) {
            (*(code *)PTR_getc_00082258)(param_3);
            uVar4 = param_1[8];
          }
          *(undefined1 *)(param_1[7] + uVar4) = 0;
          return 0;
        }
        (*(code *)PTR_free_00082428)(param_1[7]);
        param_1[7] = 0;
        puVar6 = PTR_UINT_00082018 + -0x34bc;
LAB_0005a1c0:
        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);
        error(uVar2,param_2);
        return 1;
      }
      puVar6 = PTR_UINT_00082018 + -0x3520;
    }
    uVar2 = 1;
    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);
    error(uVar5,param_2,param_1[8]);
  }
  return uVar2;
}


lui gp,0x3
addiu gp,gp,-0x24
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7b4c(gp)
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s3,0x24(sp)
or s3,a1,zero
sw s2,0x20(sp)
or s2,a3,zero
sw s1,0x1c(sp)
or s1,a2,zero
sw s0,0x18(sp)
or s0,a0,zero
sw s4,0x28(sp)
jalr t9
_or a0,a1,zero
or a1,zero,zero
lw gp,0x10(sp)
or a0,zero,zero
sw v0,0x0(s0)
li v0,0x8
sw a1,0xc(s0)
or a2,zero,zero
li a1,0x8
sw a0,0x8(s0)
sw s1,0x4(s0)
or a0,s1,zero
sw zero,0x10(s0)
sw zero,0x14(s0)
sw zero,0x18(s0)
sw zero,0x1c(s0)
sw zero,0x20(s0)
sw zero,0x24(s0)
sw s2,0x2c(s0)
sw zero,0x30(s0)
lw t9,-0x7b94(gp)
jalr t9
_sw v0,0x28(s0)
bne v0,zero,0x0005a1ac
_lw gp,0x10(sp)
lw t9,-0x7bc4(gp)
addiu s4,s0,0x34
li a2,0x3c
li a1,0x1
or a3,s1,zero
or a0,s4,zero
jalr t9
_or s2,v0,zero
li v1,0x3c
beq v0,v1,0x0005a094
_lw gp,0x10(sp)
bne v0,zero,0x0005a228
_lw a1,-0x7f58(gp)
lw ra,0x2c(sp)
or v0,s2,zero
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
lw a1,-0x7f58(gp)
li a2,0x10
lw t9,-0x7d0c(gp)
or a0,s4,zero
jalr t9
_addiu a1,a1,-0x35a8
beq v0,zero,0x0005a200
_lw gp,0x10(sp)
lw a1,-0x7f58(gp)
li a2,0x10
lw t9,-0x7d0c(gp)
or a0,s4,zero
jalr t9
_addiu a1,a1,-0x3594
beq v0,zero,0x0005a278
_lw gp,0x10(sp)
lw v0,0x40(sp)
bne v0,zero,0x0005a288
_li a2,0x5
lw a1,-0x7f58(gp)
li a2,0x10
lw t9,-0x7d0c(gp)
or a0,s4,zero
jalr t9
_addiu a1,a1,-0x3564
bne v0,zero,0x0005a070
_lw gp,0x10(sp)
lw t9,-0x7c14(gp)
li a2,0xa
or a1,zero,zero
lb s4,0x6e(s0)
addiu a0,s0,0x64
jalr t9
_sb zero,0x6e(s0)
or s2,v0,zero
lw gp,0x10(sp)
sltiu v0,v0,0x8
sb s4,0x6e(s0)
bne v0,zero,0x0005a23c
_sw s2,0x20(s0)
bltz s2,0x0005a2b8
_lw a1,-0x7f58(gp)
lw v0,0x28(s0)
addiu a0,s2,0x1
lw t9,-0x7bec(gp)
addiu v0,v0,0x3c
addu v0,v0,s2
jalr t9
_sw v0,0x28(s0)
lw gp,0x10(sp)
beq v0,zero,0x0005a2f8
_sw v0,0x1c(s0)
lw t9,-0x7bc4(gp)
li a2,0x1
or a3,s1,zero
or a1,s2,zero
jalr t9
_or a0,v0,zero
li v1,0x1
bne v0,v1,0x0005a2cc
_lw gp,0x10(sp)
lw v1,0x20(s0)
andi v0,v1,0x1
bne v0,zero,0x0005a32c
_lw t9,-0x7d18(gp)
lw v0,0x1c(s0)
or s2,zero,zero
addu v0,v0,v1
b 0x0005a070
_sb zero,0x0(v0)
lw a1,-0x7f58(gp)
li a2,0x5
lw t9,-0x7b7c(gp)
or a0,zero,zero
addiu a1,a1,-0x35f8
jalr t9
_li s2,0x1
or a1,s3,zero
lw gp,0x10(sp)
lw t9,-0x7f0c(gp)
bal 0x00059070
_or a0,v0,zero
or v0,s2,zero
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
li a1,0x4
lw t9,-0x7fc8(gp)
or a0,s0,zero
addiu t9,t9,-0x6d30
bal 0x000592d0
_lw a2,0x40(sp)
bne v0,zero,0x0005a0e0
_lw gp,0x10(sp)
b 0x0005a070
_li s2,0x1
li a2,0x5
lw t9,-0x7b7c(gp)
or a0,zero,zero
b 0x0005a1c0
_addiu a1,a1,-0x35cc
lw a1,-0x7f58(gp)
li a2,0x5
lw t9,-0x7b7c(gp)
or a0,zero,zero
addiu a1,a1,-0x3550
jalr t9
_li s2,0x1
or a1,s3,zero
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x7f0c(gp)
bal 0x00059070
_lw a2,0x20(s0)
b 0x0005a074
_lw ra,0x2c(sp)
li v0,0x1
li a1,0x8
b 0x0005a204
_sw v0,0x30(s0)
lw a1,-0x7f58(gp)
lw t9,-0x7b7c(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x3580
or a1,s3,zero
lw gp,0x10(sp)
lw t9,-0x7b28(gp)
jalr t9
_or a0,v0,zero
b 0x0005a0e0
_lw gp,0x10(sp)
li a2,0x5
lw t9,-0x7b7c(gp)
or a0,zero,zero
b 0x0005a250
_addiu a1,a1,-0x3520
lw t9,-0x7b48(gp)
jalr t9
_lw a0,0x1c(s0)
li a2,0x5
lw gp,0x10(sp)
or a0,zero,zero
sw zero,0x1c(s0)
lw a1,-0x7f58(gp)
lw t9,-0x7b7c(gp)
b 0x0005a1c0
_addiu a1,a1,-0x34bc
lw a1,-0x7f58(gp)
li a2,0x5
lw t9,-0x7b7c(gp)
or a0,zero,zero
li s2,0x1
jalr t9
_addiu a1,a1,-0x34f0
lw gp,0x10(sp)
lw t9,-0x7f0c(gp)
bal 0x00059070
_or a0,v0,zero
b 0x0005a074
_lw ra,0x2c(sp)
jalr t9
_or a0,s1,zero
b 0x0005a198
_lw v1,0x20(s0)
(translation_unit "undefined4\nsetup_archive(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)\n\n{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  \n  uVar2 = (*(code *)PTR_strdup_00082424)(param_2);\n  *param_1 = uVar2;\n  param_1[3] = 0;\n  param_1[2] = 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  puVar6 = PTR_fseek_000823dc;\n  param_1[10] = 8;\n  iVar3 = (*(code *)puVar6)(param_3,8,0);\n  if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  puVar7 = param_1 + 0xd;\n  iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);\n  uVar2 = 0;\n  if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar6 = PTR_strtoul_0008235c;\n  if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4\nsetup_archive(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)\n\n{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  \n  uVar2 = (*(code *)PTR_strdup_00082424)(param_2);\n  *param_1 = uVar2;\n  param_1[3] = 0;\n  param_1[2] = 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  puVar6 = PTR_fseek_000823dc;\n  param_1[10] = 8;\n  iVar3 = (*(code *)puVar6)(param_3,8,0);\n  if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  puVar7 = param_1 + 0xd;\n  iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);\n  uVar2 = 0;\n  if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar6 = PTR_strtoul_0008235c;\n  if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "setup_archive(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  \n  uVar2 = (*(code *)PTR_strdup_00082424)(param_2);\n  *param_1 = uVar2;\n  param_1[3] = 0;\n  param_1[2] = 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  puVar6 = PTR_fseek_000823dc;\n  param_1[10] = 8;\n  iVar3 = (*(code *)puVar6)(param_3,8,0);\n  if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  puVar7 = param_1 + 0xd;\n  iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);\n  uVar2 = 0;\n  if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar6 = PTR_strtoul_0008235c;\n  if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }\n  return uVar2;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (expression_statement "uVar2 = (*(code *)PTR_strdup_00082424)(param_2);" (assignment_expression "uVar2 = (*(code *)PTR_strdup_00082424)(param_2)" identifier = (call_expression "(*(code *)PTR_strdup_00082424)(param_2)" (parenthesized_expression "(*(code *)PTR_strdup_00082424)" ( (pointer_expression "*(code *)PTR_strdup_00082424" * (cast_expression "(code *)PTR_strdup_00082424" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (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[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" 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 "puVar6 = PTR_fseek_000823dc;" (assignment_expression "puVar6 = PTR_fseek_000823dc" identifier = identifier) ;) (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 = (*(code *)puVar6)(param_3,8,0);" (assignment_expression "iVar3 = (*(code *)puVar6)(param_3,8,0)" identifier = (call_expression "(*(code *)puVar6)(param_3,8,0)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,8,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }" { (expression_statement "puVar6 = PTR_UINT_00082018 + -0x35f8;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x35f8" identifier = (binary_expression "PTR_UINT_00082018 + -0x35f8" identifier + number_literal)) ;) (goto_statement "goto LAB_0005a1c0;" goto statement_identifier ;) })) (expression_statement "puVar7 = param_1 + 0xd;" (assignment_expression "puVar7 = param_1 + 0xd" identifier = (binary_expression "param_1 + 0xd" identifier + number_literal)) ;) (expression_statement "iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);" (assignment_expression "iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3)" identifier = (call_expression "(*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3)" (parenthesized_expression "(*(code *)PTR_fread_000823ac)" ( (pointer_expression "*(code *)PTR_fread_000823ac" * (cast_expression "(code *)PTR_fread_000823ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,1,0x3c,param_3)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }" if (parenthesized_expression "(iVar3 != 0x3c)" ( (binary_expression "iVar3 != 0x3c" identifier != number_literal) )) (compound_statement "{\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }" { (if_statement "if (iVar3 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar6 = PTR_UINT_00082018 + -0x35cc;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x35cc" identifier = (binary_expression "PTR_UINT_00082018 + -0x35cc" identifier + number_literal)) ;) (goto_statement "goto LAB_0005a1c0;" goto statement_identifier ;) })) (expression_statement "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10)" identifier = (call_expression "(*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" ( (pointer_expression "*(code *)PTR_strncmp_00082264" * (cast_expression "(code *)PTR_strncmp_00082264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,PTR_UINT_00082018 + -0x35a8,0x10)" ( identifier , (binary_expression "PTR_UINT_00082018 + -0x35a8" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }" { (expression_statement "uVar5 = 4;" (assignment_expression "uVar5 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);" statement_identifier : (expression_statement "iVar3 = FUN_000592d0(param_1,uVar5,param_5);" (assignment_expression "iVar3 = FUN_000592d0(param_1,uVar5,param_5)" identifier = (call_expression "FUN_000592d0(param_1,uVar5,param_5)" identifier (argument_list "(param_1,uVar5,param_5)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (iVar3 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }" else (compound_statement "{\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10)" identifier = (call_expression "(*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" ( (pointer_expression "*(code *)PTR_strncmp_00082264" * (cast_expression "(code *)PTR_strncmp_00082264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,PTR_UINT_00082018 + -0x3594,0x10)" ( identifier , (binary_expression "PTR_UINT_00082018 + -0x3594" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }" { (expression_statement "uVar5 = 8;" (assignment_expression "uVar5 = 8" identifier = number_literal) ;) (expression_statement "param_1[0xc] = 1;" (assignment_expression "param_1[0xc] = 1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_0005a204;" goto statement_identifier ;) })) (if_statement "if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }" { (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_00082018 + -0x3580,5)" ( number_literal , (binary_expression "PTR_UINT_00082018 + -0x3580" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_printf_00082448)(uVar5,param_2);" (call_expression "(*(code *)PTR_printf_00082448)(uVar5,param_2)" (parenthesized_expression "(*(code *)PTR_printf_00082448)" ( (pointer_expression "*(code *)PTR_printf_00082448" * (cast_expression "(code *)PTR_printf_00082448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,param_2)" ( identifier , identifier ))) ;) })) }))) (expression_statement "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10)" identifier = (call_expression "(*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" ( (pointer_expression "*(code *)PTR_strncmp_00082264" * (cast_expression "(code *)PTR_strncmp_00082264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,PTR_UINT_00082018 + -0x3564,0x10)" ( identifier , (binary_expression "PTR_UINT_00082018 + -0x3564" identifier + number_literal) , number_literal )))) ;) (expression_statement "puVar6 = PTR_strtoul_0008235c;" (assignment_expression "puVar6 = PTR_strtoul_0008235c" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }" { (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 "uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);" (assignment_expression "uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10)" identifier = (call_expression "(*(code *)puVar6)(param_1 + 0x19,0,10)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 0x19,0,10)" ( (binary_expression "param_1 + 0x19" identifier + number_literal) , number_literal , number_literal )))) ;) (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) ;) (expression_statement "param_1[8] = uVar4;" (assignment_expression "param_1[8] = uVar4" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6 = PTR_malloc_00082384;" (assignment_expression "puVar6 = PTR_malloc_00082384" identifier = identifier) ;) (if_statement "if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }" if (parenthesized_expression "(uVar4 < 8)" ( (binary_expression "uVar4 < 8" identifier < number_literal) )) (compound_statement "{\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }" { (expression_statement "puVar6 = PTR_UINT_00082018 + -0x3550;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x3550" identifier = (binary_expression "PTR_UINT_00082018 + -0x3550" identifier + number_literal)) ;) }) (else_clause "else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }" else (compound_statement "{\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }" { (if_statement "if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }" if (parenthesized_expression "(-1 < (int)uVar4)" ( (binary_expression "-1 < (int)uVar4" number_literal < (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }" { (expression_statement "param_1[10] = param_1[10] + 0x3c + uVar4;" (assignment_expression "param_1[10] = param_1[10] + 0x3c + uVar4" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (binary_expression "param_1[10] + 0x3c + uVar4" (binary_expression "param_1[10] + 0x3c" (subscript_expression "param_1[10]" identifier [ number_literal ]) + number_literal) + identifier)) ;) (expression_statement "iVar3 = (*(code *)puVar6)(uVar4 + 1);" (assignment_expression "iVar3 = (*(code *)puVar6)(uVar4 + 1)" identifier = (call_expression "(*(code *)puVar6)(uVar4 + 1)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) )))) ;) (expression_statement "param_1[7] = iVar3;" (assignment_expression "param_1[7] = iVar3" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }" { (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_00082018 + -0x34f0,5)" ( number_literal , (binary_expression "PTR_UINT_00082018 + -0x34f0" identifier + number_literal) , number_literal )))) ;) (expression_statement "error(uVar2);" (call_expression "error(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);" (assignment_expression "iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3)" identifier = (call_expression "(*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3)" (parenthesized_expression "(*(code *)PTR_fread_000823ac)" ( (pointer_expression "*(code *)PTR_fread_000823ac" * (cast_expression "(code *)PTR_fread_000823ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,uVar4,1,param_3)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }" { (expression_statement "uVar4 = param_1[8];" (assignment_expression "uVar4 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (if_statement "if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }" if (parenthesized_expression "((uVar4 & 1) != 0)" ( (binary_expression "(uVar4 & 1) != 0" (parenthesized_expression "(uVar4 & 1)" ( (binary_expression "uVar4 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }" { (expression_statement "(*(code *)PTR_getc_00082258)(param_3);" (call_expression "(*(code *)PTR_getc_00082258)(param_3)" (parenthesized_expression "(*(code *)PTR_getc_00082258)" ( (pointer_expression "*(code *)PTR_getc_00082258" * (cast_expression "(code *)PTR_getc_00082258" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier ))) ;) (expression_statement "uVar4 = param_1[8];" (assignment_expression "uVar4 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined1 *)(param_1[7] + uVar4) = 0;" (assignment_expression "*(undefined1 *)(param_1[7] + uVar4) = 0" (pointer_expression "*(undefined1 *)(param_1[7] + uVar4)" * (cast_expression "(undefined1 *)(param_1[7] + uVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[7] + uVar4)" ( (binary_expression "param_1[7] + uVar4" (subscript_expression "param_1[7]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "(*(code *)PTR_free_00082428)(param_1[7]);" (call_expression "(*(code *)PTR_free_00082428)(param_1[7])" (parenthesized_expression "(*(code *)PTR_free_00082428)" ( (pointer_expression "*(code *)PTR_free_00082428" * (cast_expression "(code *)PTR_free_00082428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[7])" ( (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) ;) (expression_statement "puVar6 = PTR_UINT_00082018 + -0x34bc;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x34bc" identifier = (binary_expression "PTR_UINT_00082018 + -0x34bc" identifier + number_literal)) ;) (labeled_statement "LAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);" statement_identifier : (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar6,5)" ( number_literal , identifier , number_literal )))) ;)) (expression_statement "error(uVar2,param_2);" (call_expression "error(uVar2,param_2)" identifier (argument_list "(uVar2,param_2)" ( identifier , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar6 = PTR_UINT_00082018 + -0x3520;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x3520" identifier = (binary_expression "PTR_UINT_00082018 + -0x3520" identifier + number_literal)) ;) }))) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar6,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "error(uVar5,param_2,param_1[8]);" (call_expression "error(uVar5,param_2,param_1[8])" identifier (argument_list "(uVar5,param_2,param_1[8])" ( identifier , identifier , (subscript_expression "param_1[8]" identifier [ number_literal ]) ))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "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  int iVar4;\n  uint uVar5;\n  bfd_boolean bVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  ar_hdr *paVar9;\n  \n  pcVar2 = (char *)(*(code *)PTR_strdup_00082424)(file_name);\n  arch->file_name = pcVar2;\n  *(undefined4 *)((int)&arch->index_num + 4) = 0;\n  *(undefined4 *)&arch->index_num = 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  puVar8 = PTR_fseek_000823dc;\n  arch->next_arhdr_offset = 8;\n  iVar3 = (*(code *)puVar8)(file,8,0);\n  if (iVar3 != 0) {\n    puVar8 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  paVar9 = &arch->arhdr;\n  iVar4 = (*(code *)PTR_fread_000823ac)(paVar9,1,0x3c,file);\n  iVar3 = 0;\n  if (iVar4 != 0x3c) {\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar8 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar4 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    bVar6 = process_archive_index_and_symbols(arch,uVar5,read_symbols);\n    if (bVar6 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar4 == 0) {\n      uVar5 = 8;\n      arch->uses_64bit_indicies = 1;\n      goto LAB_0005a204;\n    }\n    if (read_symbols != 0) {\n      uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar7,file_name);\n    }\n  }\n  iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar8 = PTR_strtoul_0008235c;\n  if (iVar4 == 0) {\n    cVar1 = (arch->arhdr).ar_fmag[0];\n    (arch->arhdr).ar_fmag[0] = '\0';\n    uVar5 = (*(code *)puVar8)((arch->arhdr).ar_size,0,10);\n    (arch->arhdr).ar_fmag[0] = cVar1;\n    arch->longnames_size = uVar5;\n    puVar8 = PTR_malloc_00082384;\n    if (uVar5 < 8) {\n      puVar8 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar5) {\n        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;\n        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);\n        arch->longnames = pcVar2;\n        if (pcVar2 == (char *)0x0) {\n          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);\n        if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(arch->longnames);\n        arch->longnames = (char *)0x0;\n        puVar8 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n        error(pcVar2,file_name);\n        return 1;\n      }\n      puVar8 = PTR_UINT_00082018 + -0x3520;\n    }\n    iVar3 = 1;\n    pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n    error(pcVar2,file_name,arch->longnames_size);\n  }\n  return iVar3;\n}\n\n" (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  int iVar4;\n  uint uVar5;\n  bfd_boolean bVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  ar_hdr *paVar9;\n  \n  pcVar2 = (char *)(*(code *)PTR_strdup_00082424)(file_name);\n  arch->file_name = pcVar2;\n  *(undefined4 *)((int)&arch->index_num + 4) = 0;\n  *(undefined4 *)&arch->index_num = 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  puVar8 = PTR_fseek_000823dc;\n  arch->next_arhdr_offset = 8;\n  iVar3 = (*(code *)puVar8)(file,8,0);\n  if (iVar3 != 0) {\n    puVar8 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  paVar9 = &arch->arhdr;\n  iVar4 = (*(code *)PTR_fread_000823ac)(paVar9,1,0x3c,file);\n  iVar3 = 0;\n  if (iVar4 != 0x3c) {\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar8 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar4 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    bVar6 = process_archive_index_and_symbols(arch,uVar5,read_symbols);\n    if (bVar6 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar4 == 0) {\n      uVar5 = 8;\n      arch->uses_64bit_indicies = 1;\n      goto LAB_0005a204;\n    }\n    if (read_symbols != 0) {\n      uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar7,file_name);\n    }\n  }\n  iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar8 = PTR_strtoul_0008235c;\n  if (iVar4 == 0) {\n    cVar1 = (arch->arhdr).ar_fmag[0];\n    (arch->arhdr).ar_fmag[0] = '\0';\n    uVar5 = (*(code *)puVar8)((arch->arhdr).ar_size,0,10);\n    (arch->arhdr).ar_fmag[0] = cVar1;\n    arch->longnames_size = uVar5;\n    puVar8 = PTR_malloc_00082384;\n    if (uVar5 < 8) {\n      puVar8 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar5) {\n        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;\n        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);\n        arch->longnames = pcVar2;\n        if (pcVar2 == (char *)0x0) {\n          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);\n        if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(arch->longnames);\n        arch->longnames = (char *)0x0;\n        puVar8 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n        error(pcVar2,file_name);\n        return 1;\n      }\n      puVar8 = PTR_UINT_00082018 + -0x3520;\n    }\n    iVar3 = 1;\n    pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n    error(pcVar2,file_name,arch->longnames_size);\n  }\n  return iVar3;\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  int iVar4;\n  uint uVar5;\n  bfd_boolean bVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  ar_hdr *paVar9;\n  \n  pcVar2 = (char *)(*(code *)PTR_strdup_00082424)(file_name);\n  arch->file_name = pcVar2;\n  *(undefined4 *)((int)&arch->index_num + 4) = 0;\n  *(undefined4 *)&arch->index_num = 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  puVar8 = PTR_fseek_000823dc;\n  arch->next_arhdr_offset = 8;\n  iVar3 = (*(code *)puVar8)(file,8,0);\n  if (iVar3 != 0) {\n    puVar8 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  paVar9 = &arch->arhdr;\n  iVar4 = (*(code *)PTR_fread_000823ac)(paVar9,1,0x3c,file);\n  iVar3 = 0;\n  if (iVar4 != 0x3c) {\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar8 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar4 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    bVar6 = process_archive_index_and_symbols(arch,uVar5,read_symbols);\n    if (bVar6 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar4 == 0) {\n      uVar5 = 8;\n      arch->uses_64bit_indicies = 1;\n      goto LAB_0005a204;\n    }\n    if (read_symbols != 0) {\n      uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar7,file_name);\n    }\n  }\n  iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar8 = PTR_strtoul_0008235c;\n  if (iVar4 == 0) {\n    cVar1 = (arch->arhdr).ar_fmag[0];\n    (arch->arhdr).ar_fmag[0] = '\0';\n    uVar5 = (*(code *)puVar8)((arch->arhdr).ar_size,0,10);\n    (arch->arhdr).ar_fmag[0] = cVar1;\n    arch->longnames_size = uVar5;\n    puVar8 = PTR_malloc_00082384;\n    if (uVar5 < 8) {\n      puVar8 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar5) {\n        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;\n        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);\n        arch->longnames = pcVar2;\n        if (pcVar2 == (char *)0x0) {\n          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);\n        if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(arch->longnames);\n        arch->longnames = (char *)0x0;\n        puVar8 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n        error(pcVar2,file_name);\n        return 1;\n      }\n      puVar8 = PTR_UINT_00082018 + -0x3520;\n    }\n    iVar3 = 1;\n    pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n    error(pcVar2,file_name,arch->longnames_size);\n  }\n  return iVar3;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "bfd_boolean bVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "ar_hdr *paVar9;" type_identifier (pointer_declarator "*paVar9" * identifier) ;) (expression_statement "pcVar2 = (char *)(*(code *)PTR_strdup_00082424)(file_name);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_strdup_00082424)(file_name)" identifier = (cast_expression "(char *)(*(code *)PTR_strdup_00082424)(file_name)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strdup_00082424)(file_name)" (parenthesized_expression "(*(code *)PTR_strdup_00082424)" ( (pointer_expression "*(code *)PTR_strdup_00082424" * (cast_expression "(code *)PTR_strdup_00082424" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(file_name)" ( identifier ))))) ;) (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 "*(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 = 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 "puVar8 = PTR_fseek_000823dc;" (assignment_expression "puVar8 = PTR_fseek_000823dc" identifier = identifier) ;) (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 = (*(code *)puVar8)(file,8,0);" (assignment_expression "iVar3 = (*(code *)puVar8)(file,8,0)" identifier = (call_expression "(*(code *)puVar8)(file,8,0)" (parenthesized_expression "(*(code *)puVar8)" ( (pointer_expression "*(code *)puVar8" * (cast_expression "(code *)puVar8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(file,8,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n    puVar8 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar8 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }" { (expression_statement "puVar8 = PTR_UINT_00082018 + -0x35f8;" (assignment_expression "puVar8 = PTR_UINT_00082018 + -0x35f8" identifier = (binary_expression "PTR_UINT_00082018 + -0x35f8" identifier + number_literal)) ;) (goto_statement "goto LAB_0005a1c0;" goto statement_identifier ;) })) (expression_statement "paVar9 = &arch->arhdr;" (assignment_expression "paVar9 = &arch->arhdr" identifier = (pointer_expression "&arch->arhdr" & (field_expression "arch->arhdr" identifier -> field_identifier))) ;) (expression_statement "iVar4 = (*(code *)PTR_fread_000823ac)(paVar9,1,0x3c,file);" (assignment_expression "iVar4 = (*(code *)PTR_fread_000823ac)(paVar9,1,0x3c,file)" identifier = (call_expression "(*(code *)PTR_fread_000823ac)(paVar9,1,0x3c,file)" (parenthesized_expression "(*(code *)PTR_fread_000823ac)" ( (pointer_expression "*(code *)PTR_fread_000823ac" * (cast_expression "(code *)PTR_fread_000823ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(paVar9,1,0x3c,file)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (iVar4 != 0x3c) {\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar8 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }" if (parenthesized_expression "(iVar4 != 0x3c)" ( (binary_expression "iVar4 != 0x3c" identifier != number_literal) )) (compound_statement "{\n    if (iVar4 == 0) {\n      return 0;\n    }\n    puVar8 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }" { (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar8 = PTR_UINT_00082018 + -0x35cc;" (assignment_expression "puVar8 = PTR_UINT_00082018 + -0x35cc" identifier = (binary_expression "PTR_UINT_00082018 + -0x35cc" identifier + number_literal)) ;) (goto_statement "goto LAB_0005a1c0;" goto statement_identifier ;) })) (expression_statement "iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x35a8,0x10);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x35a8,0x10)" identifier = (call_expression "(*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x35a8,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" ( (pointer_expression "*(code *)PTR_strncmp_00082264" * (cast_expression "(code *)PTR_strncmp_00082264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(paVar9,PTR_UINT_00082018 + -0x35a8,0x10)" ( identifier , (binary_expression "PTR_UINT_00082018 + -0x35a8" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    bVar6 = process_archive_index_and_symbols(arch,uVar5,read_symbols);\n    if (bVar6 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar4 == 0) {\n      uVar5 = 8;\n      arch->uses_64bit_indicies = 1;\n      goto LAB_0005a204;\n    }\n    if (read_symbols != 0) {\n      uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar7,file_name);\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = 4;\nLAB_0005a204:\n    bVar6 = process_archive_index_and_symbols(arch,uVar5,read_symbols);\n    if (bVar6 == 0) {\n      return 1;\n    }\n  }" { (expression_statement "uVar5 = 4;" (assignment_expression "uVar5 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0005a204:\n    bVar6 = process_archive_index_and_symbols(arch,uVar5,read_symbols);" statement_identifier : (expression_statement "bVar6 = process_archive_index_and_symbols(arch,uVar5,read_symbols);" (assignment_expression "bVar6 = process_archive_index_and_symbols(arch,uVar5,read_symbols)" identifier = (call_expression "process_archive_index_and_symbols(arch,uVar5,read_symbols)" identifier (argument_list "(arch,uVar5,read_symbols)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (bVar6 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(bVar6 == 0)" ( (binary_expression "bVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n    iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar4 == 0) {\n      uVar5 = 8;\n      arch->uses_64bit_indicies = 1;\n      goto LAB_0005a204;\n    }\n    if (read_symbols != 0) {\n      uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar7,file_name);\n    }\n  }" else (compound_statement "{\n    iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar4 == 0) {\n      uVar5 = 8;\n      arch->uses_64bit_indicies = 1;\n      goto LAB_0005a204;\n    }\n    if (read_symbols != 0) {\n      uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar7,file_name);\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3594,0x10);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3594,0x10)" identifier = (call_expression "(*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3594,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" ( (pointer_expression "*(code *)PTR_strncmp_00082264" * (cast_expression "(code *)PTR_strncmp_00082264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(paVar9,PTR_UINT_00082018 + -0x3594,0x10)" ( identifier , (binary_expression "PTR_UINT_00082018 + -0x3594" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n      uVar5 = 8;\n      arch->uses_64bit_indicies = 1;\n      goto LAB_0005a204;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar5 = 8;\n      arch->uses_64bit_indicies = 1;\n      goto LAB_0005a204;\n    }" { (expression_statement "uVar5 = 8;" (assignment_expression "uVar5 = 8" identifier = number_literal) ;) (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) ;) (goto_statement "goto LAB_0005a204;" goto statement_identifier ;) })) (if_statement "if (read_symbols != 0) {\n      uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar7,file_name);\n    }" if (parenthesized_expression "(read_symbols != 0)" ( (binary_expression "read_symbols != 0" identifier != number_literal) )) (compound_statement "{\n      uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar7,file_name);\n    }" { (expression_statement "uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);" (assignment_expression "uVar7 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_00082018 + -0x3580,5)" ( number_literal , (binary_expression "PTR_UINT_00082018 + -0x3580" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_printf_00082448)(uVar7,file_name);" (call_expression "(*(code *)PTR_printf_00082448)(uVar7,file_name)" (parenthesized_expression "(*(code *)PTR_printf_00082448)" ( (pointer_expression "*(code *)PTR_printf_00082448" * (cast_expression "(code *)PTR_printf_00082448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,file_name)" ( identifier , identifier ))) ;) })) }))) (expression_statement "iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3564,0x10);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3564,0x10)" identifier = (call_expression "(*(code *)PTR_strncmp_00082264)(paVar9,PTR_UINT_00082018 + -0x3564,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" ( (pointer_expression "*(code *)PTR_strncmp_00082264" * (cast_expression "(code *)PTR_strncmp_00082264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(paVar9,PTR_UINT_00082018 + -0x3564,0x10)" ( identifier , (binary_expression "PTR_UINT_00082018 + -0x3564" identifier + number_literal) , number_literal )))) ;) (expression_statement "puVar8 = PTR_strtoul_0008235c;" (assignment_expression "puVar8 = PTR_strtoul_0008235c" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n    cVar1 = (arch->arhdr).ar_fmag[0];\n    (arch->arhdr).ar_fmag[0] = '\0';\n    uVar5 = (*(code *)puVar8)((arch->arhdr).ar_size,0,10);\n    (arch->arhdr).ar_fmag[0] = cVar1;\n    arch->longnames_size = uVar5;\n    puVar8 = PTR_malloc_00082384;\n    if (uVar5 < 8) {\n      puVar8 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar5) {\n        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;\n        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);\n        arch->longnames = pcVar2;\n        if (pcVar2 == (char *)0x0) {\n          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);\n        if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(arch->longnames);\n        arch->longnames = (char *)0x0;\n        puVar8 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n        error(pcVar2,file_name);\n        return 1;\n      }\n      puVar8 = PTR_UINT_00082018 + -0x3520;\n    }\n    iVar3 = 1;\n    pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n    error(pcVar2,file_name,arch->longnames_size);\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    cVar1 = (arch->arhdr).ar_fmag[0];\n    (arch->arhdr).ar_fmag[0] = '\0';\n    uVar5 = (*(code *)puVar8)((arch->arhdr).ar_size,0,10);\n    (arch->arhdr).ar_fmag[0] = cVar1;\n    arch->longnames_size = uVar5;\n    puVar8 = PTR_malloc_00082384;\n    if (uVar5 < 8) {\n      puVar8 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar5) {\n        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;\n        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);\n        arch->longnames = pcVar2;\n        if (pcVar2 == (char *)0x0) {\n          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);\n        if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(arch->longnames);\n        arch->longnames = (char *)0x0;\n        puVar8 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n        error(pcVar2,file_name);\n        return 1;\n      }\n      puVar8 = PTR_UINT_00082018 + -0x3520;\n    }\n    iVar3 = 1;\n    pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n    error(pcVar2,file_name,arch->longnames_size);\n  }" { (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 "uVar5 = (*(code *)puVar8)((arch->arhdr).ar_size,0,10);" (assignment_expression "uVar5 = (*(code *)puVar8)((arch->arhdr).ar_size,0,10)" identifier = (call_expression "(*(code *)puVar8)((arch->arhdr).ar_size,0,10)" (parenthesized_expression "(*(code *)puVar8)" ( (pointer_expression "*(code *)puVar8" * (cast_expression "(code *)puVar8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((arch->arhdr).ar_size,0,10)" ( (field_expression "(arch->arhdr).ar_size" (parenthesized_expression "(arch->arhdr)" ( (field_expression "arch->arhdr" identifier -> field_identifier) )) . field_identifier) , number_literal , number_literal )))) ;) (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) ;) (expression_statement "arch->longnames_size = uVar5;" (assignment_expression "arch->longnames_size = uVar5" (field_expression "arch->longnames_size" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar8 = PTR_malloc_00082384;" (assignment_expression "puVar8 = PTR_malloc_00082384" identifier = identifier) ;) (if_statement "if (uVar5 < 8) {\n      puVar8 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar5) {\n        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;\n        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);\n        arch->longnames = pcVar2;\n        if (pcVar2 == (char *)0x0) {\n          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);\n        if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(arch->longnames);\n        arch->longnames = (char *)0x0;\n        puVar8 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n        error(pcVar2,file_name);\n        return 1;\n      }\n      puVar8 = PTR_UINT_00082018 + -0x3520;\n    }" if (parenthesized_expression "(uVar5 < 8)" ( (binary_expression "uVar5 < 8" identifier < number_literal) )) (compound_statement "{\n      puVar8 = PTR_UINT_00082018 + -0x3550;\n    }" { (expression_statement "puVar8 = PTR_UINT_00082018 + -0x3550;" (assignment_expression "puVar8 = PTR_UINT_00082018 + -0x3550" identifier = (binary_expression "PTR_UINT_00082018 + -0x3550" identifier + number_literal)) ;) }) (else_clause "else {\n      if (-1 < (int)uVar5) {\n        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;\n        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);\n        arch->longnames = pcVar2;\n        if (pcVar2 == (char *)0x0) {\n          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);\n        if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(arch->longnames);\n        arch->longnames = (char *)0x0;\n        puVar8 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n        error(pcVar2,file_name);\n        return 1;\n      }\n      puVar8 = PTR_UINT_00082018 + -0x3520;\n    }" else (compound_statement "{\n      if (-1 < (int)uVar5) {\n        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;\n        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);\n        arch->longnames = pcVar2;\n        if (pcVar2 == (char *)0x0) {\n          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);\n        if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(arch->longnames);\n        arch->longnames = (char *)0x0;\n        puVar8 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n        error(pcVar2,file_name);\n        return 1;\n      }\n      puVar8 = PTR_UINT_00082018 + -0x3520;\n    }" { (if_statement "if (-1 < (int)uVar5) {\n        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;\n        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);\n        arch->longnames = pcVar2;\n        if (pcVar2 == (char *)0x0) {\n          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);\n        if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(arch->longnames);\n        arch->longnames = (char *)0x0;\n        puVar8 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n        error(pcVar2,file_name);\n        return 1;\n      }" if (parenthesized_expression "(-1 < (int)uVar5)" ( (binary_expression "-1 < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;\n        pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);\n        arch->longnames = pcVar2;\n        if (pcVar2 == (char *)0x0) {\n          pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);\n        if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(arch->longnames);\n        arch->longnames = (char *)0x0;\n        puVar8 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);\n        error(pcVar2,file_name);\n        return 1;\n      }" { (expression_statement "arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5;" (assignment_expression "arch->next_arhdr_offset = arch->next_arhdr_offset + 0x3c + uVar5" (field_expression "arch->next_arhdr_offset" identifier -> field_identifier) = (binary_expression "arch->next_arhdr_offset + 0x3c + uVar5" (binary_expression "arch->next_arhdr_offset + 0x3c" (field_expression "arch->next_arhdr_offset" identifier -> field_identifier) + number_literal) + identifier)) ;) (expression_statement "pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1);" (assignment_expression "pcVar2 = (char *)(*(code *)puVar8)(uVar5 + 1)" identifier = (cast_expression "(char *)(*(code *)puVar8)(uVar5 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar8)(uVar5 + 1)" (parenthesized_expression "(*(code *)puVar8)" ( (pointer_expression "*(code *)puVar8" * (cast_expression "(code *)puVar8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5 + 1)" ( (binary_expression "uVar5 + 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 *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\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 *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(pcVar2);\n          return 1;\n        }" { (expression_statement "pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_00082018 + -0x34f0,5)" ( number_literal , (binary_expression "PTR_UINT_00082018 + -0x34f0" identifier + number_literal) , number_literal ))))) ;) (expression_statement "error(pcVar2);" (call_expression "error(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file);" (assignment_expression "iVar3 = (*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file)" identifier = (call_expression "(*(code *)PTR_fread_000823ac)(pcVar2,uVar5,1,file)" (parenthesized_expression "(*(code *)PTR_fread_000823ac)" ( (pointer_expression "*(code *)PTR_fread_000823ac" * (cast_expression "(code *)PTR_fread_000823ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2,uVar5,1,file)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar3 == 1) {\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }\n          arch->longnames[uVar5] = '\0';\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n          uVar5 = arch->longnames_size;\n          if ((uVar5 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(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            (*(code *)PTR_getc_00082258)(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            (*(code *)PTR_getc_00082258)(file);\n            uVar5 = arch->longnames_size;\n          }" { (expression_statement "(*(code *)PTR_getc_00082258)(file);" (call_expression "(*(code *)PTR_getc_00082258)(file)" (parenthesized_expression "(*(code *)PTR_getc_00082258)" ( (pointer_expression "*(code *)PTR_getc_00082258" * (cast_expression "(code *)PTR_getc_00082258" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(file)" ( 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 "(*(code *)PTR_free_00082428)(arch->longnames);" (call_expression "(*(code *)PTR_free_00082428)(arch->longnames)" (parenthesized_expression "(*(code *)PTR_free_00082428)" ( (pointer_expression "*(code *)PTR_free_00082428" * (cast_expression "(code *)PTR_free_00082428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) 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)) ;) (expression_statement "puVar8 = PTR_UINT_00082018 + -0x34bc;" (assignment_expression "puVar8 = PTR_UINT_00082018 + -0x34bc" identifier = (binary_expression "PTR_UINT_00082018 + -0x34bc" identifier + number_literal)) ;) (labeled_statement "LAB_0005a1c0:\n        pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);" statement_identifier : (expression_statement "pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar8,5)" ( number_literal , identifier , number_literal ))))) ;)) (expression_statement "error(pcVar2,file_name);" (call_expression "error(pcVar2,file_name)" identifier (argument_list "(pcVar2,file_name)" ( identifier , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar8 = PTR_UINT_00082018 + -0x3520;" (assignment_expression "puVar8 = PTR_UINT_00082018 + -0x3520" identifier = (binary_expression "PTR_UINT_00082018 + -0x3520" identifier + number_literal)) ;) }))) (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,puVar8,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar8,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "error(pcVar2,file_name,arch->longnames_size);" (call_expression "error(pcVar2,file_name,arch->longnames_size)" identifier (argument_list "(pcVar2,file_name,arch->longnames_size)" ( identifier , identifier , (field_expression "arch->longnames_size" identifier -> field_identifier) ))) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "undefined4\nsetup_archive(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)\n\n{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  \n  uVar2 = (*(code *)PTR_strdup_00082424)(param_2);\n  *param_1 = uVar2;\n  param_1[3] = 0;\n  param_1[2] = 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  puVar6 = PTR_fseek_000823dc;\n  param_1[10] = 8;\n  iVar3 = (*(code *)puVar6)(param_3,8,0);\n  if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  puVar7 = param_1 + 0xd;\n  iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);\n  uVar2 = 0;\n  if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar6 = PTR_strtoul_0008235c;\n  if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4\nsetup_archive(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)\n\n{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  \n  uVar2 = (*(code *)PTR_strdup_00082424)(param_2);\n  *param_1 = uVar2;\n  param_1[3] = 0;\n  param_1[2] = 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  puVar6 = PTR_fseek_000823dc;\n  param_1[10] = 8;\n  iVar3 = (*(code *)puVar6)(param_3,8,0);\n  if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  puVar7 = param_1 + 0xd;\n  iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);\n  uVar2 = 0;\n  if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar6 = PTR_strtoul_0008235c;\n  if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "setup_archive(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  \n  uVar2 = (*(code *)PTR_strdup_00082424)(param_2);\n  *param_1 = uVar2;\n  param_1[3] = 0;\n  param_1[2] = 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  puVar6 = PTR_fseek_000823dc;\n  param_1[10] = 8;\n  iVar3 = (*(code *)puVar6)(param_3,8,0);\n  if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  puVar7 = param_1 + 0xd;\n  iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);\n  uVar2 = 0;\n  if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar6 = PTR_strtoul_0008235c;\n  if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }\n  return uVar2;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (expression_statement "uVar2 = (*(code *)PTR_strdup_00082424)(param_2);" (assignment_expression "uVar2 = (*(code *)PTR_strdup_00082424)(param_2)" identifier = (call_expression "(*(code *)PTR_strdup_00082424)(param_2)" (parenthesized_expression "(*(code *)PTR_strdup_00082424)" ( (pointer_expression "*(code *)PTR_strdup_00082424" * (cast_expression "(code *)PTR_strdup_00082424" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (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[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" 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 "puVar6 = PTR_fseek_000823dc;" (assignment_expression "puVar6 = PTR_fseek_000823dc" identifier = identifier) ;) (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 = (*(code *)puVar6)(param_3,8,0);" (assignment_expression "iVar3 = (*(code *)puVar6)(param_3,8,0)" identifier = (call_expression "(*(code *)puVar6)(param_3,8,0)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,8,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }" { (expression_statement "puVar6 = PTR_UINT_00082018 + -0x35f8;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x35f8" identifier = (binary_expression "PTR_UINT_00082018 + -0x35f8" identifier + number_literal)) ;) (goto_statement "goto LAB_0005a1c0;" goto statement_identifier ;) })) (expression_statement "puVar7 = param_1 + 0xd;" (assignment_expression "puVar7 = param_1 + 0xd" identifier = (binary_expression "param_1 + 0xd" identifier + number_literal)) ;) (expression_statement "iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);" (assignment_expression "iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3)" identifier = (call_expression "(*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3)" (parenthesized_expression "(*(code *)PTR_fread_000823ac)" ( (pointer_expression "*(code *)PTR_fread_000823ac" * (cast_expression "(code *)PTR_fread_000823ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,1,0x3c,param_3)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }" if (parenthesized_expression "(iVar3 != 0x3c)" ( (binary_expression "iVar3 != 0x3c" identifier != number_literal) )) (compound_statement "{\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }" { (if_statement "if (iVar3 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar6 = PTR_UINT_00082018 + -0x35cc;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x35cc" identifier = (binary_expression "PTR_UINT_00082018 + -0x35cc" identifier + number_literal)) ;) (goto_statement "goto LAB_0005a1c0;" goto statement_identifier ;) })) (expression_statement "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10)" identifier = (call_expression "(*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" ( (pointer_expression "*(code *)PTR_strncmp_00082264" * (cast_expression "(code *)PTR_strncmp_00082264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,PTR_UINT_00082018 + -0x35a8,0x10)" ( identifier , (binary_expression "PTR_UINT_00082018 + -0x35a8" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }" { (expression_statement "uVar5 = 4;" (assignment_expression "uVar5 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);" statement_identifier : (expression_statement "iVar3 = FUN_000592d0(param_1,uVar5,param_5);" (assignment_expression "iVar3 = FUN_000592d0(param_1,uVar5,param_5)" identifier = (call_expression "FUN_000592d0(param_1,uVar5,param_5)" identifier (argument_list "(param_1,uVar5,param_5)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (iVar3 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }" else (compound_statement "{\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10)" identifier = (call_expression "(*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" ( (pointer_expression "*(code *)PTR_strncmp_00082264" * (cast_expression "(code *)PTR_strncmp_00082264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,PTR_UINT_00082018 + -0x3594,0x10)" ( identifier , (binary_expression "PTR_UINT_00082018 + -0x3594" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }" { (expression_statement "uVar5 = 8;" (assignment_expression "uVar5 = 8" identifier = number_literal) ;) (expression_statement "param_1[0xc] = 1;" (assignment_expression "param_1[0xc] = 1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_0005a204;" goto statement_identifier ;) })) (if_statement "if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }" { (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_00082018 + -0x3580,5)" ( number_literal , (binary_expression "PTR_UINT_00082018 + -0x3580" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_printf_00082448)(uVar5,param_2);" (call_expression "(*(code *)PTR_printf_00082448)(uVar5,param_2)" (parenthesized_expression "(*(code *)PTR_printf_00082448)" ( (pointer_expression "*(code *)PTR_printf_00082448" * (cast_expression "(code *)PTR_printf_00082448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,param_2)" ( identifier , identifier ))) ;) })) }))) (expression_statement "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10)" identifier = (call_expression "(*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" ( (pointer_expression "*(code *)PTR_strncmp_00082264" * (cast_expression "(code *)PTR_strncmp_00082264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,PTR_UINT_00082018 + -0x3564,0x10)" ( identifier , (binary_expression "PTR_UINT_00082018 + -0x3564" identifier + number_literal) , number_literal )))) ;) (expression_statement "puVar6 = PTR_strtoul_0008235c;" (assignment_expression "puVar6 = PTR_strtoul_0008235c" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }" { (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 "uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);" (assignment_expression "uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10)" identifier = (call_expression "(*(code *)puVar6)(param_1 + 0x19,0,10)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 0x19,0,10)" ( (binary_expression "param_1 + 0x19" identifier + number_literal) , number_literal , number_literal )))) ;) (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) ;) (expression_statement "param_1[8] = uVar4;" (assignment_expression "param_1[8] = uVar4" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6 = PTR_malloc_00082384;" (assignment_expression "puVar6 = PTR_malloc_00082384" identifier = identifier) ;) (if_statement "if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }" if (parenthesized_expression "(uVar4 < 8)" ( (binary_expression "uVar4 < 8" identifier < number_literal) )) (compound_statement "{\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }" { (expression_statement "puVar6 = PTR_UINT_00082018 + -0x3550;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x3550" identifier = (binary_expression "PTR_UINT_00082018 + -0x3550" identifier + number_literal)) ;) }) (else_clause "else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }" else (compound_statement "{\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }" { (if_statement "if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }" if (parenthesized_expression "(-1 < (int)uVar4)" ( (binary_expression "-1 < (int)uVar4" number_literal < (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }" { (expression_statement "param_1[10] = param_1[10] + 0x3c + uVar4;" (assignment_expression "param_1[10] = param_1[10] + 0x3c + uVar4" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (binary_expression "param_1[10] + 0x3c + uVar4" (binary_expression "param_1[10] + 0x3c" (subscript_expression "param_1[10]" identifier [ number_literal ]) + number_literal) + identifier)) ;) (expression_statement "iVar3 = (*(code *)puVar6)(uVar4 + 1);" (assignment_expression "iVar3 = (*(code *)puVar6)(uVar4 + 1)" identifier = (call_expression "(*(code *)puVar6)(uVar4 + 1)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) )))) ;) (expression_statement "param_1[7] = iVar3;" (assignment_expression "param_1[7] = iVar3" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }" { (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_UINT_00082018 + -0x34f0,5)" ( number_literal , (binary_expression "PTR_UINT_00082018 + -0x34f0" identifier + number_literal) , number_literal )))) ;) (expression_statement "error(uVar2);" (call_expression "error(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);" (assignment_expression "iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3)" identifier = (call_expression "(*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3)" (parenthesized_expression "(*(code *)PTR_fread_000823ac)" ( (pointer_expression "*(code *)PTR_fread_000823ac" * (cast_expression "(code *)PTR_fread_000823ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,uVar4,1,param_3)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }" { (expression_statement "uVar4 = param_1[8];" (assignment_expression "uVar4 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (if_statement "if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }" if (parenthesized_expression "((uVar4 & 1) != 0)" ( (binary_expression "(uVar4 & 1) != 0" (parenthesized_expression "(uVar4 & 1)" ( (binary_expression "uVar4 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }" { (expression_statement "(*(code *)PTR_getc_00082258)(param_3);" (call_expression "(*(code *)PTR_getc_00082258)(param_3)" (parenthesized_expression "(*(code *)PTR_getc_00082258)" ( (pointer_expression "*(code *)PTR_getc_00082258" * (cast_expression "(code *)PTR_getc_00082258" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier ))) ;) (expression_statement "uVar4 = param_1[8];" (assignment_expression "uVar4 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined1 *)(param_1[7] + uVar4) = 0;" (assignment_expression "*(undefined1 *)(param_1[7] + uVar4) = 0" (pointer_expression "*(undefined1 *)(param_1[7] + uVar4)" * (cast_expression "(undefined1 *)(param_1[7] + uVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[7] + uVar4)" ( (binary_expression "param_1[7] + uVar4" (subscript_expression "param_1[7]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "(*(code *)PTR_free_00082428)(param_1[7]);" (call_expression "(*(code *)PTR_free_00082428)(param_1[7])" (parenthesized_expression "(*(code *)PTR_free_00082428)" ( (pointer_expression "*(code *)PTR_free_00082428" * (cast_expression "(code *)PTR_free_00082428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[7])" ( (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) ;) (expression_statement "puVar6 = PTR_UINT_00082018 + -0x34bc;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x34bc" identifier = (binary_expression "PTR_UINT_00082018 + -0x34bc" identifier + number_literal)) ;) (labeled_statement "LAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);" statement_identifier : (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar6,5)" ( number_literal , identifier , number_literal )))) ;)) (expression_statement "error(uVar2,param_2);" (call_expression "error(uVar2,param_2)" identifier (argument_list "(uVar2,param_2)" ( identifier , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar6 = PTR_UINT_00082018 + -0x3520;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x3520" identifier = (binary_expression "PTR_UINT_00082018 + -0x3520" identifier + number_literal)) ;) }))) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" ( (pointer_expression "*(code *)PTR_dcgettext_000823f4" * (cast_expression "(code *)PTR_dcgettext_000823f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar6,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "error(uVar5,param_2,param_1[8]);" (call_expression "error(uVar5,param_2,param_1[8])" identifier (argument_list "(uVar5,param_2,param_1[8])" ( identifier , identifier , (subscript_expression "param_1[8]" identifier [ number_literal ]) ))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (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 ]) = 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 IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , 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) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT )))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4\nsetup_archive(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)\n\n{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  \n  uVar2 = (*(code *)PTR_strdup_00082424)(param_2);\n  *param_1 = uVar2;\n  param_1[3] = 0;\n  param_1[2] = 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  puVar6 = PTR_fseek_000823dc;\n  param_1[10] = 8;\n  iVar3 = (*(code *)puVar6)(param_3,8,0);\n  if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  puVar7 = param_1 + 0xd;\n  iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);\n  uVar2 = 0;\n  if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar6 = PTR_strtoul_0008235c;\n  if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "setup_archive(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)" (identifier "setup_archive") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n             int param_5)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (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  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  \n  uVar2 = (*(code *)PTR_strdup_00082424)(param_2);\n  *param_1 = uVar2;\n  param_1[3] = 0;\n  param_1[2] = 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  puVar6 = PTR_fseek_000823dc;\n  param_1[10] = 8;\n  iVar3 = (*(code *)puVar6)(param_3,8,0);\n  if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }\n  puVar7 = param_1 + 0xd;\n  iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);\n  uVar2 = 0;\n  if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);\n  if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }\n  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);\n  puVar6 = PTR_strtoul_0008235c;\n  if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }\n  return uVar2;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_strdup_00082424)(param_2);" (assignment_expression "uVar2 = (*(code *)PTR_strdup_00082424)(param_2)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strdup_00082424)(param_2)" (parenthesized_expression "(*(code *)PTR_strdup_00082424)" (( "(") (pointer_expression "*(code *)PTR_strdup_00082424" (* "*") (cast_expression "(code *)PTR_strdup_00082424" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strdup_00082424"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar2")) (; ";")) (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[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[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 "puVar6 = PTR_fseek_000823dc;" (assignment_expression "puVar6 = PTR_fseek_000823dc" (identifier "puVar6") (= "=") (identifier "PTR_fseek_000823dc")) (; ";")) (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 = (*(code *)puVar6)(param_3,8,0);" (assignment_expression "iVar3 = (*(code *)puVar6)(param_3,8,0)" (identifier "iVar3") (= "=") (call_expression "(*(code *)puVar6)(param_3,8,0)" (parenthesized_expression "(*(code *)puVar6)" (( "(") (pointer_expression "*(code *)puVar6" (* "*") (cast_expression "(code *)puVar6" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) () ")")) (argument_list "(param_3,8,0)" (( "(") (identifier "param_3") (, ",") (number_literal "8") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar6 = PTR_UINT_00082018 + -0x35f8;\n    goto LAB_0005a1c0;\n  }" ({ "{") (expression_statement "puVar6 = PTR_UINT_00082018 + -0x35f8;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x35f8" (identifier "puVar6") (= "=") (binary_expression "PTR_UINT_00082018 + -0x35f8" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x35f8"))) (; ";")) (goto_statement "goto LAB_0005a1c0;" (goto "goto") (statement_identifier "LAB_0005a1c0") (; ";")) (} "}"))) (expression_statement "puVar7 = param_1 + 0xd;" (assignment_expression "puVar7 = param_1 + 0xd" (identifier "puVar7") (= "=") (binary_expression "param_1 + 0xd" (identifier "param_1") (+ "+") (number_literal "0xd"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);" (assignment_expression "iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3)" (parenthesized_expression "(*(code *)PTR_fread_000823ac)" (( "(") (pointer_expression "*(code *)PTR_fread_000823ac" (* "*") (cast_expression "(code *)PTR_fread_000823ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fread_000823ac"))) () ")")) (argument_list "(puVar7,1,0x3c,param_3)" (( "(") (identifier "puVar7") (, ",") (number_literal "1") (, ",") (number_literal "0x3c") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar3 != 0x3c) {\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0x3c)" (( "(") (binary_expression "iVar3 != 0x3c" (identifier "iVar3") (!= "!=") (number_literal "0x3c")) () ")")) (compound_statement "{\n    if (iVar3 == 0) {\n      return 0;\n    }\n    puVar6 = PTR_UINT_00082018 + -0x35cc;\n    goto LAB_0005a1c0;\n  }" ({ "{") (if_statement "if (iVar3 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar6 = PTR_UINT_00082018 + -0x35cc;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x35cc" (identifier "puVar6") (= "=") (binary_expression "PTR_UINT_00082018 + -0x35cc" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x35cc"))) (; ";")) (goto_statement "goto LAB_0005a1c0;" (goto "goto") (statement_identifier "LAB_0005a1c0") (; ";")) (} "}"))) (expression_statement "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" (( "(") (pointer_expression "*(code *)PTR_strncmp_00082264" (* "*") (cast_expression "(code *)PTR_strncmp_00082264" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_00082264"))) () ")")) (argument_list "(puVar7,PTR_UINT_00082018 + -0x35a8,0x10)" (( "(") (identifier "puVar7") (, ",") (binary_expression "PTR_UINT_00082018 + -0x35a8" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x35a8")) (, ",") (number_literal "0x10") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }\n  else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar5 = 4;\nLAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);\n    if (iVar3 == 0) {\n      return 1;\n    }\n  }" ({ "{") (expression_statement "uVar5 = 4;" (assignment_expression "uVar5 = 4" (identifier "uVar5") (= "=") (number_literal "4")) (; ";")) (labeled_statement "LAB_0005a204:\n    iVar3 = FUN_000592d0(param_1,uVar5,param_5);" (statement_identifier "LAB_0005a204") (: ":") (expression_statement "iVar3 = FUN_000592d0(param_1,uVar5,param_5);" (assignment_expression "iVar3 = FUN_000592d0(param_1,uVar5,param_5)" (identifier "iVar3") (= "=") (call_expression "FUN_000592d0(param_1,uVar5,param_5)" (identifier "FUN_000592d0") (argument_list "(param_1,uVar5,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "uVar5") (, ",") (identifier "param_5") () ")")))) (; ";"))) (if_statement "if (iVar3 == 0) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }" (else "else") (compound_statement "{\n    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);\n    if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }\n    if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }\n  }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" (( "(") (pointer_expression "*(code *)PTR_strncmp_00082264" (* "*") (cast_expression "(code *)PTR_strncmp_00082264" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_00082264"))) () ")")) (argument_list "(puVar7,PTR_UINT_00082018 + -0x3594,0x10)" (( "(") (identifier "puVar7") (, ",") (binary_expression "PTR_UINT_00082018 + -0x3594" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x3594")) (, ",") (number_literal "0x10") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar5 = 8;\n      param_1[0xc] = 1;\n      goto LAB_0005a204;\n    }" ({ "{") (expression_statement "uVar5 = 8;" (assignment_expression "uVar5 = 8" (identifier "uVar5") (= "=") (number_literal "8")) (; ";")) (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")) (; ";")) (goto_statement "goto LAB_0005a204;" (goto "goto") (statement_identifier "LAB_0005a204") (; ";")) (} "}"))) (if_statement "if (param_5 != 0) {\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }" (if "if") (parenthesized_expression "(param_5 != 0)" (( "(") (binary_expression "param_5 != 0" (identifier "param_5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);\n      (*(code *)PTR_printf_00082448)(uVar5,param_2);\n    }" ({ "{") (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000823f4" (* "*") (cast_expression "(code *)PTR_dcgettext_000823f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000823f4"))) () ")")) (argument_list "(0,PTR_UINT_00082018 + -0x3580,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_UINT_00082018 + -0x3580" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x3580")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_printf_00082448)(uVar5,param_2);" (call_expression "(*(code *)PTR_printf_00082448)(uVar5,param_2)" (parenthesized_expression "(*(code *)PTR_printf_00082448)" (( "(") (pointer_expression "*(code *)PTR_printf_00082448" (* "*") (cast_expression "(code *)PTR_printf_00082448" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_printf_00082448"))) () ")")) (argument_list "(uVar5,param_2)" (( "(") (identifier "uVar5") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10)" (parenthesized_expression "(*(code *)PTR_strncmp_00082264)" (( "(") (pointer_expression "*(code *)PTR_strncmp_00082264" (* "*") (cast_expression "(code *)PTR_strncmp_00082264" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_00082264"))) () ")")) (argument_list "(puVar7,PTR_UINT_00082018 + -0x3564,0x10)" (( "(") (identifier "puVar7") (, ",") (binary_expression "PTR_UINT_00082018 + -0x3564" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x3564")) (, ",") (number_literal "0x10") () ")")))) (; ";")) (expression_statement "puVar6 = PTR_strtoul_0008235c;" (assignment_expression "puVar6 = PTR_strtoul_0008235c" (identifier "puVar6") (= "=") (identifier "PTR_strtoul_0008235c")) (; ";")) (if_statement "if (iVar3 == 0) {\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);\n    *(undefined1 *)((int)param_1 + 0x6e) = 0;\n    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);\n    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;\n    param_1[8] = uVar4;\n    puVar6 = PTR_malloc_00082384;\n    if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }\n    uVar2 = 1;\n    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n    error(uVar5,param_2,param_1[8]);\n  }" ({ "{") (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 "uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);" (assignment_expression "uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10)" (identifier "uVar4") (= "=") (call_expression "(*(code *)puVar6)(param_1 + 0x19,0,10)" (parenthesized_expression "(*(code *)puVar6)" (( "(") (pointer_expression "*(code *)puVar6" (* "*") (cast_expression "(code *)puVar6" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) () ")")) (argument_list "(param_1 + 0x19,0,10)" (( "(") (binary_expression "param_1 + 0x19" (identifier "param_1") (+ "+") (number_literal "0x19")) (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (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")) (; ";")) (expression_statement "param_1[8] = uVar4;" (assignment_expression "param_1[8] = uVar4" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "puVar6 = PTR_malloc_00082384;" (assignment_expression "puVar6 = PTR_malloc_00082384" (identifier "puVar6") (= "=") (identifier "PTR_malloc_00082384")) (; ";")) (if_statement "if (uVar4 < 8) {\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }\n    else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }" (if "if") (parenthesized_expression "(uVar4 < 8)" (( "(") (binary_expression "uVar4 < 8" (identifier "uVar4") (< "<") (number_literal "8")) () ")")) (compound_statement "{\n      puVar6 = PTR_UINT_00082018 + -0x3550;\n    }" ({ "{") (expression_statement "puVar6 = PTR_UINT_00082018 + -0x3550;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x3550" (identifier "puVar6") (= "=") (binary_expression "PTR_UINT_00082018 + -0x3550" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x3550"))) (; ";")) (} "}")) (else_clause "else {\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }" (else "else") (compound_statement "{\n      if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }\n      puVar6 = PTR_UINT_00082018 + -0x3520;\n    }" ({ "{") (if_statement "if (-1 < (int)uVar4) {\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }" (if "if") (parenthesized_expression "(-1 < (int)uVar4)" (( "(") (binary_expression "-1 < (int)uVar4" (number_literal "-1") (< "<") (cast_expression "(int)uVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar4"))) () ")")) (compound_statement "{\n        param_1[10] = param_1[10] + 0x3c + uVar4;\n        iVar3 = (*(code *)puVar6)(uVar4 + 1);\n        param_1[7] = iVar3;\n        if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }\n        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);\n        if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }\n        (*(code *)PTR_free_00082428)(param_1[7]);\n        param_1[7] = 0;\n        puVar6 = PTR_UINT_00082018 + -0x34bc;\nLAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);\n        error(uVar2,param_2);\n        return 1;\n      }" ({ "{") (expression_statement "param_1[10] = param_1[10] + 0x3c + uVar4;" (assignment_expression "param_1[10] = param_1[10] + 0x3c + uVar4" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "param_1[10] + 0x3c + uVar4" (binary_expression "param_1[10] + 0x3c" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (+ "+") (number_literal "0x3c")) (+ "+") (identifier "uVar4"))) (; ";")) (expression_statement "iVar3 = (*(code *)puVar6)(uVar4 + 1);" (assignment_expression "iVar3 = (*(code *)puVar6)(uVar4 + 1)" (identifier "iVar3") (= "=") (call_expression "(*(code *)puVar6)(uVar4 + 1)" (parenthesized_expression "(*(code *)puVar6)" (( "(") (pointer_expression "*(code *)puVar6" (* "*") (cast_expression "(code *)puVar6" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) () ")")) (argument_list "(uVar4 + 1)" (( "(") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "param_1[7] = iVar3;" (assignment_expression "param_1[7] = iVar3" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 == 0) {\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);\n          error(uVar2);\n          return 1;\n        }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000823f4" (* "*") (cast_expression "(code *)PTR_dcgettext_000823f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000823f4"))) () ")")) (argument_list "(0,PTR_UINT_00082018 + -0x34f0,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_UINT_00082018 + -0x34f0" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x34f0")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(uVar2);" (call_expression "error(uVar2)" (identifier "error") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);" (assignment_expression "iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3)" (parenthesized_expression "(*(code *)PTR_fread_000823ac)" (( "(") (pointer_expression "*(code *)PTR_fread_000823ac" (* "*") (cast_expression "(code *)PTR_fread_000823ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fread_000823ac"))) () ")")) (argument_list "(iVar3,uVar4,1,param_3)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar4") (, ",") (number_literal "1") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar3 == 1) {\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }" (if "if") (parenthesized_expression "(iVar3 == 1)" (( "(") (binary_expression "iVar3 == 1" (identifier "iVar3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          uVar4 = param_1[8];\n          if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }\n          *(undefined1 *)(param_1[7] + uVar4) = 0;\n          return 0;\n        }" ({ "{") (expression_statement "uVar4 = param_1[8];" (assignment_expression "uVar4 = param_1[8]" (identifier "uVar4") (= "=") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (; ";")) (if_statement "if ((uVar4 & 1) != 0) {\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }" (if "if") (parenthesized_expression "((uVar4 & 1) != 0)" (( "(") (binary_expression "(uVar4 & 1) != 0" (parenthesized_expression "(uVar4 & 1)" (( "(") (binary_expression "uVar4 & 1" (identifier "uVar4") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            (*(code *)PTR_getc_00082258)(param_3);\n            uVar4 = param_1[8];\n          }" ({ "{") (expression_statement "(*(code *)PTR_getc_00082258)(param_3);" (call_expression "(*(code *)PTR_getc_00082258)(param_3)" (parenthesized_expression "(*(code *)PTR_getc_00082258)" (( "(") (pointer_expression "*(code *)PTR_getc_00082258" (* "*") (cast_expression "(code *)PTR_getc_00082258" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getc_00082258"))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar4 = param_1[8];" (assignment_expression "uVar4 = param_1[8]" (identifier "uVar4") (= "=") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(param_1[7] + uVar4) = 0;" (assignment_expression "*(undefined1 *)(param_1[7] + uVar4) = 0" (pointer_expression "*(undefined1 *)(param_1[7] + uVar4)" (* "*") (cast_expression "(undefined1 *)(param_1[7] + uVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[7] + uVar4)" (( "(") (binary_expression "param_1[7] + uVar4" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (+ "+") (identifier "uVar4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_00082428)(param_1[7]);" (call_expression "(*(code *)PTR_free_00082428)(param_1[7])" (parenthesized_expression "(*(code *)PTR_free_00082428)" (( "(") (pointer_expression "*(code *)PTR_free_00082428" (* "*") (cast_expression "(code *)PTR_free_00082428" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00082428"))) () ")")) (argument_list "(param_1[7])" (( "(") (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")) (; ";")) (expression_statement "puVar6 = PTR_UINT_00082018 + -0x34bc;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x34bc" (identifier "puVar6") (= "=") (binary_expression "PTR_UINT_00082018 + -0x34bc" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x34bc"))) (; ";")) (labeled_statement "LAB_0005a1c0:\n        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);" (statement_identifier "LAB_0005a1c0") (: ":") (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000823f4" (* "*") (cast_expression "(code *)PTR_dcgettext_000823f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000823f4"))) () ")")) (argument_list "(0,puVar6,5)" (( "(") (number_literal "0") (, ",") (identifier "puVar6") (, ",") (number_literal "5") () ")")))) (; ";"))) (expression_statement "error(uVar2,param_2);" (call_expression "error(uVar2,param_2)" (identifier "error") (argument_list "(uVar2,param_2)" (( "(") (identifier "uVar2") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "puVar6 = PTR_UINT_00082018 + -0x3520;" (assignment_expression "puVar6 = PTR_UINT_00082018 + -0x3520" (identifier "puVar6") (= "=") (binary_expression "PTR_UINT_00082018 + -0x3520" (identifier "PTR_UINT_00082018") (+ "+") (number_literal "-0x3520"))) (; ";")) (} "}")))) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_dcgettext_000823f4)(0,puVar6,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000823f4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000823f4" (* "*") (cast_expression "(code *)PTR_dcgettext_000823f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000823f4"))) () ")")) (argument_list "(0,puVar6,5)" (( "(") (number_literal "0") (, ",") (identifier "puVar6") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(uVar5,param_2,param_1[8]);" (call_expression "error(uVar5,param_2,param_1[8])" (identifier "error") (argument_list "(uVar5,param_2,param_1[8])" (( "(") (identifier "uVar5") (, ",") (identifier "param_2") (, ",") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) () ")"))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))
(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (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: (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: (identifier) right: (identifier))) (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (binary_expression left: (identifier) right: (number_literal)))) (goto_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: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (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: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (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: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (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: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (subscript_expression argument: (identifier) index: (number_literal))))))) (return_statement (identifier)))))

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

{
  undefined1 uVar1;
  undefined4 uVar2;
  int iVar3;
  uint uVar4;
  undefined4 uVar5;
  undefined *puVar6;
  undefined4 *puVar7;
  
  uVar2 = (*(code *)PTR_strdup_00082424)(param_2);
  *param_1 = uVar2;
  param_1[3] = 0;
  param_1[2] = 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;
  puVar6 = PTR_fseek_000823dc;
  param_1[10] = 8;
  iVar3 = (*(code *)puVar6)(param_3,8,0);
  if (iVar3 != 0) {
    puVar6 = PTR_UINT_00082018 + -0x35f8;
    goto LAB_0005a1c0;
  }
  puVar7 = param_1 + 0xd;
  iVar3 = (*(code *)PTR_fread_000823ac)(puVar7,1,0x3c,param_3);
  uVar2 = 0;
  if (iVar3 != 0x3c) {
    if (iVar3 == 0) {
      return 0;
    }
    puVar6 = PTR_UINT_00082018 + -0x35cc;
    goto LAB_0005a1c0;
  }
  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x35a8,0x10);
  if (iVar3 == 0) {
    uVar5 = 4;
LAB_0005a204:
    iVar3 = FUN_000592d0(param_1,uVar5,param_5);
    if (iVar3 == 0) {
      return 1;
    }
  }
  else {
    iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3594,0x10);
    if (iVar3 == 0) {
      uVar5 = 8;
      param_1[0xc] = 1;
      goto LAB_0005a204;
    }
    if (param_5 != 0) {
      uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x3580,5);
      (*(code *)PTR_printf_00082448)(uVar5,param_2);
    }
  }
  iVar3 = (*(code *)PTR_strncmp_00082264)(puVar7,PTR_UINT_00082018 + -0x3564,0x10);
  puVar6 = PTR_strtoul_0008235c;
  if (iVar3 == 0) {
    uVar1 = *(undefined1 *)((int)param_1 + 0x6e);
    *(undefined1 *)((int)param_1 + 0x6e) = 0;
    uVar4 = (*(code *)puVar6)(param_1 + 0x19,0,10);
    *(undefined1 *)((int)param_1 + 0x6e) = uVar1;
    param_1[8] = uVar4;
    puVar6 = PTR_malloc_00082384;
    if (uVar4 < 8) {
      puVar6 = PTR_UINT_00082018 + -0x3550;
    }
    else {
      if (-1 < (int)uVar4) {
        param_1[10] = param_1[10] + 0x3c + uVar4;
        iVar3 = (*(code *)puVar6)(uVar4 + 1);
        param_1[7] = iVar3;
        if (iVar3 == 0) {
          uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,PTR_UINT_00082018 + -0x34f0,5);
          error(uVar2);
          return 1;
        }
        iVar3 = (*(code *)PTR_fread_000823ac)(iVar3,uVar4,1,param_3);
        if (iVar3 == 1) {
          uVar4 = param_1[8];
          if ((uVar4 & 1) != 0) {
            (*(code *)PTR_getc_00082258)(param_3);
            uVar4 = param_1[8];
          }
          *(undefined1 *)(param_1[7] + uVar4) = 0;
          return 0;
        }
        (*(code *)PTR_free_00082428)(param_1[7]);
        param_1[7] = 0;
        puVar6 = PTR_UINT_00082018 + -0x34bc;
LAB_0005a1c0:
        uVar2 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);
        error(uVar2,param_2);
        return 1;
      }
      puVar6 = PTR_UINT_00082018 + -0x3520;
    }
    uVar2 = 1;
    uVar5 = (*(code *)PTR_dcgettext_000823f4)(0,puVar6,5);
    error(uVar5,param_2,param_1[8]);
  }
  return uVar2;
}

