
char get_header_ar(archive_handle_t *archive_handle)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined3 extraout_var;
  int iVar3;
  char cVar6;
  uint uVar4;
  char *pcVar5;
  int iVar7;
  uint uVar8;
  file_header_t *pfVar9;
  anon_union_60_2_6af1278d ar;
  int iStack_24;
  
  puVar2 = PTR___stack_chk_guard_0012b14c;
  iStack_24 = *(int *)PTR___stack_chk_guard_0012b14c;
  pfVar9 = archive_handle->file_header;
  iVar3 = (*(code *)PTR_read_0012b1b0)(archive_handle->src_fd,&ar,0x3c);
  if (iVar3 == 0x3c) {
    if (ar.raw[0] == '\n') {
      (*(code *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b);
      ar.raw[0x3b] = (*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd);
      uVar8 = (uint)archive_handle->offset;
      uVar4 = uVar8 + 1;
      iVar3 = (uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset;
    }
    else {
      iVar3 = *(int *)&archive_handle->offset;
      uVar4 = (uint)archive_handle->offset;
    }
    *(uint *)((int)&archive_handle->offset + 4) = uVar4 + 0x3c;
    *(uint *)&archive_handle->offset = (uint)(uVar4 + 0x3c < uVar4) + iVar3;
    if (ar.raw[0x3a] == '`') goto LAB_000b00fc;
    do {
      (*(code *)PTR_bb_error_msg_and_die_0012a1e4)
                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51dc);
LAB_000b00fc:
    } while (ar.raw[0x3b] != '\n');
    uVar4 = read_num(ar.raw + 0x30,10,10);
    *(undefined4 *)&pfVar9->size = 0;
    *(uint *)((int)&pfVar9->size + 4) = uVar4;
    puVar1 = PTR_free_0012b168;
    if (ar.raw[0] != '/') {
LAB_000b0168:
      uVar4 = read_num(ar.raw + 0x28,8,8);
      pfVar9->mode = uVar4;
      uVar4 = read_num(ar.raw + 0x22,10,6);
      pfVar9->gid = uVar4;
      uVar4 = read_num(ar.raw + 0x1c,10,6);
      pfVar9->uid = uVar4;
      uVar4 = read_num(ar.raw + 0x10,10,0xc);
      pfVar9->mtime = uVar4;
      if (ar.raw[0] == '/') {
        uVar4 = read_num(ar.raw + 1,10,0xf);
        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;
        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)
                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);
      }
      pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);
      pfVar9->name = pcVar5;
      goto LAB_000b0228;
    }
    if (ar.raw[1] == ' ') {
      data_skip(archive_handle);
    }
    else {
      if (ar.raw[1] != '/') goto LAB_000b0168;
      archive_handle->ar__long_name_size = uVar4;
      (*(code *)puVar1)(archive_handle->ar__long_names);
      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);
      puVar1 = PTR_xread_0012a7e0;
      archive_handle->ar__long_names = pcVar5;
      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);
    }
    uVar8 = (uint)archive_handle->offset;
    iVar3 = *(int *)&archive_handle->offset;
    uVar4 = uVar8 + uVar4;
    *(uint *)((int)&archive_handle->offset + 4) = uVar4;
    *(uint *)&archive_handle->offset = (uint)(uVar4 < uVar8) + iVar3;
    cVar6 = get_header_ar(archive_handle);
  }
  else {
    cVar6 = '\x01';
  }
  while (iStack_24 != *(int *)puVar2) {
    uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();
LAB_000b0304:
    pcVar5 = (char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4);
    pfVar9->name = pcVar5;
LAB_000b0228:
    iVar3 = (*(code *)PTR_strcspn_0012b198)
                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac);
    pcVar5[iVar3] = '\0';
    cVar6 = (*archive_handle->filter)(archive_handle);
    if (CONCAT31(extraout_var,cVar6) == 0) {
      (*archive_handle->action_header)(pfVar9);
      (*archive_handle->action_data)(archive_handle);
    }
    else {
      data_skip(archive_handle);
    }
    puVar1 = PTR_lseek64_0012aff8;
    uVar4 = (uint)archive_handle->offset;
    iVar3 = *(int *)&pfVar9->size;
    iVar7 = *(int *)&archive_handle->offset;
    uVar8 = uVar4 + (int)pfVar9->size;
    *(uint *)((int)&archive_handle->offset + 4) = uVar8;
    *(uint *)&archive_handle->offset = (uint)(uVar8 < uVar4) + iVar7 + iVar3;
    (*(code *)puVar1)(archive_handle->src_fd);
    cVar6 = '\0';
  }
  return cVar6;
}



undefined4 FUN_000b0040(int param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 uVar4;
  uint uVar5;
  int iVar6;
  uint uVar7;
  int *piVar8;
  char local_60;
  char local_5f [15];
  undefined1 auStack_50 [12];
  undefined1 auStack_44 [6];
  undefined1 auStack_3e [6];
  undefined1 auStack_38 [8];
  undefined1 auStack_30 [10];
  char local_26;
  char local_25;
  int local_24;
  
  puVar2 = PTR___stack_chk_guard_0012b14c;
  local_24 = *(int *)PTR___stack_chk_guard_0012b14c;
  piVar8 = *(int **)(param_1 + 0x18);
  iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c);
  if (iVar3 != 0x3c) {
    uVar4 = 1;
    goto LAB_000b02b4;
  }
  if (local_60 == '\n') {
    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);
    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));
    uVar5 = *(uint *)(param_1 + 0x34) + 1;
    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);
  }
  else {
    iVar3 = *(int *)(param_1 + 0x30);
    uVar5 = *(uint *)(param_1 + 0x34);
  }
  *(uint *)(param_1 + 0x34) = uVar5 + 0x3c;
  *(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3;
  if (local_26 == '`') goto LAB_000b00fc;
  do {
    (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);
LAB_000b00fc:
  } while (local_25 != '\n');
  iVar3 = FUN_000affe8(auStack_30,10,10);
  piVar8[4] = 0;
  piVar8[5] = iVar3;
  puVar1 = PTR_free_0012b168;
  if (local_60 == '/') {
    if (local_5f[0] == ' ') {
      FUN_000a5304(param_1);
    }
    else {
      if (local_5f[0] != '/') goto LAB_000b0168;
      *(int *)(param_1 + 0x6c) = iVar3;
      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));
      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);
      puVar1 = PTR_FUN_0012a7e0;
      *(undefined4 *)(param_1 + 0x68) = uVar4;
      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);
    }
    uVar5 = *(uint *)(param_1 + 0x34);
    uVar7 = uVar5 + iVar3;
    *(uint *)(param_1 + 0x34) = uVar7;
    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);
    uVar4 = FUN_000b0040(param_1);
    goto LAB_000b02b4;
  }
LAB_000b0168:
  iVar3 = FUN_000affe8(auStack_38,8,8);
  piVar8[8] = iVar3;
  iVar3 = FUN_000affe8(auStack_3e,10,6);
  piVar8[7] = iVar3;
  iVar3 = FUN_000affe8(auStack_44,10,6);
  piVar8[6] = iVar3;
  iVar3 = FUN_000affe8(auStack_50,10,0xc);
  piVar8[9] = iVar3;
  if (local_60 == '/') {
    uVar5 = FUN_000affe8(local_5f,10,0xf);
    if (*(uint *)(param_1 + 0x6c) <= uVar5) {
      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);
      goto LAB_000b020c;
    }
    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);
    *piVar8 = iVar3;
  }
  else {
LAB_000b020c:
    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);
    *piVar8 = iVar3;
  }
  iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);
  *(undefined1 *)(iVar3 + iVar6) = 0;
  iVar3 = (**(code **)(param_1 + 8))(param_1);
  if (iVar3 == 0) {
    (**(code **)(param_1 + 0x20))(piVar8);
    (**(code **)(param_1 + 0x24))(param_1);
  }
  else {
    FUN_000a5304(param_1);
  }
  puVar1 = PTR_lseek64_0012aff8;
  uVar5 = *(uint *)(param_1 + 0x34);
  iVar3 = piVar8[4];
  uVar7 = uVar5 + piVar8[5];
  *(uint *)(param_1 + 0x34) = uVar7;
  *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;
  (*(code *)puVar1)(*(undefined4 *)(param_1 + 4));
  uVar4 = 0;
LAB_000b02b4:
  if (local_24 == *(int *)puVar2) {
    return uVar4;
  }
  uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();
  return uVar4;
}


lui gp,0x8
addiu gp,gp,0x2110
addu gp,gp,t9
addiu sp,sp,-0x80
lw t9,-0x6fa0(gp)
li a2,0x3c
sw s3,0x70(sp)
lw s3,-0x7004(gp)
sw s4,0x74(sp)
addiu s4,sp,0x20
sw s0,0x64(sp)
or s0,a0,zero
sw gp,0x18(sp)
or a1,s4,zero
sw s2,0x6c(sp)
sw ra,0x7c(sp)
sw s5,0x78(sp)
sw s1,0x68(sp)
lw v0,0x0(s3)
lw a0,0x4(a0)
lw s2,0x18(s0)
sw v0,0x5c(sp)
jalr t9
_nop
li v1,0x3c
beq v0,v1,0x000b00b4
_lw gp,0x18(sp)
b 0x000b02b4
_li v0,0x1
lbu v1,0x20(sp)
li v0,0xa
beq v1,v0,0x000b0390
_lw t9,-0x6fdc(gp)
lw v1,0x30(s0)
lw v0,0x34(s0)
addiu a0,v0,0x3c
lbu a2,0x5a(sp)
li a1,0x60
sltu v0,a0,v0
sw a0,0x34(s0)
addu v0,v0,v1
beq a2,a1,0x000b00fc
_sw v0,0x30(s0)
lw a0,-0x7fa8(gp)
lw t9,-0x7f6c(gp)
jalr t9
_addiu a0,a0,-0x51dc
lbu v1,0x5b(sp)
li v0,0xa
bne v1,v0,0x000b00ec
_lw s5,-0x767c(gp)
addiu a0,sp,0x50
li a2,0xa
addiu s5,s5,-0x18
or t9,s5,zero
bal 0x000affe8
_li a1,0xa
li a0,0x2f
lbu v1,0x20(sp)
or s1,v0,zero
lw gp,0x18(sp)
sw zero,0x10(s2)
bne v1,a0,0x000b0168
_sw v0,0x14(s2)
lbu v0,0x21(sp)
li a0,0x20
bne v0,a0,0x000b0160
_lw t9,-0x7694(gp)
bal 0x000a5304
_or a0,s0,zero
b 0x000b0360
_lw gp,0x18(sp)
beq v0,v1,0x000b0324
_lw t9,-0x6fe8(gp)
li a2,0x8
li a1,0x8
or t9,s5,zero
bal 0x000affe8
_addiu a0,sp,0x48
li a2,0x6
li a1,0xa
sw v0,0x20(s2)
or t9,s5,zero
bal 0x000affe8
_addiu a0,sp,0x42
li a2,0x6
li a1,0xa
sw v0,0x1c(s2)
or t9,s5,zero
bal 0x000affe8
_addiu a0,sp,0x3c
addiu a0,sp,0x30
li a2,0xc
sw v0,0x18(s2)
or t9,s5,zero
bal 0x000affe8
_li a1,0xa
li v1,0x2f
lbu a0,0x20(sp)
lw gp,0x18(sp)
bne a0,v1,0x000b020c
_sw v0,0x24(s2)
li a2,0xf
li a1,0xa
or t9,s5,zero
bal 0x000affe8
_addiu a0,sp,0x21
lw v1,0x6c(s0)
sltu v1,v0,v1
bne v1,zero,0x000b0304
_lw gp,0x18(sp)
lw a0,-0x7fa8(gp)
lw t9,-0x7f6c(gp)
jalr t9
_addiu a0,a0,-0x51c8
lw t9,-0x7ec8(gp)
li a1,0x10
jalr t9
_or a0,s4,zero
lw gp,0x18(sp)
or s1,v0,zero
sw v0,0x0(s2)
lw a1,-0x7fa8(gp)
or a0,s1,zero
lw t9,-0x6fb8(gp)
jalr t9
_addiu a1,a1,-0x51ac
addu v0,s1,v0
sb zero,0x0(v0)
lw t9,0x8(s0)
jalr t9
_or a0,s0,zero
bne v0,zero,0x000b02e4
_lw gp,0x18(sp)
lw t9,0x20(s0)
jalr t9
_or a0,s2,zero
lw t9,0x24(s0)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
lw a3,0x14(s2)
lw v0,0x34(s0)
lw v1,0x10(s2)
lw a2,0x30(s0)
addu a3,v0,a3
lw t9,-0x7158(gp)
lw a0,0x4(s0)
addu v1,a2,v1
sw a3,0x34(s0)
sltu a2,a3,v0
sw zero,0x10(sp)
addu a2,a2,v1
jalr t9
_sw a2,0x30(s0)
or v0,zero,zero
lw gp,0x18(sp)
lw a0,0x5c(sp)
lw v1,0x0(s3)
bne a0,v1,0x000b02f8
_lw ra,0x7c(sp)
lw s5,0x78(sp)
lw s4,0x74(sp)
lw s3,0x70(sp)
lw s2,0x6c(sp)
lw s1,0x68(sp)
lw s0,0x64(sp)
jr ra
_addiu sp,sp,0x80
lw t9,-0x7694(gp)
bal 0x000a5304
_or a0,s0,zero
b 0x000b0274
_lw gp,0x18(sp)
lw t9,-0x7088(gp)
jalr t9
_nop
lw a0,0x68(s0)
lw t9,-0x7ea8(gp)
jalr t9
_addu a0,a0,v0
lw gp,0x18(sp)
or s1,v0,zero
b 0x000b0228
_sw v0,0x0(s2)
lw a0,0x68(s0)
jalr t9
_sw s1,0x6c(s0)
lw gp,0x18(sp)
lw t9,-0x7f80(gp)
jalr t9
_addiu a0,s1,0x1
or a2,s1,zero
lw gp,0x18(sp)
or a1,v0,zero
lw a0,0x4(s0)
lw t9,-0x7970(gp)
jalr t9
_sw v0,0x68(s0)
lw gp,0x18(sp)
lw v0,0x34(s0)
or a0,s0,zero
lw v1,0x30(s0)
lw t9,-0x7660(gp)
addu s1,v0,s1
sltu v0,s1,v0
sw s1,0x34(s0)
addu v0,v0,v1
bal 0x000b0040
_sw v0,0x30(s0)
b 0x000b02b4
_lw gp,0x18(sp)
li a2,0x3b
addiu a1,sp,0x21
jalr t9
_or a0,s4,zero
lw gp,0x18(sp)
lw t9,-0x765c(gp)
jalr t9
_lw a0,0x4(s0)
lw v1,0x34(s0)
lw a0,0x30(s0)
lw gp,0x18(sp)
sb v0,0x5b(sp)
addiu v0,v1,0x1
sltu v1,v0,v1
b 0x000b00cc
_addu v1,v1,a0
(translation_unit "undefined4 FUN_000b0040(int param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  char local_60;\n  char local_5f [15];\n  undefined1 auStack_50 [12];\n  undefined1 auStack_44 [6];\n  undefined1 auStack_3e [6];\n  undefined1 auStack_38 [8];\n  undefined1 auStack_30 [10];\n  char local_26;\n  char local_25;\n  int local_24;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  local_24 = *(int *)PTR___stack_chk_guard_0012b14c;\n  piVar8 = *(int **)(param_1 + 0x18);\n  iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c);\n  if (iVar3 != 0x3c) {\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }\n  if (local_60 == '\n') {\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }\n  *(uint *)(param_1 + 0x34) = uVar5 + 0x3c;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3;\n  if (local_26 == '`') goto LAB_000b00fc;\n  do {\n    (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n  } while (local_25 != '\n');\n  iVar3 = FUN_000affe8(auStack_30,10,10);\n  piVar8[4] = 0;\n  piVar8[5] = iVar3;\n  puVar1 = PTR_free_0012b168;\n  if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }\nLAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);\n  piVar8[8] = iVar3;\n  iVar3 = FUN_000affe8(auStack_3e,10,6);\n  piVar8[7] = iVar3;\n  iVar3 = FUN_000affe8(auStack_44,10,6);\n  piVar8[6] = iVar3;\n  iVar3 = FUN_000affe8(auStack_50,10,0xc);\n  piVar8[9] = iVar3;\n  if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }\n  iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);\n  *(undefined1 *)(iVar3 + iVar6) = 0;\n  iVar3 = (**(code **)(param_1 + 8))(param_1);\n  if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }\n  puVar1 = PTR_lseek64_0012aff8;\n  uVar5 = *(uint *)(param_1 + 0x34);\n  iVar3 = piVar8[4];\n  uVar7 = uVar5 + piVar8[5];\n  *(uint *)(param_1 + 0x34) = uVar7;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;\n  (*(code *)puVar1)(*(undefined4 *)(param_1 + 4));\n  uVar4 = 0;\nLAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }\n  uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar4;\n}\n\n" (ERROR "undefined4 FUN_000b0040(int param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  char local_60;\n  char local_5f [15];\n  undefined1 auStack_50 [12];\n  undefined1 auStack_44 [6];\n  undefined1 auStack_3e [6];\n  undefined1 auStack_38 [8];\n  undefined1 auStack_30 [10];\n  char local_26;\n  char local_25;\n  int local_24;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  local_24 = *(int *)PTR___stack_chk_guard_0012b14c;\n  piVar8 = *(int **)(param_1 + 0x18);\n  iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c);\n  if (iVar3 != 0x3c) {\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }\n  if (local_60 == '\n') {\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }\n  *(uint *)(param_1 + 0x34) = uVar5 + 0x3c;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3;\n  if (local_26 == '`') goto LAB_000b00fc;\n  do {\n    (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n  } while (local_25 != '\n');\n  iVar3 = FUN_000affe8(auStack_30,10,10);\n  piVar8[4] = 0;\n  piVar8[5] = iVar3;\n  puVar1 = PTR_free_0012b168;\n  if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }\nLAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);\n  piVar8[8] = iVar3;\n  iVar3 = FUN_000affe8(auStack_3e,10,6);\n  piVar8[7] = iVar3;\n  iVar3 = FUN_000affe8(auStack_44,10,6);\n  piVar8[6] = iVar3;\n  iVar3 = FUN_000affe8(auStack_50,10,0xc);\n  piVar8[9] = iVar3;\n  if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }\n  iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);\n  *(undefined1 *)(iVar3 + iVar6) = 0;\n  iVar3 = (**(code **)(param_1 + 8))(param_1);\n  if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }\n  puVar1 = PTR_lseek64_0012aff8;\n  uVar5 = *(uint *)(param_1 + 0x34);\n  iVar3 = piVar8[4];\n  uVar7 = uVar5 + piVar8[5];\n  *(uint *)(param_1 + 0x34) = uVar7;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;\n  (*(code *)puVar1)(*(undefined4 *)(param_1 + 4));\n  uVar4 = 0;\nLAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }\n  uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar4;\n}" type_identifier (function_declarator "FUN_000b0040(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "char local_60;" primitive_type identifier ;) (declaration "char local_5f [15];" primitive_type (array_declarator "local_5f [15]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_50 [12];" type_identifier (array_declarator "auStack_50 [12]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_44 [6];" type_identifier (array_declarator "auStack_44 [6]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_3e [6];" type_identifier (array_declarator "auStack_3e [6]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_38 [8];" type_identifier (array_declarator "auStack_38 [8]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_30 [10];" type_identifier (array_declarator "auStack_30 [10]" identifier [ number_literal ]) ;) (declaration "char local_26;" primitive_type identifier ;) (declaration "char local_25;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar8 = *(int **)(param_1 + 0x18);" (assignment_expression "piVar8 = *(int **)(param_1 + 0x18)" identifier = (pointer_expression "*(int **)(param_1 + 0x18)" * (cast_expression "(int **)(param_1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c);" (assignment_expression "iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c)" identifier = (call_expression "(*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c)" (parenthesized_expression "(*(code *)PTR_read_0012b1b0)" ( (pointer_expression "*(code *)PTR_read_0012b1b0" * (cast_expression "(code *)PTR_read_0012b1b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 4),&local_60,0x3c)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "&local_60" & identifier) , number_literal )))) ;) (if_statement "if (iVar3 != 0x3c) {\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }" if (parenthesized_expression "(iVar3 != 0x3c)" ( (binary_expression "iVar3 != 0x3c" identifier != number_literal) )) (compound_statement "{\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }" { (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_000b02b4;" goto statement_identifier ;) })) (if_statement "if (local_60 == '\n') {\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }" if (parenthesized_expression "(local_60 == '\n')" ( (binary_expression "local_60 == '\n'" identifier == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }" { (expression_statement "(*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);" (call_expression "(*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b)" (parenthesized_expression "(*(code *)PTR_memmove_0012b174)" ( (pointer_expression "*(code *)PTR_memmove_0012b174" * (cast_expression "(code *)PTR_memmove_0012b174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_60,local_5f,0x3b)" ( (pointer_expression "&local_60" & identifier) , identifier , number_literal ))) ;) (expression_statement "local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));" (assignment_expression "local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4))" identifier = (call_expression "(*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4))" (parenthesized_expression "(*(code *)PTR_FUN_0012aaf4)" ( (pointer_expression "*(code *)PTR_FUN_0012aaf4" * (cast_expression "(code *)PTR_FUN_0012aaf4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 4))" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34) + 1;" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34) + 1" identifier = (binary_expression "*(uint *)(param_1 + 0x34) + 1" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);" (assignment_expression "iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30)" identifier = (binary_expression "(uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30)" (call_expression "(uint)(uVar5 < *(uint *)(param_1 + 0x34))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 < *(uint *)(param_1 + 0x34))" ( (binary_expression "uVar5 < *(uint *)(param_1 + 0x34)" identifier < (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ))) + (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))))) ;) }) (else_clause "else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }" else (compound_statement "{\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x30);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x30)" identifier = (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34)" identifier = (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) }))) (expression_statement "*(uint *)(param_1 + 0x34) = uVar5 + 0x3c;" (assignment_expression "*(uint *)(param_1 + 0x34) = uVar5 + 0x3c" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = (binary_expression "uVar5 + 0x3c" identifier + number_literal)) ;) (expression_statement "*(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3;" (assignment_expression "*(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3" (pointer_expression "*(uint *)(param_1 + 0x30)" * (cast_expression "(uint *)(param_1 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "(uint)(uVar5 + 0x3c < uVar5) + iVar3" (call_expression "(uint)(uVar5 + 0x3c < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 + 0x3c < uVar5)" ( (binary_expression "uVar5 + 0x3c < uVar5" (binary_expression "uVar5 + 0x3c" identifier + number_literal) < identifier) ))) + identifier)) ;) (if_statement "if (local_26 == '`') goto LAB_000b00fc;" if (parenthesized_expression "(local_26 == '`')" ( (binary_expression "local_26 == '`'" identifier == (char_literal "'`'" ' character ')) )) (goto_statement "goto LAB_000b00fc;" goto statement_identifier ;)) do (compound_statement "{\n    (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n  } while (local_25 != '\n');\n  iVar3 = FUN_000affe8(auStack_30,10,10);\n  piVar8[4] = 0;\n  piVar8[5] = iVar3;\n  puVar1 = PTR_free_0012b168;\n  if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }\nLAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);\n  piVar8[8] = iVar3;\n  iVar3 = FUN_000affe8(auStack_3e,10,6);\n  piVar8[7] = iVar3;\n  iVar3 = FUN_000affe8(auStack_44,10,6);\n  piVar8[6] = iVar3;\n  iVar3 = FUN_000affe8(auStack_50,10,0xc);\n  piVar8[9] = iVar3;\n  if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }\n  iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);\n  *(undefined1 *)(iVar3 + iVar6) = 0;\n  iVar3 = (**(code **)(param_1 + 8))(param_1);\n  if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }\n  puVar1 = PTR_lseek64_0012aff8;\n  uVar5 = *(uint *)(param_1 + 0x34);\n  iVar3 = piVar8[4];\n  uVar7 = uVar5 + piVar8[5];\n  *(uint *)(param_1 + 0x34) = uVar7;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;\n  (*(code *)puVar1)(*(undefined4 *)(param_1 + 4));\n  uVar4 = 0;\nLAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }\n  uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar4;\n}" { (expression_statement "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);" (call_expression "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1e4)" ( (pointer_expression "*(code *)PTR_FUN_0012a1e4" * (cast_expression "(code *)PTR_FUN_0012a1e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_0012a1a8 + -0x51dc)" ( (binary_expression "PTR_FUN_0012a1a8 + -0x51dc" identifier + number_literal) ))) ;) (labeled_statement "LAB_000b00fc:\n  } while (local_25 != '\n');" statement_identifier : (ERROR "}" }) (while_statement "while (local_25 != '\n');" while (parenthesized_expression "(local_25 != '\n')" ( (binary_expression "local_25 != '\n'" identifier != (char_literal "'\n'" ' escape_sequence ')) )) (expression_statement ";" ;))) (expression_statement "iVar3 = FUN_000affe8(auStack_30,10,10);" (assignment_expression "iVar3 = FUN_000affe8(auStack_30,10,10)" identifier = (call_expression "FUN_000affe8(auStack_30,10,10)" identifier (argument_list "(auStack_30,10,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "piVar8[4] = 0;" (assignment_expression "piVar8[4] = 0" (subscript_expression "piVar8[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[5] = iVar3;" (assignment_expression "piVar8[5] = iVar3" (subscript_expression "piVar8[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_free_0012b168;" (assignment_expression "puVar1 = PTR_free_0012b168" identifier = identifier) ;) (if_statement "if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }" if (parenthesized_expression "(local_60 == '/')" ( (binary_expression "local_60 == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }" { (if_statement "if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }" if (parenthesized_expression "(local_5f[0] == ' ')" ( (binary_expression "local_5f[0] == ' '" (subscript_expression "local_5f[0]" identifier [ number_literal ]) == (char_literal "' '" ' character ')) )) (compound_statement "{\n      FUN_000a5304(param_1);\n    }" { (expression_statement "FUN_000a5304(param_1);" (call_expression "FUN_000a5304(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) }) (else_clause "else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }" else (compound_statement "{\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }" { (if_statement "if (local_5f[0] != '/') goto LAB_000b0168;" if (parenthesized_expression "(local_5f[0] != '/')" ( (binary_expression "local_5f[0] != '/'" (subscript_expression "local_5f[0]" identifier [ number_literal ]) != (char_literal "'/'" ' character ')) )) (goto_statement "goto LAB_000b0168;" goto statement_identifier ;)) (expression_statement "*(int *)(param_1 + 0x6c) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x6c) = iVar3" (pointer_expression "*(int *)(param_1 + 0x6c)" * (cast_expression "(int *)(param_1 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x68))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) ))) ;) (expression_statement "uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);" (assignment_expression "uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1)" identifier = (call_expression "(*(code *)PTR_FUN_0012a1d0)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" ( (pointer_expression "*(code *)PTR_FUN_0012a1d0" * (cast_expression "(code *)PTR_FUN_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar1 = PTR_FUN_0012a7e0;" (assignment_expression "puVar1 = PTR_FUN_0012a7e0" identifier = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x68) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 4),uVar4,iVar3)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , identifier , identifier ))) ;) }))) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34)" identifier = (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = uVar5 + iVar3;" (assignment_expression "uVar7 = uVar5 + iVar3" identifier = (binary_expression "uVar5 + iVar3" identifier + identifier)) ;) (expression_statement "*(uint *)(param_1 + 0x34) = uVar7;" (assignment_expression "*(uint *)(param_1 + 0x34) = uVar7" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);" (assignment_expression "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30)" (pointer_expression "*(uint *)(param_1 + 0x30)" * (cast_expression "(uint *)(param_1 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "(uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30)" (call_expression "(uint)(uVar7 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar5)" ( (binary_expression "uVar7 < uVar5" identifier < identifier) ))) + (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))))) ;) (expression_statement "uVar4 = FUN_000b0040(param_1);" (assignment_expression "uVar4 = FUN_000b0040(param_1)" identifier = (call_expression "FUN_000b0040(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (goto_statement "goto LAB_000b02b4;" goto statement_identifier ;) })) (labeled_statement "LAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);" statement_identifier : (expression_statement "iVar3 = FUN_000affe8(auStack_38,8,8);" (assignment_expression "iVar3 = FUN_000affe8(auStack_38,8,8)" identifier = (call_expression "FUN_000affe8(auStack_38,8,8)" identifier (argument_list "(auStack_38,8,8)" ( identifier , number_literal , number_literal )))) ;)) (expression_statement "piVar8[8] = iVar3;" (assignment_expression "piVar8[8] = iVar3" (subscript_expression "piVar8[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = FUN_000affe8(auStack_3e,10,6);" (assignment_expression "iVar3 = FUN_000affe8(auStack_3e,10,6)" identifier = (call_expression "FUN_000affe8(auStack_3e,10,6)" identifier (argument_list "(auStack_3e,10,6)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "piVar8[7] = iVar3;" (assignment_expression "piVar8[7] = iVar3" (subscript_expression "piVar8[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = FUN_000affe8(auStack_44,10,6);" (assignment_expression "iVar3 = FUN_000affe8(auStack_44,10,6)" identifier = (call_expression "FUN_000affe8(auStack_44,10,6)" identifier (argument_list "(auStack_44,10,6)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "piVar8[6] = iVar3;" (assignment_expression "piVar8[6] = iVar3" (subscript_expression "piVar8[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = FUN_000affe8(auStack_50,10,0xc);" (assignment_expression "iVar3 = FUN_000affe8(auStack_50,10,0xc)" identifier = (call_expression "FUN_000affe8(auStack_50,10,0xc)" identifier (argument_list "(auStack_50,10,0xc)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "piVar8[9] = iVar3;" (assignment_expression "piVar8[9] = iVar3" (subscript_expression "piVar8[9]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }" if (parenthesized_expression "(local_60 == '/')" ( (binary_expression "local_60 == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }" { (expression_statement "uVar5 = FUN_000affe8(local_5f,10,0xf);" (assignment_expression "uVar5 = FUN_000affe8(local_5f,10,0xf)" identifier = (call_expression "FUN_000affe8(local_5f,10,0xf)" identifier (argument_list "(local_5f,10,0xf)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }" if (parenthesized_expression "(*(uint *)(param_1 + 0x6c) <= uVar5)" ( (binary_expression "*(uint *)(param_1 + 0x6c) <= uVar5" (pointer_expression "*(uint *)(param_1 + 0x6c)" * (cast_expression "(uint *)(param_1 + 0x6c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }" { (expression_statement "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);" (call_expression "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1e4)" ( (pointer_expression "*(code *)PTR_FUN_0012a1e4" * (cast_expression "(code *)PTR_FUN_0012a1e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_0012a1a8 + -0x51c8)" ( (binary_expression "PTR_FUN_0012a1a8 + -0x51c8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_000b020c;" goto statement_identifier ;) })) (expression_statement "iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);" (assignment_expression "iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5)" identifier = (call_expression "(*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5)" (parenthesized_expression "(*(code *)PTR_FUN_0012a2a8)" ( (pointer_expression "*(code *)PTR_FUN_0012a2a8" * (cast_expression "(code *)PTR_FUN_0012a2a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(param_1 + 0x68) + uVar5)" ( (binary_expression "*(int *)(param_1 + 0x68) + uVar5" (pointer_expression "*(int *)(param_1 + 0x68)" * (cast_expression "(int *)(param_1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "*piVar8 = iVar3;" (assignment_expression "*piVar8 = iVar3" (pointer_expression "*piVar8" * identifier) = identifier) ;) }) (else_clause "else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }" else (compound_statement "{\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }" { (labeled_statement "LAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);" statement_identifier : (expression_statement "iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10)" identifier = (call_expression "(*(code *)PTR_FUN_0012a288)(&local_60,0x10)" (parenthesized_expression "(*(code *)PTR_FUN_0012a288)" ( (pointer_expression "*(code *)PTR_FUN_0012a288" * (cast_expression "(code *)PTR_FUN_0012a288" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_60,0x10)" ( (pointer_expression "&local_60" & identifier) , number_literal )))) ;)) (expression_statement "*piVar8 = iVar3;" (assignment_expression "*piVar8 = iVar3" (pointer_expression "*piVar8" * identifier) = identifier) ;) }))) (expression_statement "iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);" (assignment_expression "iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac)" identifier = (call_expression "(*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac)" (parenthesized_expression "(*(code *)PTR_strcspn_0012b198)" ( (pointer_expression "*(code *)PTR_strcspn_0012b198" * (cast_expression "(code *)PTR_strcspn_0012b198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,PTR_FUN_0012a1a8 + -0x51ac)" ( identifier , (binary_expression "PTR_FUN_0012a1a8 + -0x51ac" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(iVar3 + iVar6) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar6) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar6)" * (cast_expression "(undefined1 *)(iVar3 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar6)" ( (binary_expression "iVar3 + iVar6" identifier + identifier) )))) = number_literal) ;) (expression_statement "iVar3 = (**(code **)(param_1 + 8))(param_1);" (assignment_expression "iVar3 = (**(code **)(param_1 + 8))(param_1)" identifier = (call_expression "(**(code **)(param_1 + 8))(param_1)" (parenthesized_expression "(**(code **)(param_1 + 8))" ( (pointer_expression "**(code **)(param_1 + 8)" * (pointer_expression "*(code **)(param_1 + 8)" * (cast_expression "(code **)(param_1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }" { (expression_statement "(**(code **)(param_1 + 0x20))(piVar8);" (call_expression "(**(code **)(param_1 + 0x20))(piVar8)" (parenthesized_expression "(**(code **)(param_1 + 0x20))" ( (pointer_expression "**(code **)(param_1 + 0x20)" * (pointer_expression "*(code **)(param_1 + 0x20)" * (cast_expression "(code **)(param_1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) )) (argument_list "(piVar8)" ( identifier ))) ;) (expression_statement "(**(code **)(param_1 + 0x24))(param_1);" (call_expression "(**(code **)(param_1 + 0x24))(param_1)" (parenthesized_expression "(**(code **)(param_1 + 0x24))" ( (pointer_expression "**(code **)(param_1 + 0x24)" * (pointer_expression "*(code **)(param_1 + 0x24)" * (cast_expression "(code **)(param_1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) )) (argument_list "(param_1)" ( identifier ))) ;) }) (else_clause "else {\n    FUN_000a5304(param_1);\n  }" else (compound_statement "{\n    FUN_000a5304(param_1);\n  }" { (expression_statement "FUN_000a5304(param_1);" (call_expression "FUN_000a5304(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) }))) (expression_statement "puVar1 = PTR_lseek64_0012aff8;" (assignment_expression "puVar1 = PTR_lseek64_0012aff8" identifier = identifier) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34)" identifier = (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = piVar8[4];" (assignment_expression "iVar3 = piVar8[4]" identifier = (subscript_expression "piVar8[4]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = uVar5 + piVar8[5];" (assignment_expression "uVar7 = uVar5 + piVar8[5]" identifier = (binary_expression "uVar5 + piVar8[5]" identifier + (subscript_expression "piVar8[5]" identifier [ number_literal ]))) ;) (expression_statement "*(uint *)(param_1 + 0x34) = uVar7;" (assignment_expression "*(uint *)(param_1 + 0x34) = uVar7" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;" (assignment_expression "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3" (pointer_expression "*(uint *)(param_1 + 0x30)" * (cast_expression "(uint *)(param_1 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "(uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3" (binary_expression "(uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30)" (call_expression "(uint)(uVar7 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar5)" ( (binary_expression "uVar7 < uVar5" identifier < identifier) ))) + (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) + identifier)) ;) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4));" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 4))" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }" statement_identifier : (if_statement "if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar2)" ( (binary_expression "local_24 == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) }))) (expression_statement "uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();" (assignment_expression "uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "char get_header_ar(archive_handle_t *archive_handle)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined3 extraout_var;\n  int iVar3;\n  char cVar6;\n  uint uVar4;\n  char *pcVar5;\n  int iVar7;\n  uint uVar8;\n  file_header_t *pfVar9;\n  anon_union_60_2_6af1278d ar;\n  int iStack_24;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  iStack_24 = *(int *)PTR___stack_chk_guard_0012b14c;\n  pfVar9 = archive_handle->file_header;\n  iVar3 = (*(code *)PTR_read_0012b1b0)(archive_handle->src_fd,&ar,0x3c);\n  if (iVar3 == 0x3c) {\n    if (ar.raw[0] == '\n') {\n      (*(code *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b);\n      ar.raw[0x3b] = (*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd);\n      uVar8 = (uint)archive_handle->offset;\n      uVar4 = uVar8 + 1;\n      iVar3 = (uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset;\n    }\n    else {\n      iVar3 = *(int *)&archive_handle->offset;\n      uVar4 = (uint)archive_handle->offset;\n    }\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4 + 0x3c;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 + 0x3c < uVar4) + iVar3;\n    if (ar.raw[0x3a] == '`') goto LAB_000b00fc;\n    do {\n      (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n    } while (ar.raw[0x3b] != '\n');\n    uVar4 = read_num(ar.raw + 0x30,10,10);\n    *(undefined4 *)&pfVar9->size = 0;\n    *(uint *)((int)&pfVar9->size + 4) = uVar4;\n    puVar1 = PTR_free_0012b168;\n    if (ar.raw[0] != '/') {\nLAB_000b0168:\n      uVar4 = read_num(ar.raw + 0x28,8,8);\n      pfVar9->mode = uVar4;\n      uVar4 = read_num(ar.raw + 0x22,10,6);\n      pfVar9->gid = uVar4;\n      uVar4 = read_num(ar.raw + 0x1c,10,6);\n      pfVar9->uid = uVar4;\n      uVar4 = read_num(ar.raw + 0x10,10,0xc);\n      pfVar9->mtime = uVar4;\n      if (ar.raw[0] == '/') {\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }\n      pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);\n      pfVar9->name = pcVar5;\n      goto LAB_000b0228;\n    }\n    if (ar.raw[1] == ' ') {\n      data_skip(archive_handle);\n    }\n    else {\n      if (ar.raw[1] != '/') goto LAB_000b0168;\n      archive_handle->ar__long_name_size = uVar4;\n      (*(code *)puVar1)(archive_handle->ar__long_names);\n      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);\n      puVar1 = PTR_xread_0012a7e0;\n      archive_handle->ar__long_names = pcVar5;\n      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);\n    }\n    uVar8 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&archive_handle->offset;\n    uVar4 = uVar8 + uVar4;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 < uVar8) + iVar3;\n    cVar6 = get_header_ar(archive_handle);\n  }\n  else {\n    cVar6 = '\x01';\n  }\n  while (iStack_24 != *(int *)puVar2) {\n    uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_000b0304:\n    pcVar5 = (char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4);\n    pfVar9->name = pcVar5;\nLAB_000b0228:\n    iVar3 = (*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac);\n    pcVar5[iVar3] = '\0';\n    cVar6 = (*archive_handle->filter)(archive_handle);\n    if (CONCAT31(extraout_var,cVar6) == 0) {\n      (*archive_handle->action_header)(pfVar9);\n      (*archive_handle->action_data)(archive_handle);\n    }\n    else {\n      data_skip(archive_handle);\n    }\n    puVar1 = PTR_lseek64_0012aff8;\n    uVar4 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&pfVar9->size;\n    iVar7 = *(int *)&archive_handle->offset;\n    uVar8 = uVar4 + (int)pfVar9->size;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar8;\n    *(uint *)&archive_handle->offset = (uint)(uVar8 < uVar4) + iVar7 + iVar3;\n    (*(code *)puVar1)(archive_handle->src_fd);\n    cVar6 = '\0';\n  }\n  return cVar6;\n}\n\n" (function_definition "char get_header_ar(archive_handle_t *archive_handle)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined3 extraout_var;\n  int iVar3;\n  char cVar6;\n  uint uVar4;\n  char *pcVar5;\n  int iVar7;\n  uint uVar8;\n  file_header_t *pfVar9;\n  anon_union_60_2_6af1278d ar;\n  int iStack_24;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  iStack_24 = *(int *)PTR___stack_chk_guard_0012b14c;\n  pfVar9 = archive_handle->file_header;\n  iVar3 = (*(code *)PTR_read_0012b1b0)(archive_handle->src_fd,&ar,0x3c);\n  if (iVar3 == 0x3c) {\n    if (ar.raw[0] == '\n') {\n      (*(code *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b);\n      ar.raw[0x3b] = (*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd);\n      uVar8 = (uint)archive_handle->offset;\n      uVar4 = uVar8 + 1;\n      iVar3 = (uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset;\n    }\n    else {\n      iVar3 = *(int *)&archive_handle->offset;\n      uVar4 = (uint)archive_handle->offset;\n    }\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4 + 0x3c;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 + 0x3c < uVar4) + iVar3;\n    if (ar.raw[0x3a] == '`') goto LAB_000b00fc;\n    do {\n      (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n    } while (ar.raw[0x3b] != '\n');\n    uVar4 = read_num(ar.raw + 0x30,10,10);\n    *(undefined4 *)&pfVar9->size = 0;\n    *(uint *)((int)&pfVar9->size + 4) = uVar4;\n    puVar1 = PTR_free_0012b168;\n    if (ar.raw[0] != '/') {\nLAB_000b0168:\n      uVar4 = read_num(ar.raw + 0x28,8,8);\n      pfVar9->mode = uVar4;\n      uVar4 = read_num(ar.raw + 0x22,10,6);\n      pfVar9->gid = uVar4;\n      uVar4 = read_num(ar.raw + 0x1c,10,6);\n      pfVar9->uid = uVar4;\n      uVar4 = read_num(ar.raw + 0x10,10,0xc);\n      pfVar9->mtime = uVar4;\n      if (ar.raw[0] == '/') {\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }\n      pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);\n      pfVar9->name = pcVar5;\n      goto LAB_000b0228;\n    }\n    if (ar.raw[1] == ' ') {\n      data_skip(archive_handle);\n    }\n    else {\n      if (ar.raw[1] != '/') goto LAB_000b0168;\n      archive_handle->ar__long_name_size = uVar4;\n      (*(code *)puVar1)(archive_handle->ar__long_names);\n      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);\n      puVar1 = PTR_xread_0012a7e0;\n      archive_handle->ar__long_names = pcVar5;\n      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);\n    }\n    uVar8 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&archive_handle->offset;\n    uVar4 = uVar8 + uVar4;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 < uVar8) + iVar3;\n    cVar6 = get_header_ar(archive_handle);\n  }\n  else {\n    cVar6 = '\x01';\n  }\n  while (iStack_24 != *(int *)puVar2) {\n    uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_000b0304:\n    pcVar5 = (char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4);\n    pfVar9->name = pcVar5;\nLAB_000b0228:\n    iVar3 = (*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac);\n    pcVar5[iVar3] = '\0';\n    cVar6 = (*archive_handle->filter)(archive_handle);\n    if (CONCAT31(extraout_var,cVar6) == 0) {\n      (*archive_handle->action_header)(pfVar9);\n      (*archive_handle->action_data)(archive_handle);\n    }\n    else {\n      data_skip(archive_handle);\n    }\n    puVar1 = PTR_lseek64_0012aff8;\n    uVar4 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&pfVar9->size;\n    iVar7 = *(int *)&archive_handle->offset;\n    uVar8 = uVar4 + (int)pfVar9->size;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar8;\n    *(uint *)&archive_handle->offset = (uint)(uVar8 < uVar4) + iVar7 + iVar3;\n    (*(code *)puVar1)(archive_handle->src_fd);\n    cVar6 = '\0';\n  }\n  return cVar6;\n}" primitive_type (function_declarator "get_header_ar(archive_handle_t *archive_handle)" identifier (parameter_list "(archive_handle_t *archive_handle)" ( (parameter_declaration "archive_handle_t *archive_handle" type_identifier (pointer_declarator "*archive_handle" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined3 extraout_var;\n  int iVar3;\n  char cVar6;\n  uint uVar4;\n  char *pcVar5;\n  int iVar7;\n  uint uVar8;\n  file_header_t *pfVar9;\n  anon_union_60_2_6af1278d ar;\n  int iStack_24;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  iStack_24 = *(int *)PTR___stack_chk_guard_0012b14c;\n  pfVar9 = archive_handle->file_header;\n  iVar3 = (*(code *)PTR_read_0012b1b0)(archive_handle->src_fd,&ar,0x3c);\n  if (iVar3 == 0x3c) {\n    if (ar.raw[0] == '\n') {\n      (*(code *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b);\n      ar.raw[0x3b] = (*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd);\n      uVar8 = (uint)archive_handle->offset;\n      uVar4 = uVar8 + 1;\n      iVar3 = (uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset;\n    }\n    else {\n      iVar3 = *(int *)&archive_handle->offset;\n      uVar4 = (uint)archive_handle->offset;\n    }\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4 + 0x3c;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 + 0x3c < uVar4) + iVar3;\n    if (ar.raw[0x3a] == '`') goto LAB_000b00fc;\n    do {\n      (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n    } while (ar.raw[0x3b] != '\n');\n    uVar4 = read_num(ar.raw + 0x30,10,10);\n    *(undefined4 *)&pfVar9->size = 0;\n    *(uint *)((int)&pfVar9->size + 4) = uVar4;\n    puVar1 = PTR_free_0012b168;\n    if (ar.raw[0] != '/') {\nLAB_000b0168:\n      uVar4 = read_num(ar.raw + 0x28,8,8);\n      pfVar9->mode = uVar4;\n      uVar4 = read_num(ar.raw + 0x22,10,6);\n      pfVar9->gid = uVar4;\n      uVar4 = read_num(ar.raw + 0x1c,10,6);\n      pfVar9->uid = uVar4;\n      uVar4 = read_num(ar.raw + 0x10,10,0xc);\n      pfVar9->mtime = uVar4;\n      if (ar.raw[0] == '/') {\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }\n      pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);\n      pfVar9->name = pcVar5;\n      goto LAB_000b0228;\n    }\n    if (ar.raw[1] == ' ') {\n      data_skip(archive_handle);\n    }\n    else {\n      if (ar.raw[1] != '/') goto LAB_000b0168;\n      archive_handle->ar__long_name_size = uVar4;\n      (*(code *)puVar1)(archive_handle->ar__long_names);\n      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);\n      puVar1 = PTR_xread_0012a7e0;\n      archive_handle->ar__long_names = pcVar5;\n      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);\n    }\n    uVar8 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&archive_handle->offset;\n    uVar4 = uVar8 + uVar4;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 < uVar8) + iVar3;\n    cVar6 = get_header_ar(archive_handle);\n  }\n  else {\n    cVar6 = '\x01';\n  }\n  while (iStack_24 != *(int *)puVar2) {\n    uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_000b0304:\n    pcVar5 = (char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4);\n    pfVar9->name = pcVar5;\nLAB_000b0228:\n    iVar3 = (*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac);\n    pcVar5[iVar3] = '\0';\n    cVar6 = (*archive_handle->filter)(archive_handle);\n    if (CONCAT31(extraout_var,cVar6) == 0) {\n      (*archive_handle->action_header)(pfVar9);\n      (*archive_handle->action_data)(archive_handle);\n    }\n    else {\n      data_skip(archive_handle);\n    }\n    puVar1 = PTR_lseek64_0012aff8;\n    uVar4 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&pfVar9->size;\n    iVar7 = *(int *)&archive_handle->offset;\n    uVar8 = uVar4 + (int)pfVar9->size;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar8;\n    *(uint *)&archive_handle->offset = (uint)(uVar8 < uVar4) + iVar7 + iVar3;\n    (*(code *)puVar1)(archive_handle->src_fd);\n    cVar6 = '\0';\n  }\n  return cVar6;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "file_header_t *pfVar9;" type_identifier (pointer_declarator "*pfVar9" * identifier) ;) (declaration "anon_union_60_2_6af1278d ar;" type_identifier identifier ;) (declaration "int iStack_24;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "iStack_24 = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "iStack_24 = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pfVar9 = archive_handle->file_header;" (assignment_expression "pfVar9 = archive_handle->file_header" identifier = (field_expression "archive_handle->file_header" identifier -> field_identifier)) ;) (expression_statement "iVar3 = (*(code *)PTR_read_0012b1b0)(archive_handle->src_fd,&ar,0x3c);" (assignment_expression "iVar3 = (*(code *)PTR_read_0012b1b0)(archive_handle->src_fd,&ar,0x3c)" identifier = (call_expression "(*(code *)PTR_read_0012b1b0)(archive_handle->src_fd,&ar,0x3c)" (parenthesized_expression "(*(code *)PTR_read_0012b1b0)" ( (pointer_expression "*(code *)PTR_read_0012b1b0" * (cast_expression "(code *)PTR_read_0012b1b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(archive_handle->src_fd,&ar,0x3c)" ( (field_expression "archive_handle->src_fd" identifier -> field_identifier) , (pointer_expression "&ar" & identifier) , number_literal )))) ;) (if_statement "if (iVar3 == 0x3c) {\n    if (ar.raw[0] == '\n') {\n      (*(code *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b);\n      ar.raw[0x3b] = (*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd);\n      uVar8 = (uint)archive_handle->offset;\n      uVar4 = uVar8 + 1;\n      iVar3 = (uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset;\n    }\n    else {\n      iVar3 = *(int *)&archive_handle->offset;\n      uVar4 = (uint)archive_handle->offset;\n    }\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4 + 0x3c;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 + 0x3c < uVar4) + iVar3;\n    if (ar.raw[0x3a] == '`') goto LAB_000b00fc;\n    do {\n      (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n    } while (ar.raw[0x3b] != '\n');\n    uVar4 = read_num(ar.raw + 0x30,10,10);\n    *(undefined4 *)&pfVar9->size = 0;\n    *(uint *)((int)&pfVar9->size + 4) = uVar4;\n    puVar1 = PTR_free_0012b168;\n    if (ar.raw[0] != '/') {\nLAB_000b0168:\n      uVar4 = read_num(ar.raw + 0x28,8,8);\n      pfVar9->mode = uVar4;\n      uVar4 = read_num(ar.raw + 0x22,10,6);\n      pfVar9->gid = uVar4;\n      uVar4 = read_num(ar.raw + 0x1c,10,6);\n      pfVar9->uid = uVar4;\n      uVar4 = read_num(ar.raw + 0x10,10,0xc);\n      pfVar9->mtime = uVar4;\n      if (ar.raw[0] == '/') {\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }\n      pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);\n      pfVar9->name = pcVar5;\n      goto LAB_000b0228;\n    }\n    if (ar.raw[1] == ' ') {\n      data_skip(archive_handle);\n    }\n    else {\n      if (ar.raw[1] != '/') goto LAB_000b0168;\n      archive_handle->ar__long_name_size = uVar4;\n      (*(code *)puVar1)(archive_handle->ar__long_names);\n      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);\n      puVar1 = PTR_xread_0012a7e0;\n      archive_handle->ar__long_names = pcVar5;\n      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);\n    }\n    uVar8 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&archive_handle->offset;\n    uVar4 = uVar8 + uVar4;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 < uVar8) + iVar3;\n    cVar6 = get_header_ar(archive_handle);\n  }\n  else {\n    cVar6 = '\x01';\n  }\n  while (iStack_24 != *(int *)puVar2) {\n    uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_000b0304:\n    pcVar5 = (char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4);\n    pfVar9->name = pcVar5;\nLAB_000b0228:\n    iVar3 = (*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac);\n    pcVar5[iVar3] = '\0';\n    cVar6 = (*archive_handle->filter)(archive_handle);\n    if (CONCAT31(extraout_var,cVar6) == 0) {\n      (*archive_handle->action_header)(pfVar9);\n      (*archive_handle->action_data)(archive_handle);\n    }\n    else {\n      data_skip(archive_handle);\n    }\n    puVar1 = PTR_lseek64_0012aff8;\n    uVar4 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&pfVar9->size;\n    iVar7 = *(int *)&archive_handle->offset;\n    uVar8 = uVar4 + (int)pfVar9->size;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar8;\n    *(uint *)&archive_handle->offset = (uint)(uVar8 < uVar4) + iVar7 + iVar3;\n    (*(code *)puVar1)(archive_handle->src_fd);\n    cVar6 = '\0';\n  }\n  return cVar6;\n}" if (parenthesized_expression "(iVar3 == 0x3c)" ( (binary_expression "iVar3 == 0x3c" identifier == number_literal) )) (compound_statement "{\n    if (ar.raw[0] == '\n') {\n      (*(code *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b);\n      ar.raw[0x3b] = (*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd);\n      uVar8 = (uint)archive_handle->offset;\n      uVar4 = uVar8 + 1;\n      iVar3 = (uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset;\n    }\n    else {\n      iVar3 = *(int *)&archive_handle->offset;\n      uVar4 = (uint)archive_handle->offset;\n    }\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4 + 0x3c;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 + 0x3c < uVar4) + iVar3;\n    if (ar.raw[0x3a] == '`') goto LAB_000b00fc;\n    do {\n      (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n    } while (ar.raw[0x3b] != '\n');\n    uVar4 = read_num(ar.raw + 0x30,10,10);\n    *(undefined4 *)&pfVar9->size = 0;\n    *(uint *)((int)&pfVar9->size + 4) = uVar4;\n    puVar1 = PTR_free_0012b168;\n    if (ar.raw[0] != '/') {\nLAB_000b0168:\n      uVar4 = read_num(ar.raw + 0x28,8,8);\n      pfVar9->mode = uVar4;\n      uVar4 = read_num(ar.raw + 0x22,10,6);\n      pfVar9->gid = uVar4;\n      uVar4 = read_num(ar.raw + 0x1c,10,6);\n      pfVar9->uid = uVar4;\n      uVar4 = read_num(ar.raw + 0x10,10,0xc);\n      pfVar9->mtime = uVar4;\n      if (ar.raw[0] == '/') {\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }\n      pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);\n      pfVar9->name = pcVar5;\n      goto LAB_000b0228;\n    }\n    if (ar.raw[1] == ' ') {\n      data_skip(archive_handle);\n    }\n    else {\n      if (ar.raw[1] != '/') goto LAB_000b0168;\n      archive_handle->ar__long_name_size = uVar4;\n      (*(code *)puVar1)(archive_handle->ar__long_names);\n      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);\n      puVar1 = PTR_xread_0012a7e0;\n      archive_handle->ar__long_names = pcVar5;\n      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);\n    }\n    uVar8 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&archive_handle->offset;\n    uVar4 = uVar8 + uVar4;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 < uVar8) + iVar3;\n    cVar6 = get_header_ar(archive_handle);\n  }\n  else {\n    cVar6 = '\x01';\n  }\n  while (iStack_24 != *(int *)puVar2) {\n    uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_000b0304:\n    pcVar5 = (char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4);\n    pfVar9->name = pcVar5;\nLAB_000b0228:\n    iVar3 = (*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac);\n    pcVar5[iVar3] = '\0';\n    cVar6 = (*archive_handle->filter)(archive_handle);\n    if (CONCAT31(extraout_var,cVar6) == 0) {\n      (*archive_handle->action_header)(pfVar9);\n      (*archive_handle->action_data)(archive_handle);\n    }\n    else {\n      data_skip(archive_handle);\n    }\n    puVar1 = PTR_lseek64_0012aff8;\n    uVar4 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&pfVar9->size;\n    iVar7 = *(int *)&archive_handle->offset;\n    uVar8 = uVar4 + (int)pfVar9->size;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar8;\n    *(uint *)&archive_handle->offset = (uint)(uVar8 < uVar4) + iVar7 + iVar3;\n    (*(code *)puVar1)(archive_handle->src_fd);\n    cVar6 = '\0';\n  }\n  return cVar6;\n}" { (if_statement "if (ar.raw[0] == '\n') {\n      (*(code *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b);\n      ar.raw[0x3b] = (*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd);\n      uVar8 = (uint)archive_handle->offset;\n      uVar4 = uVar8 + 1;\n      iVar3 = (uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset;\n    }\n    else {\n      iVar3 = *(int *)&archive_handle->offset;\n      uVar4 = (uint)archive_handle->offset;\n    }" if (parenthesized_expression "(ar.raw[0] == '\n')" ( (binary_expression "ar.raw[0] == '\n'" (subscript_expression "ar.raw[0]" (field_expression "ar.raw" identifier . field_identifier) [ number_literal ]) == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n      (*(code *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b);\n      ar.raw[0x3b] = (*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd);\n      uVar8 = (uint)archive_handle->offset;\n      uVar4 = uVar8 + 1;\n      iVar3 = (uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset;\n    }" { (expression_statement "(*(code *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b);" (call_expression "(*(code *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b)" (parenthesized_expression "(*(code *)PTR_memmove_0012b174)" ( (pointer_expression "*(code *)PTR_memmove_0012b174" * (cast_expression "(code *)PTR_memmove_0012b174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&ar,ar.raw + 1,0x3b)" ( (pointer_expression "&ar" & identifier) , (binary_expression "ar.raw + 1" (field_expression "ar.raw" identifier . field_identifier) + number_literal) , number_literal ))) ;) (expression_statement "ar.raw[0x3b] = (*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd);" (assignment_expression "ar.raw[0x3b] = (*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd)" (subscript_expression "ar.raw[0x3b]" (field_expression "ar.raw" identifier . field_identifier) [ number_literal ]) = (call_expression "(*(code *)PTR_xread_char_0012aaf4)(archive_handle->src_fd)" (parenthesized_expression "(*(code *)PTR_xread_char_0012aaf4)" ( (pointer_expression "*(code *)PTR_xread_char_0012aaf4" * (cast_expression "(code *)PTR_xread_char_0012aaf4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(archive_handle->src_fd)" ( (field_expression "archive_handle->src_fd" identifier -> field_identifier) )))) ;) (expression_statement "uVar8 = (uint)archive_handle->offset;" (assignment_expression "uVar8 = (uint)archive_handle->offset" identifier = (cast_expression "(uint)archive_handle->offset" ( (type_descriptor "uint" type_identifier) ) (field_expression "archive_handle->offset" identifier -> field_identifier))) ;) (expression_statement "uVar4 = uVar8 + 1;" (assignment_expression "uVar4 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = (uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset;" (assignment_expression "iVar3 = (uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset" identifier = (binary_expression "(uint)(uVar4 < uVar8) + *(int *)&archive_handle->offset" (call_expression "(uint)(uVar4 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar8)" ( (binary_expression "uVar4 < uVar8" identifier < identifier) ))) + (pointer_expression "*(int *)&archive_handle->offset" * (cast_expression "(int *)&archive_handle->offset" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&archive_handle->offset" & (field_expression "archive_handle->offset" identifier -> field_identifier)))))) ;) }) (else_clause "else {\n      iVar3 = *(int *)&archive_handle->offset;\n      uVar4 = (uint)archive_handle->offset;\n    }" else (compound_statement "{\n      iVar3 = *(int *)&archive_handle->offset;\n      uVar4 = (uint)archive_handle->offset;\n    }" { (expression_statement "iVar3 = *(int *)&archive_handle->offset;" (assignment_expression "iVar3 = *(int *)&archive_handle->offset" identifier = (pointer_expression "*(int *)&archive_handle->offset" * (cast_expression "(int *)&archive_handle->offset" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&archive_handle->offset" & (field_expression "archive_handle->offset" identifier -> field_identifier))))) ;) (expression_statement "uVar4 = (uint)archive_handle->offset;" (assignment_expression "uVar4 = (uint)archive_handle->offset" identifier = (cast_expression "(uint)archive_handle->offset" ( (type_descriptor "uint" type_identifier) ) (field_expression "archive_handle->offset" identifier -> field_identifier))) ;) }))) (expression_statement "*(uint *)((int)&archive_handle->offset + 4) = uVar4 + 0x3c;" (assignment_expression "*(uint *)((int)&archive_handle->offset + 4) = uVar4 + 0x3c" (pointer_expression "*(uint *)((int)&archive_handle->offset + 4)" * (cast_expression "(uint *)((int)&archive_handle->offset + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&archive_handle->offset + 4)" ( (binary_expression "(int)&archive_handle->offset + 4" (cast_expression "(int)&archive_handle->offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&archive_handle->offset" & (field_expression "archive_handle->offset" identifier -> field_identifier))) + number_literal) )))) = (binary_expression "uVar4 + 0x3c" identifier + number_literal)) ;) (expression_statement "*(uint *)&archive_handle->offset = (uint)(uVar4 + 0x3c < uVar4) + iVar3;" (assignment_expression "*(uint *)&archive_handle->offset = (uint)(uVar4 + 0x3c < uVar4) + iVar3" (pointer_expression "*(uint *)&archive_handle->offset" * (cast_expression "(uint *)&archive_handle->offset" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&archive_handle->offset" & (field_expression "archive_handle->offset" identifier -> field_identifier)))) = (binary_expression "(uint)(uVar4 + 0x3c < uVar4) + iVar3" (call_expression "(uint)(uVar4 + 0x3c < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 + 0x3c < uVar4)" ( (binary_expression "uVar4 + 0x3c < uVar4" (binary_expression "uVar4 + 0x3c" identifier + number_literal) < identifier) ))) + identifier)) ;) (if_statement "if (ar.raw[0x3a] == '`') goto LAB_000b00fc;" if (parenthesized_expression "(ar.raw[0x3a] == '`')" ( (binary_expression "ar.raw[0x3a] == '`'" (subscript_expression "ar.raw[0x3a]" (field_expression "ar.raw" identifier . field_identifier) [ number_literal ]) == (char_literal "'`'" ' character ')) )) (goto_statement "goto LAB_000b00fc;" goto statement_identifier ;)) (do_statement "do {\n      (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n    } while (ar.raw[0x3b] != '\n');\n    uVar4 = read_num(ar.raw + 0x30,10,10);\n    *(undefined4 *)&pfVar9->size = 0;\n    *(uint *)((int)&pfVar9->size + 4) = uVar4;\n    puVar1 = PTR_free_0012b168;\n    if (ar.raw[0] != '/') {\nLAB_000b0168:\n      uVar4 = read_num(ar.raw + 0x28,8,8);\n      pfVar9->mode = uVar4;\n      uVar4 = read_num(ar.raw + 0x22,10,6);\n      pfVar9->gid = uVar4;\n      uVar4 = read_num(ar.raw + 0x1c,10,6);\n      pfVar9->uid = uVar4;\n      uVar4 = read_num(ar.raw + 0x10,10,0xc);\n      pfVar9->mtime = uVar4;\n      if (ar.raw[0] == '/') {\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }\n      pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);\n      pfVar9->name = pcVar5;\n      goto LAB_000b0228;\n    }\n    if (ar.raw[1] == ' ') {\n      data_skip(archive_handle);\n    }\n    else {\n      if (ar.raw[1] != '/') goto LAB_000b0168;\n      archive_handle->ar__long_name_size = uVar4;\n      (*(code *)puVar1)(archive_handle->ar__long_names);\n      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);\n      puVar1 = PTR_xread_0012a7e0;\n      archive_handle->ar__long_names = pcVar5;\n      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);\n    }\n    uVar8 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&archive_handle->offset;\n    uVar4 = uVar8 + uVar4;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 < uVar8) + iVar3;\n    cVar6 = get_header_ar(archive_handle);\n  }\n  else {\n    cVar6 = '\x01';\n  }\n  while (iStack_24 != *(int *)puVar2)" do (compound_statement "{\n      (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n    } while (ar.raw[0x3b] != '\n');\n    uVar4 = read_num(ar.raw + 0x30,10,10);\n    *(undefined4 *)&pfVar9->size = 0;\n    *(uint *)((int)&pfVar9->size + 4) = uVar4;\n    puVar1 = PTR_free_0012b168;\n    if (ar.raw[0] != '/') {\nLAB_000b0168:\n      uVar4 = read_num(ar.raw + 0x28,8,8);\n      pfVar9->mode = uVar4;\n      uVar4 = read_num(ar.raw + 0x22,10,6);\n      pfVar9->gid = uVar4;\n      uVar4 = read_num(ar.raw + 0x1c,10,6);\n      pfVar9->uid = uVar4;\n      uVar4 = read_num(ar.raw + 0x10,10,0xc);\n      pfVar9->mtime = uVar4;\n      if (ar.raw[0] == '/') {\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }\n      pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);\n      pfVar9->name = pcVar5;\n      goto LAB_000b0228;\n    }\n    if (ar.raw[1] == ' ') {\n      data_skip(archive_handle);\n    }\n    else {\n      if (ar.raw[1] != '/') goto LAB_000b0168;\n      archive_handle->ar__long_name_size = uVar4;\n      (*(code *)puVar1)(archive_handle->ar__long_names);\n      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);\n      puVar1 = PTR_xread_0012a7e0;\n      archive_handle->ar__long_names = pcVar5;\n      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);\n    }\n    uVar8 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&archive_handle->offset;\n    uVar4 = uVar8 + uVar4;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar4;\n    *(uint *)&archive_handle->offset = (uint)(uVar4 < uVar8) + iVar3;\n    cVar6 = get_header_ar(archive_handle);\n  }" { (expression_statement "(*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51dc);" (binary_expression "(*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51dc" (call_expression "(*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_and_die_0012a1e4)" ( (pointer_expression "*(code *)PTR_bb_error_msg_and_die_0012a1e4" * (cast_expression "(code *)PTR_bb_error_msg_and_die_0012a1e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" ( (binary_expression "PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P" (binary_expression "PTR_s_<_W_q_v1_HxLJ_" identifier < identifier) & identifier) ))) (ERROR "9__f_l_0012a1a8" number_literal identifier) + number_literal) (ERROR ")" )) ;) (labeled_statement "LAB_000b00fc:\n    } while (ar.raw[0x3b] != '\n');" statement_identifier : (ERROR "}" }) (while_statement "while (ar.raw[0x3b] != '\n');" while (parenthesized_expression "(ar.raw[0x3b] != '\n')" ( (binary_expression "ar.raw[0x3b] != '\n'" (subscript_expression "ar.raw[0x3b]" (field_expression "ar.raw" identifier . field_identifier) [ number_literal ]) != (char_literal "'\n'" ' escape_sequence ')) )) (expression_statement ";" ;))) (expression_statement "uVar4 = read_num(ar.raw + 0x30,10,10);" (assignment_expression "uVar4 = read_num(ar.raw + 0x30,10,10)" identifier = (call_expression "read_num(ar.raw + 0x30,10,10)" identifier (argument_list "(ar.raw + 0x30,10,10)" ( (binary_expression "ar.raw + 0x30" (field_expression "ar.raw" identifier . field_identifier) + number_literal) , number_literal , number_literal )))) ;) (expression_statement "*(undefined4 *)&pfVar9->size = 0;" (assignment_expression "*(undefined4 *)&pfVar9->size = 0" (pointer_expression "*(undefined4 *)&pfVar9->size" * (cast_expression "(undefined4 *)&pfVar9->size" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pfVar9->size" & (field_expression "pfVar9->size" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(uint *)((int)&pfVar9->size + 4) = uVar4;" (assignment_expression "*(uint *)((int)&pfVar9->size + 4) = uVar4" (pointer_expression "*(uint *)((int)&pfVar9->size + 4)" * (cast_expression "(uint *)((int)&pfVar9->size + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pfVar9->size + 4)" ( (binary_expression "(int)&pfVar9->size + 4" (cast_expression "(int)&pfVar9->size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pfVar9->size" & (field_expression "pfVar9->size" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "puVar1 = PTR_free_0012b168;" (assignment_expression "puVar1 = PTR_free_0012b168" identifier = identifier) ;) (if_statement "if (ar.raw[0] != '/') {\nLAB_000b0168:\n      uVar4 = read_num(ar.raw + 0x28,8,8);\n      pfVar9->mode = uVar4;\n      uVar4 = read_num(ar.raw + 0x22,10,6);\n      pfVar9->gid = uVar4;\n      uVar4 = read_num(ar.raw + 0x1c,10,6);\n      pfVar9->uid = uVar4;\n      uVar4 = read_num(ar.raw + 0x10,10,0xc);\n      pfVar9->mtime = uVar4;\n      if (ar.raw[0] == '/') {\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }\n      pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);\n      pfVar9->name = pcVar5;\n      goto LAB_000b0228;\n    }" if (parenthesized_expression "(ar.raw[0] != '/')" ( (binary_expression "ar.raw[0] != '/'" (subscript_expression "ar.raw[0]" (field_expression "ar.raw" identifier . field_identifier) [ number_literal ]) != (char_literal "'/'" ' character ')) )) (compound_statement "{\nLAB_000b0168:\n      uVar4 = read_num(ar.raw + 0x28,8,8);\n      pfVar9->mode = uVar4;\n      uVar4 = read_num(ar.raw + 0x22,10,6);\n      pfVar9->gid = uVar4;\n      uVar4 = read_num(ar.raw + 0x1c,10,6);\n      pfVar9->uid = uVar4;\n      uVar4 = read_num(ar.raw + 0x10,10,0xc);\n      pfVar9->mtime = uVar4;\n      if (ar.raw[0] == '/') {\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }\n      pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);\n      pfVar9->name = pcVar5;\n      goto LAB_000b0228;\n    }" { (labeled_statement "LAB_000b0168:\n      uVar4 = read_num(ar.raw + 0x28,8,8);" statement_identifier : (expression_statement "uVar4 = read_num(ar.raw + 0x28,8,8);" (assignment_expression "uVar4 = read_num(ar.raw + 0x28,8,8)" identifier = (call_expression "read_num(ar.raw + 0x28,8,8)" identifier (argument_list "(ar.raw + 0x28,8,8)" ( (binary_expression "ar.raw + 0x28" (field_expression "ar.raw" identifier . field_identifier) + number_literal) , number_literal , number_literal )))) ;)) (expression_statement "pfVar9->mode = uVar4;" (assignment_expression "pfVar9->mode = uVar4" (field_expression "pfVar9->mode" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar4 = read_num(ar.raw + 0x22,10,6);" (assignment_expression "uVar4 = read_num(ar.raw + 0x22,10,6)" identifier = (call_expression "read_num(ar.raw + 0x22,10,6)" identifier (argument_list "(ar.raw + 0x22,10,6)" ( (binary_expression "ar.raw + 0x22" (field_expression "ar.raw" identifier . field_identifier) + number_literal) , number_literal , number_literal )))) ;) (expression_statement "pfVar9->gid = uVar4;" (assignment_expression "pfVar9->gid = uVar4" (field_expression "pfVar9->gid" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar4 = read_num(ar.raw + 0x1c,10,6);" (assignment_expression "uVar4 = read_num(ar.raw + 0x1c,10,6)" identifier = (call_expression "read_num(ar.raw + 0x1c,10,6)" identifier (argument_list "(ar.raw + 0x1c,10,6)" ( (binary_expression "ar.raw + 0x1c" (field_expression "ar.raw" identifier . field_identifier) + number_literal) , number_literal , number_literal )))) ;) (expression_statement "pfVar9->uid = uVar4;" (assignment_expression "pfVar9->uid = uVar4" (field_expression "pfVar9->uid" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar4 = read_num(ar.raw + 0x10,10,0xc);" (assignment_expression "uVar4 = read_num(ar.raw + 0x10,10,0xc)" identifier = (call_expression "read_num(ar.raw + 0x10,10,0xc)" identifier (argument_list "(ar.raw + 0x10,10,0xc)" ( (binary_expression "ar.raw + 0x10" (field_expression "ar.raw" identifier . field_identifier) + number_literal) , number_literal , number_literal )))) ;) (expression_statement "pfVar9->mtime = uVar4;" (assignment_expression "pfVar9->mtime = uVar4" (field_expression "pfVar9->mtime" identifier -> field_identifier) = identifier) ;) (if_statement "if (ar.raw[0] == '/') {\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }" if (parenthesized_expression "(ar.raw[0] == '/')" ( (binary_expression "ar.raw[0] == '/'" (subscript_expression "ar.raw[0]" (field_expression "ar.raw" identifier . field_identifier) [ number_literal ]) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n        uVar4 = read_num(ar.raw + 1,10,0xf);\n        if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;\n        (*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);\n      }" { (expression_statement "uVar4 = read_num(ar.raw + 1,10,0xf);" (assignment_expression "uVar4 = read_num(ar.raw + 1,10,0xf)" identifier = (call_expression "read_num(ar.raw + 1,10,0xf)" identifier (argument_list "(ar.raw + 1,10,0xf)" ( (binary_expression "ar.raw + 1" (field_expression "ar.raw" identifier . field_identifier) + number_literal) , number_literal , number_literal )))) ;) (if_statement "if (uVar4 < archive_handle->ar__long_name_size) goto LAB_000b0304;" if (parenthesized_expression "(uVar4 < archive_handle->ar__long_name_size)" ( (binary_expression "uVar4 < archive_handle->ar__long_name_size" identifier < (field_expression "archive_handle->ar__long_name_size" identifier -> field_identifier)) )) (goto_statement "goto LAB_000b0304;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8);" (binary_expression "(*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51c8" (call_expression "(*(code *)PTR_bb_error_msg_and_die_0012a1e4)\n                  (PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_and_die_0012a1e4)" ( (pointer_expression "*(code *)PTR_bb_error_msg_and_die_0012a1e4" * (cast_expression "(code *)PTR_bb_error_msg_and_die_0012a1e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" ( (binary_expression "PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P" (binary_expression "PTR_s_<_W_q_v1_HxLJ_" identifier < identifier) & identifier) ))) (ERROR "9__f_l_0012a1a8" number_literal identifier) + number_literal) (ERROR ")" )) ;) })) (expression_statement "pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10);" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10)" identifier = (cast_expression "(char *)(*(code *)PTR_xstrndup_0012a288)(&ar,0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xstrndup_0012a288)(&ar,0x10)" (parenthesized_expression "(*(code *)PTR_xstrndup_0012a288)" ( (pointer_expression "*(code *)PTR_xstrndup_0012a288" * (cast_expression "(code *)PTR_xstrndup_0012a288" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&ar,0x10)" ( (pointer_expression "&ar" & identifier) , number_literal ))))) ;) (expression_statement "pfVar9->name = pcVar5;" (assignment_expression "pfVar9->name = pcVar5" (field_expression "pfVar9->name" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_000b0228;" goto statement_identifier ;) })) (if_statement "if (ar.raw[1] == ' ') {\n      data_skip(archive_handle);\n    }\n    else {\n      if (ar.raw[1] != '/') goto LAB_000b0168;\n      archive_handle->ar__long_name_size = uVar4;\n      (*(code *)puVar1)(archive_handle->ar__long_names);\n      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);\n      puVar1 = PTR_xread_0012a7e0;\n      archive_handle->ar__long_names = pcVar5;\n      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);\n    }" if (parenthesized_expression "(ar.raw[1] == ' ')" ( (binary_expression "ar.raw[1] == ' '" (subscript_expression "ar.raw[1]" (field_expression "ar.raw" identifier . field_identifier) [ number_literal ]) == (char_literal "' '" ' character ')) )) (compound_statement "{\n      data_skip(archive_handle);\n    }" { (expression_statement "data_skip(archive_handle);" (call_expression "data_skip(archive_handle)" identifier (argument_list "(archive_handle)" ( identifier ))) ;) }) (else_clause "else {\n      if (ar.raw[1] != '/') goto LAB_000b0168;\n      archive_handle->ar__long_name_size = uVar4;\n      (*(code *)puVar1)(archive_handle->ar__long_names);\n      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);\n      puVar1 = PTR_xread_0012a7e0;\n      archive_handle->ar__long_names = pcVar5;\n      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);\n    }" else (compound_statement "{\n      if (ar.raw[1] != '/') goto LAB_000b0168;\n      archive_handle->ar__long_name_size = uVar4;\n      (*(code *)puVar1)(archive_handle->ar__long_names);\n      pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);\n      puVar1 = PTR_xread_0012a7e0;\n      archive_handle->ar__long_names = pcVar5;\n      (*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);\n    }" { (if_statement "if (ar.raw[1] != '/') goto LAB_000b0168;" if (parenthesized_expression "(ar.raw[1] != '/')" ( (binary_expression "ar.raw[1] != '/'" (subscript_expression "ar.raw[1]" (field_expression "ar.raw" identifier . field_identifier) [ number_literal ]) != (char_literal "'/'" ' character ')) )) (goto_statement "goto LAB_000b0168;" goto statement_identifier ;)) (expression_statement "archive_handle->ar__long_name_size = uVar4;" (assignment_expression "archive_handle->ar__long_name_size = uVar4" (field_expression "archive_handle->ar__long_name_size" identifier -> field_identifier) = identifier) ;) (expression_statement "(*(code *)puVar1)(archive_handle->ar__long_names);" (call_expression "(*(code *)puVar1)(archive_handle->ar__long_names)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(archive_handle->ar__long_names)" ( (field_expression "archive_handle->ar__long_names" identifier -> field_identifier) ))) ;) (expression_statement "pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1);" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1)" identifier = (cast_expression "(char *)(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xzalloc_0012a1d0)(uVar4 + 1)" (parenthesized_expression "(*(code *)PTR_xzalloc_0012a1d0)" ( (pointer_expression "*(code *)PTR_xzalloc_0012a1d0" * (cast_expression "(code *)PTR_xzalloc_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) ))))) ;) (expression_statement "puVar1 = PTR_xread_0012a7e0;" (assignment_expression "puVar1 = PTR_xread_0012a7e0" identifier = identifier) ;) (expression_statement "archive_handle->ar__long_names = pcVar5;" (assignment_expression "archive_handle->ar__long_names = pcVar5" (field_expression "archive_handle->ar__long_names" identifier -> field_identifier) = identifier) ;) (expression_statement "(*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4);" (call_expression "(*(code *)puVar1)(archive_handle->src_fd,pcVar5,uVar4)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(archive_handle->src_fd,pcVar5,uVar4)" ( (field_expression "archive_handle->src_fd" identifier -> field_identifier) , identifier , identifier ))) ;) }))) (expression_statement "uVar8 = (uint)archive_handle->offset;" (assignment_expression "uVar8 = (uint)archive_handle->offset" identifier = (cast_expression "(uint)archive_handle->offset" ( (type_descriptor "uint" type_identifier) ) (field_expression "archive_handle->offset" identifier -> field_identifier))) ;) (expression_statement "iVar3 = *(int *)&archive_handle->offset;" (assignment_expression "iVar3 = *(int *)&archive_handle->offset" identifier = (pointer_expression "*(int *)&archive_handle->offset" * (cast_expression "(int *)&archive_handle->offset" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&archive_handle->offset" & (field_expression "archive_handle->offset" identifier -> field_identifier))))) ;) (expression_statement "uVar4 = uVar8 + uVar4;" (assignment_expression "uVar4 = uVar8 + uVar4" identifier = (binary_expression "uVar8 + uVar4" identifier + identifier)) ;) (expression_statement "*(uint *)((int)&archive_handle->offset + 4) = uVar4;" (assignment_expression "*(uint *)((int)&archive_handle->offset + 4) = uVar4" (pointer_expression "*(uint *)((int)&archive_handle->offset + 4)" * (cast_expression "(uint *)((int)&archive_handle->offset + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&archive_handle->offset + 4)" ( (binary_expression "(int)&archive_handle->offset + 4" (cast_expression "(int)&archive_handle->offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&archive_handle->offset" & (field_expression "archive_handle->offset" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)&archive_handle->offset = (uint)(uVar4 < uVar8) + iVar3;" (assignment_expression "*(uint *)&archive_handle->offset = (uint)(uVar4 < uVar8) + iVar3" (pointer_expression "*(uint *)&archive_handle->offset" * (cast_expression "(uint *)&archive_handle->offset" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&archive_handle->offset" & (field_expression "archive_handle->offset" identifier -> field_identifier)))) = (binary_expression "(uint)(uVar4 < uVar8) + iVar3" (call_expression "(uint)(uVar4 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar8)" ( (binary_expression "uVar4 < uVar8" identifier < identifier) ))) + identifier)) ;) (expression_statement "cVar6 = get_header_ar(archive_handle);" (assignment_expression "cVar6 = get_header_ar(archive_handle)" identifier = (call_expression "get_header_ar(archive_handle)" identifier (argument_list "(archive_handle)" ( identifier )))) ;) }) (ERROR "else {\n    cVar6 = '\x01';\n  }" else { identifier = ' ERROR identifier ' ; }) while (parenthesized_expression "(iStack_24 != *(int *)puVar2)" ( (binary_expression "iStack_24 != *(int *)puVar2" identifier != (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) ;) (compound_statement "{\n    uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_000b0304:\n    pcVar5 = (char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4);\n    pfVar9->name = pcVar5;\nLAB_000b0228:\n    iVar3 = (*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac);\n    pcVar5[iVar3] = '\0';\n    cVar6 = (*archive_handle->filter)(archive_handle);\n    if (CONCAT31(extraout_var,cVar6) == 0) {\n      (*archive_handle->action_header)(pfVar9);\n      (*archive_handle->action_data)(archive_handle);\n    }\n    else {\n      data_skip(archive_handle);\n    }\n    puVar1 = PTR_lseek64_0012aff8;\n    uVar4 = (uint)archive_handle->offset;\n    iVar3 = *(int *)&pfVar9->size;\n    iVar7 = *(int *)&archive_handle->offset;\n    uVar8 = uVar4 + (int)pfVar9->size;\n    *(uint *)((int)&archive_handle->offset + 4) = uVar8;\n    *(uint *)&archive_handle->offset = (uint)(uVar8 < uVar4) + iVar7 + iVar3;\n    (*(code *)puVar1)(archive_handle->src_fd);\n    cVar6 = '\0';\n  }" { (expression_statement "uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();" (assignment_expression "uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (labeled_statement "LAB_000b0304:\n    pcVar5 = (char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4);" statement_identifier : (expression_statement "pcVar5 = (char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4);" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4)" identifier = (cast_expression "(char *)(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + uVar4)" (parenthesized_expression "(*(code *)PTR_xstrdup_0012a2a8)" ( (pointer_expression "*(code *)PTR_xstrdup_0012a2a8" * (cast_expression "(code *)PTR_xstrdup_0012a2a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(archive_handle->ar__long_names + uVar4)" ( (binary_expression "archive_handle->ar__long_names + uVar4" (field_expression "archive_handle->ar__long_names" identifier -> field_identifier) + identifier) ))))) ;)) (expression_statement "pfVar9->name = pcVar5;" (assignment_expression "pfVar9->name = pcVar5" (field_expression "pfVar9->name" identifier -> field_identifier) = identifier) ;) (labeled_statement "LAB_000b0228:\n    iVar3 = (*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac);" statement_identifier : (expression_statement "iVar3 = (*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac);" (assignment_expression "iVar3 = (*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac" identifier = (binary_expression "(*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)9__f_l_0012a1a8 + -0x51ac" (call_expression "(*(code *)PTR_strcspn_0012b198)\n                      (pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" (parenthesized_expression "(*(code *)PTR_strcspn_0012b198)" ( (pointer_expression "*(code *)PTR_strcspn_0012b198" * (cast_expression "(code *)PTR_strcspn_0012b198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P)" ( identifier , (binary_expression "PTR_s_<_W_q_v1_HxLJ_&uD_sa_____P" (binary_expression "PTR_s_<_W_q_v1_HxLJ_" identifier < identifier) & identifier) ))) (ERROR "9__f_l_0012a1a8" number_literal identifier) + number_literal)) (ERROR ")" )) ;)) (expression_statement "pcVar5[iVar3] = '\0';" (assignment_expression "pcVar5[iVar3] = '\0'" (subscript_expression "pcVar5[iVar3]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "cVar6 = (*archive_handle->filter)(archive_handle);" (assignment_expression "cVar6 = (*archive_handle->filter)(archive_handle)" identifier = (call_expression "(*archive_handle->filter)(archive_handle)" (parenthesized_expression "(*archive_handle->filter)" ( (pointer_expression "*archive_handle->filter" * (field_expression "archive_handle->filter" identifier -> field_identifier)) )) (argument_list "(archive_handle)" ( identifier )))) ;) (if_statement "if (CONCAT31(extraout_var,cVar6) == 0) {\n      (*archive_handle->action_header)(pfVar9);\n      (*archive_handle->action_data)(archive_handle);\n    }\n    else {\n      data_skip(archive_handle);\n    }" if (parenthesized_expression "(CONCAT31(extraout_var,cVar6) == 0)" ( (binary_expression "CONCAT31(extraout_var,cVar6) == 0" (call_expression "CONCAT31(extraout_var,cVar6)" identifier (argument_list "(extraout_var,cVar6)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n      (*archive_handle->action_header)(pfVar9);\n      (*archive_handle->action_data)(archive_handle);\n    }" { (expression_statement "(*archive_handle->action_header)(pfVar9);" (call_expression "(*archive_handle->action_header)(pfVar9)" (parenthesized_expression "(*archive_handle->action_header)" ( (pointer_expression "*archive_handle->action_header" * (field_expression "archive_handle->action_header" identifier -> field_identifier)) )) (argument_list "(pfVar9)" ( identifier ))) ;) (expression_statement "(*archive_handle->action_data)(archive_handle);" (call_expression "(*archive_handle->action_data)(archive_handle)" (parenthesized_expression "(*archive_handle->action_data)" ( (pointer_expression "*archive_handle->action_data" * (field_expression "archive_handle->action_data" identifier -> field_identifier)) )) (argument_list "(archive_handle)" ( identifier ))) ;) }) (else_clause "else {\n      data_skip(archive_handle);\n    }" else (compound_statement "{\n      data_skip(archive_handle);\n    }" { (expression_statement "data_skip(archive_handle);" (call_expression "data_skip(archive_handle)" identifier (argument_list "(archive_handle)" ( identifier ))) ;) }))) (expression_statement "puVar1 = PTR_lseek64_0012aff8;" (assignment_expression "puVar1 = PTR_lseek64_0012aff8" identifier = identifier) ;) (expression_statement "uVar4 = (uint)archive_handle->offset;" (assignment_expression "uVar4 = (uint)archive_handle->offset" identifier = (cast_expression "(uint)archive_handle->offset" ( (type_descriptor "uint" type_identifier) ) (field_expression "archive_handle->offset" identifier -> field_identifier))) ;) (expression_statement "iVar3 = *(int *)&pfVar9->size;" (assignment_expression "iVar3 = *(int *)&pfVar9->size" identifier = (pointer_expression "*(int *)&pfVar9->size" * (cast_expression "(int *)&pfVar9->size" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pfVar9->size" & (field_expression "pfVar9->size" identifier -> field_identifier))))) ;) (expression_statement "iVar7 = *(int *)&archive_handle->offset;" (assignment_expression "iVar7 = *(int *)&archive_handle->offset" identifier = (pointer_expression "*(int *)&archive_handle->offset" * (cast_expression "(int *)&archive_handle->offset" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&archive_handle->offset" & (field_expression "archive_handle->offset" identifier -> field_identifier))))) ;) (expression_statement "uVar8 = uVar4 + (int)pfVar9->size;" (assignment_expression "uVar8 = uVar4 + (int)pfVar9->size" identifier = (binary_expression "uVar4 + (int)pfVar9->size" identifier + (cast_expression "(int)pfVar9->size" ( (type_descriptor "int" primitive_type) ) (field_expression "pfVar9->size" identifier -> field_identifier)))) ;) (expression_statement "*(uint *)((int)&archive_handle->offset + 4) = uVar8;" (assignment_expression "*(uint *)((int)&archive_handle->offset + 4) = uVar8" (pointer_expression "*(uint *)((int)&archive_handle->offset + 4)" * (cast_expression "(uint *)((int)&archive_handle->offset + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&archive_handle->offset + 4)" ( (binary_expression "(int)&archive_handle->offset + 4" (cast_expression "(int)&archive_handle->offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&archive_handle->offset" & (field_expression "archive_handle->offset" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)&archive_handle->offset = (uint)(uVar8 < uVar4) + iVar7 + iVar3;" (assignment_expression "*(uint *)&archive_handle->offset = (uint)(uVar8 < uVar4) + iVar7 + iVar3" (pointer_expression "*(uint *)&archive_handle->offset" * (cast_expression "(uint *)&archive_handle->offset" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&archive_handle->offset" & (field_expression "archive_handle->offset" identifier -> field_identifier)))) = (binary_expression "(uint)(uVar8 < uVar4) + iVar7 + iVar3" (binary_expression "(uint)(uVar8 < uVar4) + iVar7" (call_expression "(uint)(uVar8 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar8 < uVar4)" ( (binary_expression "uVar8 < uVar4" identifier < identifier) ))) + identifier) + identifier)) ;) (expression_statement "(*(code *)puVar1)(archive_handle->src_fd);" (call_expression "(*(code *)puVar1)(archive_handle->src_fd)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(archive_handle->src_fd)" ( (field_expression "archive_handle->src_fd" identifier -> field_identifier) ))) ;) (expression_statement "cVar6 = '\0';" (assignment_expression "cVar6 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) }) (return_statement "return cVar6;" return identifier ;) })) })))
(translation_unit "undefined4 FUN_000b0040(int param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  char local_60;\n  char local_5f [15];\n  undefined1 auStack_50 [12];\n  undefined1 auStack_44 [6];\n  undefined1 auStack_3e [6];\n  undefined1 auStack_38 [8];\n  undefined1 auStack_30 [10];\n  char local_26;\n  char local_25;\n  int local_24;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  local_24 = *(int *)PTR___stack_chk_guard_0012b14c;\n  piVar8 = *(int **)(param_1 + 0x18);\n  iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c);\n  if (iVar3 != 0x3c) {\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }\n  if (local_60 == '\n') {\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }\n  *(uint *)(param_1 + 0x34) = uVar5 + 0x3c;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3;\n  if (local_26 == '`') goto LAB_000b00fc;\n  do {\n    (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n  } while (local_25 != '\n');\n  iVar3 = FUN_000affe8(auStack_30,10,10);\n  piVar8[4] = 0;\n  piVar8[5] = iVar3;\n  puVar1 = PTR_free_0012b168;\n  if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }\nLAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);\n  piVar8[8] = iVar3;\n  iVar3 = FUN_000affe8(auStack_3e,10,6);\n  piVar8[7] = iVar3;\n  iVar3 = FUN_000affe8(auStack_44,10,6);\n  piVar8[6] = iVar3;\n  iVar3 = FUN_000affe8(auStack_50,10,0xc);\n  piVar8[9] = iVar3;\n  if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }\n  iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);\n  *(undefined1 *)(iVar3 + iVar6) = 0;\n  iVar3 = (**(code **)(param_1 + 8))(param_1);\n  if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }\n  puVar1 = PTR_lseek64_0012aff8;\n  uVar5 = *(uint *)(param_1 + 0x34);\n  iVar3 = piVar8[4];\n  uVar7 = uVar5 + piVar8[5];\n  *(uint *)(param_1 + 0x34) = uVar7;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;\n  (*(code *)puVar1)(*(undefined4 *)(param_1 + 4));\n  uVar4 = 0;\nLAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }\n  uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar4;\n}\n\n" (ERROR "undefined4 FUN_000b0040(int param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  char local_60;\n  char local_5f [15];\n  undefined1 auStack_50 [12];\n  undefined1 auStack_44 [6];\n  undefined1 auStack_3e [6];\n  undefined1 auStack_38 [8];\n  undefined1 auStack_30 [10];\n  char local_26;\n  char local_25;\n  int local_24;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  local_24 = *(int *)PTR___stack_chk_guard_0012b14c;\n  piVar8 = *(int **)(param_1 + 0x18);\n  iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c);\n  if (iVar3 != 0x3c) {\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }\n  if (local_60 == '\n') {\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }\n  *(uint *)(param_1 + 0x34) = uVar5 + 0x3c;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3;\n  if (local_26 == '`') goto LAB_000b00fc;\n  do {\n    (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n  } while (local_25 != '\n');\n  iVar3 = FUN_000affe8(auStack_30,10,10);\n  piVar8[4] = 0;\n  piVar8[5] = iVar3;\n  puVar1 = PTR_free_0012b168;\n  if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }\nLAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);\n  piVar8[8] = iVar3;\n  iVar3 = FUN_000affe8(auStack_3e,10,6);\n  piVar8[7] = iVar3;\n  iVar3 = FUN_000affe8(auStack_44,10,6);\n  piVar8[6] = iVar3;\n  iVar3 = FUN_000affe8(auStack_50,10,0xc);\n  piVar8[9] = iVar3;\n  if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }\n  iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);\n  *(undefined1 *)(iVar3 + iVar6) = 0;\n  iVar3 = (**(code **)(param_1 + 8))(param_1);\n  if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }\n  puVar1 = PTR_lseek64_0012aff8;\n  uVar5 = *(uint *)(param_1 + 0x34);\n  iVar3 = piVar8[4];\n  uVar7 = uVar5 + piVar8[5];\n  *(uint *)(param_1 + 0x34) = uVar7;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;\n  (*(code *)puVar1)(*(undefined4 *)(param_1 + 4));\n  uVar4 = 0;\nLAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }\n  uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar4;\n}" type_identifier (function_declarator "FUN_000b0040(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "char local_60;" primitive_type identifier ;) (declaration "char local_5f [15];" primitive_type (array_declarator "local_5f [15]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_50 [12];" type_identifier (array_declarator "auStack_50 [12]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_44 [6];" type_identifier (array_declarator "auStack_44 [6]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_3e [6];" type_identifier (array_declarator "auStack_3e [6]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_38 [8];" type_identifier (array_declarator "auStack_38 [8]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_30 [10];" type_identifier (array_declarator "auStack_30 [10]" identifier [ number_literal ]) ;) (declaration "char local_26;" primitive_type identifier ;) (declaration "char local_25;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar8 = *(int **)(param_1 + 0x18);" (assignment_expression "piVar8 = *(int **)(param_1 + 0x18)" identifier = (pointer_expression "*(int **)(param_1 + 0x18)" * (cast_expression "(int **)(param_1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c);" (assignment_expression "iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c)" identifier = (call_expression "(*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c)" (parenthesized_expression "(*(code *)PTR_read_0012b1b0)" ( (pointer_expression "*(code *)PTR_read_0012b1b0" * (cast_expression "(code *)PTR_read_0012b1b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 4),&local_60,0x3c)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "&local_60" & identifier) , number_literal )))) ;) (if_statement "if (iVar3 != 0x3c) {\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }" if (parenthesized_expression "(iVar3 != 0x3c)" ( (binary_expression "iVar3 != 0x3c" identifier != number_literal) )) (compound_statement "{\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }" { (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_000b02b4;" goto statement_identifier ;) })) (if_statement "if (local_60 == '\n') {\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }" if (parenthesized_expression "(local_60 == '\n')" ( (binary_expression "local_60 == '\n'" identifier == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }" { (expression_statement "(*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);" (call_expression "(*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b)" (parenthesized_expression "(*(code *)PTR_memmove_0012b174)" ( (pointer_expression "*(code *)PTR_memmove_0012b174" * (cast_expression "(code *)PTR_memmove_0012b174" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_60,local_5f,0x3b)" ( (pointer_expression "&local_60" & identifier) , identifier , number_literal ))) ;) (expression_statement "local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));" (assignment_expression "local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4))" identifier = (call_expression "(*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4))" (parenthesized_expression "(*(code *)PTR_FUN_0012aaf4)" ( (pointer_expression "*(code *)PTR_FUN_0012aaf4" * (cast_expression "(code *)PTR_FUN_0012aaf4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 4))" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34) + 1;" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34) + 1" identifier = (binary_expression "*(uint *)(param_1 + 0x34) + 1" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);" (assignment_expression "iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30)" identifier = (binary_expression "(uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30)" (call_expression "(uint)(uVar5 < *(uint *)(param_1 + 0x34))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 < *(uint *)(param_1 + 0x34))" ( (binary_expression "uVar5 < *(uint *)(param_1 + 0x34)" identifier < (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ))) + (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))))) ;) }) (else_clause "else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }" else (compound_statement "{\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x30);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x30)" identifier = (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34)" identifier = (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) }))) (expression_statement "*(uint *)(param_1 + 0x34) = uVar5 + 0x3c;" (assignment_expression "*(uint *)(param_1 + 0x34) = uVar5 + 0x3c" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = (binary_expression "uVar5 + 0x3c" identifier + number_literal)) ;) (expression_statement "*(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3;" (assignment_expression "*(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3" (pointer_expression "*(uint *)(param_1 + 0x30)" * (cast_expression "(uint *)(param_1 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "(uint)(uVar5 + 0x3c < uVar5) + iVar3" (call_expression "(uint)(uVar5 + 0x3c < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 + 0x3c < uVar5)" ( (binary_expression "uVar5 + 0x3c < uVar5" (binary_expression "uVar5 + 0x3c" identifier + number_literal) < identifier) ))) + identifier)) ;) (if_statement "if (local_26 == '`') goto LAB_000b00fc;" if (parenthesized_expression "(local_26 == '`')" ( (binary_expression "local_26 == '`'" identifier == (char_literal "'`'" ' character ')) )) (goto_statement "goto LAB_000b00fc;" goto statement_identifier ;)) do (compound_statement "{\n    (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n  } while (local_25 != '\n');\n  iVar3 = FUN_000affe8(auStack_30,10,10);\n  piVar8[4] = 0;\n  piVar8[5] = iVar3;\n  puVar1 = PTR_free_0012b168;\n  if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }\nLAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);\n  piVar8[8] = iVar3;\n  iVar3 = FUN_000affe8(auStack_3e,10,6);\n  piVar8[7] = iVar3;\n  iVar3 = FUN_000affe8(auStack_44,10,6);\n  piVar8[6] = iVar3;\n  iVar3 = FUN_000affe8(auStack_50,10,0xc);\n  piVar8[9] = iVar3;\n  if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }\n  iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);\n  *(undefined1 *)(iVar3 + iVar6) = 0;\n  iVar3 = (**(code **)(param_1 + 8))(param_1);\n  if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }\n  puVar1 = PTR_lseek64_0012aff8;\n  uVar5 = *(uint *)(param_1 + 0x34);\n  iVar3 = piVar8[4];\n  uVar7 = uVar5 + piVar8[5];\n  *(uint *)(param_1 + 0x34) = uVar7;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;\n  (*(code *)puVar1)(*(undefined4 *)(param_1 + 4));\n  uVar4 = 0;\nLAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }\n  uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar4;\n}" { (expression_statement "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);" (call_expression "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1e4)" ( (pointer_expression "*(code *)PTR_FUN_0012a1e4" * (cast_expression "(code *)PTR_FUN_0012a1e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_0012a1a8 + -0x51dc)" ( (binary_expression "PTR_FUN_0012a1a8 + -0x51dc" identifier + number_literal) ))) ;) (labeled_statement "LAB_000b00fc:\n  } while (local_25 != '\n');" statement_identifier : (ERROR "}" }) (while_statement "while (local_25 != '\n');" while (parenthesized_expression "(local_25 != '\n')" ( (binary_expression "local_25 != '\n'" identifier != (char_literal "'\n'" ' escape_sequence ')) )) (expression_statement ";" ;))) (expression_statement "iVar3 = FUN_000affe8(auStack_30,10,10);" (assignment_expression "iVar3 = FUN_000affe8(auStack_30,10,10)" identifier = (call_expression "FUN_000affe8(auStack_30,10,10)" identifier (argument_list "(auStack_30,10,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "piVar8[4] = 0;" (assignment_expression "piVar8[4] = 0" (subscript_expression "piVar8[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[5] = iVar3;" (assignment_expression "piVar8[5] = iVar3" (subscript_expression "piVar8[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_free_0012b168;" (assignment_expression "puVar1 = PTR_free_0012b168" identifier = identifier) ;) (if_statement "if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }" if (parenthesized_expression "(local_60 == '/')" ( (binary_expression "local_60 == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }" { (if_statement "if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }" if (parenthesized_expression "(local_5f[0] == ' ')" ( (binary_expression "local_5f[0] == ' '" (subscript_expression "local_5f[0]" identifier [ number_literal ]) == (char_literal "' '" ' character ')) )) (compound_statement "{\n      FUN_000a5304(param_1);\n    }" { (expression_statement "FUN_000a5304(param_1);" (call_expression "FUN_000a5304(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) }) (else_clause "else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }" else (compound_statement "{\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }" { (if_statement "if (local_5f[0] != '/') goto LAB_000b0168;" if (parenthesized_expression "(local_5f[0] != '/')" ( (binary_expression "local_5f[0] != '/'" (subscript_expression "local_5f[0]" identifier [ number_literal ]) != (char_literal "'/'" ' character ')) )) (goto_statement "goto LAB_000b0168;" goto statement_identifier ;)) (expression_statement "*(int *)(param_1 + 0x6c) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x6c) = iVar3" (pointer_expression "*(int *)(param_1 + 0x6c)" * (cast_expression "(int *)(param_1 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x68))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) ))) ;) (expression_statement "uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);" (assignment_expression "uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1)" identifier = (call_expression "(*(code *)PTR_FUN_0012a1d0)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" ( (pointer_expression "*(code *)PTR_FUN_0012a1d0" * (cast_expression "(code *)PTR_FUN_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar1 = PTR_FUN_0012a7e0;" (assignment_expression "puVar1 = PTR_FUN_0012a7e0" identifier = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x68) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 4),uVar4,iVar3)" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , identifier , identifier ))) ;) }))) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34)" identifier = (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = uVar5 + iVar3;" (assignment_expression "uVar7 = uVar5 + iVar3" identifier = (binary_expression "uVar5 + iVar3" identifier + identifier)) ;) (expression_statement "*(uint *)(param_1 + 0x34) = uVar7;" (assignment_expression "*(uint *)(param_1 + 0x34) = uVar7" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);" (assignment_expression "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30)" (pointer_expression "*(uint *)(param_1 + 0x30)" * (cast_expression "(uint *)(param_1 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "(uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30)" (call_expression "(uint)(uVar7 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar5)" ( (binary_expression "uVar7 < uVar5" identifier < identifier) ))) + (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))))) ;) (expression_statement "uVar4 = FUN_000b0040(param_1);" (assignment_expression "uVar4 = FUN_000b0040(param_1)" identifier = (call_expression "FUN_000b0040(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (goto_statement "goto LAB_000b02b4;" goto statement_identifier ;) })) (labeled_statement "LAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);" statement_identifier : (expression_statement "iVar3 = FUN_000affe8(auStack_38,8,8);" (assignment_expression "iVar3 = FUN_000affe8(auStack_38,8,8)" identifier = (call_expression "FUN_000affe8(auStack_38,8,8)" identifier (argument_list "(auStack_38,8,8)" ( identifier , number_literal , number_literal )))) ;)) (expression_statement "piVar8[8] = iVar3;" (assignment_expression "piVar8[8] = iVar3" (subscript_expression "piVar8[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = FUN_000affe8(auStack_3e,10,6);" (assignment_expression "iVar3 = FUN_000affe8(auStack_3e,10,6)" identifier = (call_expression "FUN_000affe8(auStack_3e,10,6)" identifier (argument_list "(auStack_3e,10,6)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "piVar8[7] = iVar3;" (assignment_expression "piVar8[7] = iVar3" (subscript_expression "piVar8[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = FUN_000affe8(auStack_44,10,6);" (assignment_expression "iVar3 = FUN_000affe8(auStack_44,10,6)" identifier = (call_expression "FUN_000affe8(auStack_44,10,6)" identifier (argument_list "(auStack_44,10,6)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "piVar8[6] = iVar3;" (assignment_expression "piVar8[6] = iVar3" (subscript_expression "piVar8[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = FUN_000affe8(auStack_50,10,0xc);" (assignment_expression "iVar3 = FUN_000affe8(auStack_50,10,0xc)" identifier = (call_expression "FUN_000affe8(auStack_50,10,0xc)" identifier (argument_list "(auStack_50,10,0xc)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "piVar8[9] = iVar3;" (assignment_expression "piVar8[9] = iVar3" (subscript_expression "piVar8[9]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }" if (parenthesized_expression "(local_60 == '/')" ( (binary_expression "local_60 == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }" { (expression_statement "uVar5 = FUN_000affe8(local_5f,10,0xf);" (assignment_expression "uVar5 = FUN_000affe8(local_5f,10,0xf)" identifier = (call_expression "FUN_000affe8(local_5f,10,0xf)" identifier (argument_list "(local_5f,10,0xf)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }" if (parenthesized_expression "(*(uint *)(param_1 + 0x6c) <= uVar5)" ( (binary_expression "*(uint *)(param_1 + 0x6c) <= uVar5" (pointer_expression "*(uint *)(param_1 + 0x6c)" * (cast_expression "(uint *)(param_1 + 0x6c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x6c)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }" { (expression_statement "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);" (call_expression "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1e4)" ( (pointer_expression "*(code *)PTR_FUN_0012a1e4" * (cast_expression "(code *)PTR_FUN_0012a1e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_0012a1a8 + -0x51c8)" ( (binary_expression "PTR_FUN_0012a1a8 + -0x51c8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_000b020c;" goto statement_identifier ;) })) (expression_statement "iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);" (assignment_expression "iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5)" identifier = (call_expression "(*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5)" (parenthesized_expression "(*(code *)PTR_FUN_0012a2a8)" ( (pointer_expression "*(code *)PTR_FUN_0012a2a8" * (cast_expression "(code *)PTR_FUN_0012a2a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(param_1 + 0x68) + uVar5)" ( (binary_expression "*(int *)(param_1 + 0x68) + uVar5" (pointer_expression "*(int *)(param_1 + 0x68)" * (cast_expression "(int *)(param_1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "*piVar8 = iVar3;" (assignment_expression "*piVar8 = iVar3" (pointer_expression "*piVar8" * identifier) = identifier) ;) }) (else_clause "else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }" else (compound_statement "{\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }" { (labeled_statement "LAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);" statement_identifier : (expression_statement "iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10)" identifier = (call_expression "(*(code *)PTR_FUN_0012a288)(&local_60,0x10)" (parenthesized_expression "(*(code *)PTR_FUN_0012a288)" ( (pointer_expression "*(code *)PTR_FUN_0012a288" * (cast_expression "(code *)PTR_FUN_0012a288" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_60,0x10)" ( (pointer_expression "&local_60" & identifier) , number_literal )))) ;)) (expression_statement "*piVar8 = iVar3;" (assignment_expression "*piVar8 = iVar3" (pointer_expression "*piVar8" * identifier) = identifier) ;) }))) (expression_statement "iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);" (assignment_expression "iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac)" identifier = (call_expression "(*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac)" (parenthesized_expression "(*(code *)PTR_strcspn_0012b198)" ( (pointer_expression "*(code *)PTR_strcspn_0012b198" * (cast_expression "(code *)PTR_strcspn_0012b198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,PTR_FUN_0012a1a8 + -0x51ac)" ( identifier , (binary_expression "PTR_FUN_0012a1a8 + -0x51ac" identifier + number_literal) )))) ;) (expression_statement "*(undefined1 *)(iVar3 + iVar6) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar6) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar6)" * (cast_expression "(undefined1 *)(iVar3 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar6)" ( (binary_expression "iVar3 + iVar6" identifier + identifier) )))) = number_literal) ;) (expression_statement "iVar3 = (**(code **)(param_1 + 8))(param_1);" (assignment_expression "iVar3 = (**(code **)(param_1 + 8))(param_1)" identifier = (call_expression "(**(code **)(param_1 + 8))(param_1)" (parenthesized_expression "(**(code **)(param_1 + 8))" ( (pointer_expression "**(code **)(param_1 + 8)" * (pointer_expression "*(code **)(param_1 + 8)" * (cast_expression "(code **)(param_1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }" { (expression_statement "(**(code **)(param_1 + 0x20))(piVar8);" (call_expression "(**(code **)(param_1 + 0x20))(piVar8)" (parenthesized_expression "(**(code **)(param_1 + 0x20))" ( (pointer_expression "**(code **)(param_1 + 0x20)" * (pointer_expression "*(code **)(param_1 + 0x20)" * (cast_expression "(code **)(param_1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) )) (argument_list "(piVar8)" ( identifier ))) ;) (expression_statement "(**(code **)(param_1 + 0x24))(param_1);" (call_expression "(**(code **)(param_1 + 0x24))(param_1)" (parenthesized_expression "(**(code **)(param_1 + 0x24))" ( (pointer_expression "**(code **)(param_1 + 0x24)" * (pointer_expression "*(code **)(param_1 + 0x24)" * (cast_expression "(code **)(param_1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) )) (argument_list "(param_1)" ( identifier ))) ;) }) (else_clause "else {\n    FUN_000a5304(param_1);\n  }" else (compound_statement "{\n    FUN_000a5304(param_1);\n  }" { (expression_statement "FUN_000a5304(param_1);" (call_expression "FUN_000a5304(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) }))) (expression_statement "puVar1 = PTR_lseek64_0012aff8;" (assignment_expression "puVar1 = PTR_lseek64_0012aff8" identifier = identifier) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34)" identifier = (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = piVar8[4];" (assignment_expression "iVar3 = piVar8[4]" identifier = (subscript_expression "piVar8[4]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = uVar5 + piVar8[5];" (assignment_expression "uVar7 = uVar5 + piVar8[5]" identifier = (binary_expression "uVar5 + piVar8[5]" identifier + (subscript_expression "piVar8[5]" identifier [ number_literal ]))) ;) (expression_statement "*(uint *)(param_1 + 0x34) = uVar7;" (assignment_expression "*(uint *)(param_1 + 0x34) = uVar7" (pointer_expression "*(uint *)(param_1 + 0x34)" * (cast_expression "(uint *)(param_1 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;" (assignment_expression "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3" (pointer_expression "*(uint *)(param_1 + 0x30)" * (cast_expression "(uint *)(param_1 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "(uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3" (binary_expression "(uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30)" (call_expression "(uint)(uVar7 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar5)" ( (binary_expression "uVar7 < uVar5" identifier < identifier) ))) + (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) + identifier)) ;) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4));" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 4))" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }" statement_identifier : (if_statement "if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar2)" ( (binary_expression "local_24 == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) }))) (expression_statement "uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();" (assignment_expression "uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (ERROR TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + LIT) < IDENT) ))) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (labeled_statement statement_identifier : (ERROR }) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (expression_statement ;))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (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 ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (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 ( (pointer_expression & IDENT) , LIT )))) ;)) (expression_statement (assignment_expression (pointer_expression * 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) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(ERROR "undefined4 FUN_000b0040(int param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  int *piVar8;\n  char local_60;\n  char local_5f [15];\n  undefined1 auStack_50 [12];\n  undefined1 auStack_44 [6];\n  undefined1 auStack_3e [6];\n  undefined1 auStack_38 [8];\n  undefined1 auStack_30 [10];\n  char local_26;\n  char local_25;\n  int local_24;\n  \n  puVar2 = PTR___stack_chk_guard_0012b14c;\n  local_24 = *(int *)PTR___stack_chk_guard_0012b14c;\n  piVar8 = *(int **)(param_1 + 0x18);\n  iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c);\n  if (iVar3 != 0x3c) {\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }\n  if (local_60 == '\n') {\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }\n  *(uint *)(param_1 + 0x34) = uVar5 + 0x3c;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3;\n  if (local_26 == '`') goto LAB_000b00fc;\n  do {\n    (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n  } while (local_25 != '\n');\n  iVar3 = FUN_000affe8(auStack_30,10,10);\n  piVar8[4] = 0;\n  piVar8[5] = iVar3;\n  puVar1 = PTR_free_0012b168;\n  if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }\nLAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);\n  piVar8[8] = iVar3;\n  iVar3 = FUN_000affe8(auStack_3e,10,6);\n  piVar8[7] = iVar3;\n  iVar3 = FUN_000affe8(auStack_44,10,6);\n  piVar8[6] = iVar3;\n  iVar3 = FUN_000affe8(auStack_50,10,0xc);\n  piVar8[9] = iVar3;\n  if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }\n  iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);\n  *(undefined1 *)(iVar3 + iVar6) = 0;\n  iVar3 = (**(code **)(param_1 + 8))(param_1);\n  if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }\n  puVar1 = PTR_lseek64_0012aff8;\n  uVar5 = *(uint *)(param_1 + 0x34);\n  iVar3 = piVar8[4];\n  uVar7 = uVar5 + piVar8[5];\n  *(uint *)(param_1 + 0x34) = uVar7;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;\n  (*(code *)puVar1)(*(undefined4 *)(param_1 + 4));\n  uVar4 = 0;\nLAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }\n  uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar4;\n}" (type_identifier "undefined4") (function_declarator "FUN_000b0040(int param_1)" (identifier "FUN_000b0040") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "char local_60;" (primitive_type "char") (identifier "local_60") (; ";")) (declaration "char local_5f [15];" (primitive_type "char") (array_declarator "local_5f [15]" (identifier "local_5f") ([ "[") (number_literal "15") (] "]")) (; ";")) (declaration "undefined1 auStack_50 [12];" (type_identifier "undefined1") (array_declarator "auStack_50 [12]" (identifier "auStack_50") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined1 auStack_44 [6];" (type_identifier "undefined1") (array_declarator "auStack_44 [6]" (identifier "auStack_44") ([ "[") (number_literal "6") (] "]")) (; ";")) (declaration "undefined1 auStack_3e [6];" (type_identifier "undefined1") (array_declarator "auStack_3e [6]" (identifier "auStack_3e") ([ "[") (number_literal "6") (] "]")) (; ";")) (declaration "undefined1 auStack_38 [8];" (type_identifier "undefined1") (array_declarator "auStack_38 [8]" (identifier "auStack_38") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined1 auStack_30 [10];" (type_identifier "undefined1") (array_declarator "auStack_30 [10]" (identifier "auStack_30") ([ "[") (number_literal "10") (] "]")) (; ";")) (declaration "char local_26;" (primitive_type "char") (identifier "local_26") (; ";")) (declaration "char local_25;" (primitive_type "char") (identifier "local_25") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "puVar2 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_0012b14c" (identifier "puVar2") (= "=") (identifier "PTR___stack_chk_guard_0012b14c")) (; ";")) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_0012b14c" (identifier "local_24") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0012b14c")))) (; ";")) (expression_statement "piVar8 = *(int **)(param_1 + 0x18);" (assignment_expression "piVar8 = *(int **)(param_1 + 0x18)" (identifier "piVar8") (= "=") (pointer_expression "*(int **)(param_1 + 0x18)" (* "*") (cast_expression "(int **)(param_1 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c);" (assignment_expression "iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c)" (parenthesized_expression "(*(code *)PTR_read_0012b1b0)" (( "(") (pointer_expression "*(code *)PTR_read_0012b1b0" (* "*") (cast_expression "(code *)PTR_read_0012b1b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_read_0012b1b0"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 4),&local_60,0x3c)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "&local_60" (& "&") (identifier "local_60")) (, ",") (number_literal "0x3c") () ")")))) (; ";")) (if_statement "if (iVar3 != 0x3c) {\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0x3c)" (( "(") (binary_expression "iVar3 != 0x3c" (identifier "iVar3") (!= "!=") (number_literal "0x3c")) () ")")) (compound_statement "{\n    uVar4 = 1;\n    goto LAB_000b02b4;\n  }" ({ "{") (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_000b02b4;" (goto "goto") (statement_identifier "LAB_000b02b4") (; ";")) (} "}"))) (if_statement "if (local_60 == '\n') {\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }" (if "if") (parenthesized_expression "(local_60 == '\n')" (( "(") (binary_expression "local_60 == '\n'" (identifier "local_60") (== "==") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")")) (compound_statement "{\n    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);\n    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));\n    uVar5 = *(uint *)(param_1 + 0x34) + 1;\n    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);\n  }" ({ "{") (expression_statement "(*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);" (call_expression "(*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b)" (parenthesized_expression "(*(code *)PTR_memmove_0012b174)" (( "(") (pointer_expression "*(code *)PTR_memmove_0012b174" (* "*") (cast_expression "(code *)PTR_memmove_0012b174" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memmove_0012b174"))) () ")")) (argument_list "(&local_60,local_5f,0x3b)" (( "(") (pointer_expression "&local_60" (& "&") (identifier "local_60")) (, ",") (identifier "local_5f") (, ",") (number_literal "0x3b") () ")"))) (; ";")) (expression_statement "local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));" (assignment_expression "local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4))" (identifier "local_25") (= "=") (call_expression "(*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4))" (parenthesized_expression "(*(code *)PTR_FUN_0012aaf4)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012aaf4" (* "*") (cast_expression "(code *)PTR_FUN_0012aaf4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012aaf4"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 4))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34) + 1;" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34) + 1" (identifier "uVar5") (= "=") (binary_expression "*(uint *)(param_1 + 0x34) + 1" (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);" (assignment_expression "iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30)" (identifier "iVar3") (= "=") (binary_expression "(uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30)" (call_expression "(uint)(uVar5 < *(uint *)(param_1 + 0x34))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar5 < *(uint *)(param_1 + 0x34))" (( "(") (binary_expression "uVar5 < *(uint *)(param_1 + 0x34)" (identifier "uVar5") (< "<") (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")"))))) () ")"))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))))) (; ";")) (} "}")) (else_clause "else {\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }" (else "else") (compound_statement "{\n    iVar3 = *(int *)(param_1 + 0x30);\n    uVar5 = *(uint *)(param_1 + 0x34);\n  }" ({ "{") (expression_statement "iVar3 = *(int *)(param_1 + 0x30);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x30)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*(uint *)(param_1 + 0x34) = uVar5 + 0x3c;" (assignment_expression "*(uint *)(param_1 + 0x34) = uVar5 + 0x3c" (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (binary_expression "uVar5 + 0x3c" (identifier "uVar5") (+ "+") (number_literal "0x3c"))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3;" (assignment_expression "*(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3" (pointer_expression "*(uint *)(param_1 + 0x30)" (* "*") (cast_expression "(uint *)(param_1 + 0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "(uint)(uVar5 + 0x3c < uVar5) + iVar3" (call_expression "(uint)(uVar5 + 0x3c < uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar5 + 0x3c < uVar5)" (( "(") (binary_expression "uVar5 + 0x3c < uVar5" (binary_expression "uVar5 + 0x3c" (identifier "uVar5") (+ "+") (number_literal "0x3c")) (< "<") (identifier "uVar5")) () ")"))) (+ "+") (identifier "iVar3"))) (; ";")) (if_statement "if (local_26 == '`') goto LAB_000b00fc;" (if "if") (parenthesized_expression "(local_26 == '`')" (( "(") (binary_expression "local_26 == '`'" (identifier "local_26") (== "==") (char_literal "'`'" (' "'") (character "`") (' "'"))) () ")")) (goto_statement "goto LAB_000b00fc;" (goto "goto") (statement_identifier "LAB_000b00fc") (; ";"))) (do "do") (compound_statement "{\n    (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);\nLAB_000b00fc:\n  } while (local_25 != '\n');\n  iVar3 = FUN_000affe8(auStack_30,10,10);\n  piVar8[4] = 0;\n  piVar8[5] = iVar3;\n  puVar1 = PTR_free_0012b168;\n  if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }\nLAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);\n  piVar8[8] = iVar3;\n  iVar3 = FUN_000affe8(auStack_3e,10,6);\n  piVar8[7] = iVar3;\n  iVar3 = FUN_000affe8(auStack_44,10,6);\n  piVar8[6] = iVar3;\n  iVar3 = FUN_000affe8(auStack_50,10,0xc);\n  piVar8[9] = iVar3;\n  if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }\n  iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);\n  *(undefined1 *)(iVar3 + iVar6) = 0;\n  iVar3 = (**(code **)(param_1 + 8))(param_1);\n  if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }\n  puVar1 = PTR_lseek64_0012aff8;\n  uVar5 = *(uint *)(param_1 + 0x34);\n  iVar3 = piVar8[4];\n  uVar7 = uVar5 + piVar8[5];\n  *(uint *)(param_1 + 0x34) = uVar7;\n  *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;\n  (*(code *)puVar1)(*(undefined4 *)(param_1 + 4));\n  uVar4 = 0;\nLAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }\n  uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar4;\n}" ({ "{") (expression_statement "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);" (call_expression "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1e4)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a1e4" (* "*") (cast_expression "(code *)PTR_FUN_0012a1e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a1e4"))) () ")")) (argument_list "(PTR_FUN_0012a1a8 + -0x51dc)" (( "(") (binary_expression "PTR_FUN_0012a1a8 + -0x51dc" (identifier "PTR_FUN_0012a1a8") (+ "+") (number_literal "-0x51dc")) () ")"))) (; ";")) (labeled_statement "LAB_000b00fc:\n  } while (local_25 != '\n');" (statement_identifier "LAB_000b00fc") (: ":") (ERROR "}" (} "}")) (while_statement "while (local_25 != '\n');" (while "while") (parenthesized_expression "(local_25 != '\n')" (( "(") (binary_expression "local_25 != '\n'" (identifier "local_25") (!= "!=") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")")) (expression_statement ";" (; ";")))) (expression_statement "iVar3 = FUN_000affe8(auStack_30,10,10);" (assignment_expression "iVar3 = FUN_000affe8(auStack_30,10,10)" (identifier "iVar3") (= "=") (call_expression "FUN_000affe8(auStack_30,10,10)" (identifier "FUN_000affe8") (argument_list "(auStack_30,10,10)" (( "(") (identifier "auStack_30") (, ",") (number_literal "10") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "piVar8[4] = 0;" (assignment_expression "piVar8[4] = 0" (subscript_expression "piVar8[4]" (identifier "piVar8") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar8[5] = iVar3;" (assignment_expression "piVar8[5] = iVar3" (subscript_expression "piVar8[5]" (identifier "piVar8") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "puVar1 = PTR_free_0012b168;" (assignment_expression "puVar1 = PTR_free_0012b168" (identifier "puVar1") (= "=") (identifier "PTR_free_0012b168")) (; ";")) (if_statement "if (local_60 == '/') {\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }" (if "if") (parenthesized_expression "(local_60 == '/')" (( "(") (binary_expression "local_60 == '/'" (identifier "local_60") (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n    if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }\n    uVar5 = *(uint *)(param_1 + 0x34);\n    uVar7 = uVar5 + iVar3;\n    *(uint *)(param_1 + 0x34) = uVar7;\n    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);\n    uVar4 = FUN_000b0040(param_1);\n    goto LAB_000b02b4;\n  }" ({ "{") (if_statement "if (local_5f[0] == ' ') {\n      FUN_000a5304(param_1);\n    }\n    else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }" (if "if") (parenthesized_expression "(local_5f[0] == ' ')" (( "(") (binary_expression "local_5f[0] == ' '" (subscript_expression "local_5f[0]" (identifier "local_5f") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (compound_statement "{\n      FUN_000a5304(param_1);\n    }" ({ "{") (expression_statement "FUN_000a5304(param_1);" (call_expression "FUN_000a5304(param_1)" (identifier "FUN_000a5304") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }" (else "else") (compound_statement "{\n      if (local_5f[0] != '/') goto LAB_000b0168;\n      *(int *)(param_1 + 0x6c) = iVar3;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));\n      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);\n      puVar1 = PTR_FUN_0012a7e0;\n      *(undefined4 *)(param_1 + 0x68) = uVar4;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);\n    }" ({ "{") (if_statement "if (local_5f[0] != '/') goto LAB_000b0168;" (if "if") (parenthesized_expression "(local_5f[0] != '/')" (( "(") (binary_expression "local_5f[0] != '/'" (subscript_expression "local_5f[0]" (identifier "local_5f") ([ "[") (number_literal "0") (] "]")) (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (goto_statement "goto LAB_000b0168;" (goto "goto") (statement_identifier "LAB_000b0168") (; ";"))) (expression_statement "*(int *)(param_1 + 0x6c) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x6c) = iVar3" (pointer_expression "*(int *)(param_1 + 0x6c)" (* "*") (cast_expression "(int *)(param_1 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x6c)" (( "(") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68))" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x68))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) () ")"))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);" (assignment_expression "uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_FUN_0012a1d0)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a1d0" (* "*") (cast_expression "(code *)PTR_FUN_0012a1d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a1d0"))) () ")")) (argument_list "(iVar3 + 1)" (( "(") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "puVar1 = PTR_FUN_0012a7e0;" (assignment_expression "puVar1 = PTR_FUN_0012a7e0" (identifier "puVar1") (= "=") (identifier "PTR_FUN_0012a7e0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x68) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 0x68) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 4),uVar4,iVar3)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "uVar4") (, ",") (identifier "iVar3") () ")"))) (; ";")) (} "}")))) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "uVar7 = uVar5 + iVar3;" (assignment_expression "uVar7 = uVar5 + iVar3" (identifier "uVar7") (= "=") (binary_expression "uVar5 + iVar3" (identifier "uVar5") (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x34) = uVar7;" (assignment_expression "*(uint *)(param_1 + 0x34) = uVar7" (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);" (assignment_expression "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30)" (pointer_expression "*(uint *)(param_1 + 0x30)" (* "*") (cast_expression "(uint *)(param_1 + 0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "(uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30)" (call_expression "(uint)(uVar7 < uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar7 < uVar5)" (( "(") (binary_expression "uVar7 < uVar5" (identifier "uVar7") (< "<") (identifier "uVar5")) () ")"))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))))) (; ";")) (expression_statement "uVar4 = FUN_000b0040(param_1);" (assignment_expression "uVar4 = FUN_000b0040(param_1)" (identifier "uVar4") (= "=") (call_expression "FUN_000b0040(param_1)" (identifier "FUN_000b0040") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (goto_statement "goto LAB_000b02b4;" (goto "goto") (statement_identifier "LAB_000b02b4") (; ";")) (} "}"))) (labeled_statement "LAB_000b0168:\n  iVar3 = FUN_000affe8(auStack_38,8,8);" (statement_identifier "LAB_000b0168") (: ":") (expression_statement "iVar3 = FUN_000affe8(auStack_38,8,8);" (assignment_expression "iVar3 = FUN_000affe8(auStack_38,8,8)" (identifier "iVar3") (= "=") (call_expression "FUN_000affe8(auStack_38,8,8)" (identifier "FUN_000affe8") (argument_list "(auStack_38,8,8)" (( "(") (identifier "auStack_38") (, ",") (number_literal "8") (, ",") (number_literal "8") () ")")))) (; ";"))) (expression_statement "piVar8[8] = iVar3;" (assignment_expression "piVar8[8] = iVar3" (subscript_expression "piVar8[8]" (identifier "piVar8") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar3 = FUN_000affe8(auStack_3e,10,6);" (assignment_expression "iVar3 = FUN_000affe8(auStack_3e,10,6)" (identifier "iVar3") (= "=") (call_expression "FUN_000affe8(auStack_3e,10,6)" (identifier "FUN_000affe8") (argument_list "(auStack_3e,10,6)" (( "(") (identifier "auStack_3e") (, ",") (number_literal "10") (, ",") (number_literal "6") () ")")))) (; ";")) (expression_statement "piVar8[7] = iVar3;" (assignment_expression "piVar8[7] = iVar3" (subscript_expression "piVar8[7]" (identifier "piVar8") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar3 = FUN_000affe8(auStack_44,10,6);" (assignment_expression "iVar3 = FUN_000affe8(auStack_44,10,6)" (identifier "iVar3") (= "=") (call_expression "FUN_000affe8(auStack_44,10,6)" (identifier "FUN_000affe8") (argument_list "(auStack_44,10,6)" (( "(") (identifier "auStack_44") (, ",") (number_literal "10") (, ",") (number_literal "6") () ")")))) (; ";")) (expression_statement "piVar8[6] = iVar3;" (assignment_expression "piVar8[6] = iVar3" (subscript_expression "piVar8[6]" (identifier "piVar8") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar3 = FUN_000affe8(auStack_50,10,0xc);" (assignment_expression "iVar3 = FUN_000affe8(auStack_50,10,0xc)" (identifier "iVar3") (= "=") (call_expression "FUN_000affe8(auStack_50,10,0xc)" (identifier "FUN_000affe8") (argument_list "(auStack_50,10,0xc)" (( "(") (identifier "auStack_50") (, ",") (number_literal "10") (, ",") (number_literal "0xc") () ")")))) (; ";")) (expression_statement "piVar8[9] = iVar3;" (assignment_expression "piVar8[9] = iVar3" (subscript_expression "piVar8[9]" (identifier "piVar8") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (local_60 == '/') {\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }\n  else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }" (if "if") (parenthesized_expression "(local_60 == '/')" (( "(") (binary_expression "local_60 == '/'" (identifier "local_60") (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n    uVar5 = FUN_000affe8(local_5f,10,0xf);\n    if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }\n    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);\n    *piVar8 = iVar3;\n  }" ({ "{") (expression_statement "uVar5 = FUN_000affe8(local_5f,10,0xf);" (assignment_expression "uVar5 = FUN_000affe8(local_5f,10,0xf)" (identifier "uVar5") (= "=") (call_expression "FUN_000affe8(local_5f,10,0xf)" (identifier "FUN_000affe8") (argument_list "(local_5f,10,0xf)" (( "(") (identifier "local_5f") (, ",") (number_literal "10") (, ",") (number_literal "0xf") () ")")))) (; ";")) (if_statement "if (*(uint *)(param_1 + 0x6c) <= uVar5) {\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 0x6c) <= uVar5)" (( "(") (binary_expression "*(uint *)(param_1 + 0x6c) <= uVar5" (pointer_expression "*(uint *)(param_1 + 0x6c)" (* "*") (cast_expression "(uint *)(param_1 + 0x6c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x6c)" (( "(") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) () ")")))) (<= "<=") (identifier "uVar5")) () ")")) (compound_statement "{\n      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);\n      goto LAB_000b020c;\n    }" ({ "{") (expression_statement "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);" (call_expression "(*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1e4)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a1e4" (* "*") (cast_expression "(code *)PTR_FUN_0012a1e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a1e4"))) () ")")) (argument_list "(PTR_FUN_0012a1a8 + -0x51c8)" (( "(") (binary_expression "PTR_FUN_0012a1a8 + -0x51c8" (identifier "PTR_FUN_0012a1a8") (+ "+") (number_literal "-0x51c8")) () ")"))) (; ";")) (goto_statement "goto LAB_000b020c;" (goto "goto") (statement_identifier "LAB_000b020c") (; ";")) (} "}"))) (expression_statement "iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);" (assignment_expression "iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5)" (parenthesized_expression "(*(code *)PTR_FUN_0012a2a8)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a2a8" (* "*") (cast_expression "(code *)PTR_FUN_0012a2a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a2a8"))) () ")")) (argument_list "(*(int *)(param_1 + 0x68) + uVar5)" (( "(") (binary_expression "*(int *)(param_1 + 0x68) + uVar5" (pointer_expression "*(int *)(param_1 + 0x68)" (* "*") (cast_expression "(int *)(param_1 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (+ "+") (identifier "uVar5")) () ")")))) (; ";")) (expression_statement "*piVar8 = iVar3;" (assignment_expression "*piVar8 = iVar3" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (identifier "iVar3")) (; ";")) (} "}")) (else_clause "else {\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }" (else "else") (compound_statement "{\nLAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);\n    *piVar8 = iVar3;\n  }" ({ "{") (labeled_statement "LAB_000b020c:\n    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);" (statement_identifier "LAB_000b020c") (: ":") (expression_statement "iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);" (assignment_expression "iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_FUN_0012a288)(&local_60,0x10)" (parenthesized_expression "(*(code *)PTR_FUN_0012a288)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a288" (* "*") (cast_expression "(code *)PTR_FUN_0012a288" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a288"))) () ")")) (argument_list "(&local_60,0x10)" (( "(") (pointer_expression "&local_60" (& "&") (identifier "local_60")) (, ",") (number_literal "0x10") () ")")))) (; ";"))) (expression_statement "*piVar8 = iVar3;" (assignment_expression "*piVar8 = iVar3" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (identifier "iVar3")) (; ";")) (} "}")))) (expression_statement "iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);" (assignment_expression "iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac)" (parenthesized_expression "(*(code *)PTR_strcspn_0012b198)" (( "(") (pointer_expression "*(code *)PTR_strcspn_0012b198" (* "*") (cast_expression "(code *)PTR_strcspn_0012b198" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcspn_0012b198"))) () ")")) (argument_list "(iVar3,PTR_FUN_0012a1a8 + -0x51ac)" (( "(") (identifier "iVar3") (, ",") (binary_expression "PTR_FUN_0012a1a8 + -0x51ac" (identifier "PTR_FUN_0012a1a8") (+ "+") (number_literal "-0x51ac")) () ")")))) (; ";")) (expression_statement "*(undefined1 *)(iVar3 + iVar6) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + iVar6) = 0" (pointer_expression "*(undefined1 *)(iVar3 + iVar6)" (* "*") (cast_expression "(undefined1 *)(iVar3 + iVar6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar6)" (( "(") (binary_expression "iVar3 + iVar6" (identifier "iVar3") (+ "+") (identifier "iVar6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = (**(code **)(param_1 + 8))(param_1);" (assignment_expression "iVar3 = (**(code **)(param_1 + 8))(param_1)" (identifier "iVar3") (= "=") (call_expression "(**(code **)(param_1 + 8))(param_1)" (parenthesized_expression "(**(code **)(param_1 + 8))" (( "(") (pointer_expression "**(code **)(param_1 + 8)" (* "*") (pointer_expression "*(code **)(param_1 + 8)" (* "*") (cast_expression "(code **)(param_1 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }\n  else {\n    FUN_000a5304(param_1);\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(param_1 + 0x20))(piVar8);\n    (**(code **)(param_1 + 0x24))(param_1);\n  }" ({ "{") (expression_statement "(**(code **)(param_1 + 0x20))(piVar8);" (call_expression "(**(code **)(param_1 + 0x20))(piVar8)" (parenthesized_expression "(**(code **)(param_1 + 0x20))" (( "(") (pointer_expression "**(code **)(param_1 + 0x20)" (* "*") (pointer_expression "*(code **)(param_1 + 0x20)" (* "*") (cast_expression "(code **)(param_1 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "(piVar8)" (( "(") (identifier "piVar8") () ")"))) (; ";")) (expression_statement "(**(code **)(param_1 + 0x24))(param_1);" (call_expression "(**(code **)(param_1 + 0x24))(param_1)" (parenthesized_expression "(**(code **)(param_1 + 0x24))" (( "(") (pointer_expression "**(code **)(param_1 + 0x24)" (* "*") (pointer_expression "*(code **)(param_1 + 0x24)" (* "*") (cast_expression "(code **)(param_1 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_000a5304(param_1);\n  }" (else "else") (compound_statement "{\n    FUN_000a5304(param_1);\n  }" ({ "{") (expression_statement "FUN_000a5304(param_1);" (call_expression "FUN_000a5304(param_1)" (identifier "FUN_000a5304") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}")))) (expression_statement "puVar1 = PTR_lseek64_0012aff8;" (assignment_expression "puVar1 = PTR_lseek64_0012aff8" (identifier "puVar1") (= "=") (identifier "PTR_lseek64_0012aff8")) (; ";")) (expression_statement "uVar5 = *(uint *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0x34)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "iVar3 = piVar8[4];" (assignment_expression "iVar3 = piVar8[4]" (identifier "iVar3") (= "=") (subscript_expression "piVar8[4]" (identifier "piVar8") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "uVar7 = uVar5 + piVar8[5];" (assignment_expression "uVar7 = uVar5 + piVar8[5]" (identifier "uVar7") (= "=") (binary_expression "uVar5 + piVar8[5]" (identifier "uVar5") (+ "+") (subscript_expression "piVar8[5]" (identifier "piVar8") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x34) = uVar7;" (assignment_expression "*(uint *)(param_1 + 0x34) = uVar7" (pointer_expression "*(uint *)(param_1 + 0x34)" (* "*") (cast_expression "(uint *)(param_1 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;" (assignment_expression "*(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3" (pointer_expression "*(uint *)(param_1 + 0x30)" (* "*") (cast_expression "(uint *)(param_1 + 0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "(uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3" (binary_expression "(uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30)" (call_expression "(uint)(uVar7 < uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar7 < uVar5)" (( "(") (binary_expression "uVar7 < uVar5" (identifier "uVar7") (< "<") (identifier "uVar5")) () ")"))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4));" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 4))" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 4))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_000b02b4:\n  if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }" (statement_identifier "LAB_000b02b4") (: ":") (if_statement "if (local_24 == *(int *)puVar2) {\n    return uVar4;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)puVar2)" (( "(") (binary_expression "local_24 == *(int *)puVar2" (identifier "local_24") (== "==") (pointer_expression "*(int *)puVar2" (* "*") (cast_expression "(int *)puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) () ")")) (compound_statement "{\n    return uVar4;\n  }" ({ "{") (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))) (expression_statement "uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();" (assignment_expression "uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)()" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0012b0c8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

char function_1(type_1 *archive_handle)

{
  type_2 *puVar1;
  type_2 *puVar2;
  type_3 extraout_var;
  int var_1;
  char cVar6;
  type_4 var_3;
  char *pcVar5;
  int var_11;
  type_4 var_2;
  type_5 *pfVar9;
  type_6 ar;
  int var_9;
  
  puVar2 = PTR___stack_chk_guard_0012b14c;
  var_9 = *(int *)PTR___stack_chk_guard_0012b14c;
  pfVar9 = archive_handle->file_header;
  var_1 = (*(type_7 *)PTR_read_0012b1b0)(archive_handle->src_fd,&ar,0x3c);
  if (var_1 == 0x3c) {
    if (ar.raw[0] == '\n') {
      (*(type_7 *)PTR_memmove_0012b174)(&ar,ar.raw + 1,0x3b);
      ar.raw[0x3b] = (*(type_7 *)PTR_xread_char_0012aaf4)(archive_handle->src_fd);
      var_2 = (type_4)archive_handle->offset;
      var_3 = var_2 + 1;
      var_1 = (type_4)(var_3 < var_2) + *(int *)&archive_handle->offset;
    }
    else {
      var_1 = *(int *)&archive_handle->offset;
      var_3 = (type_4)archive_handle->offset;
    }
    *(type_4 *)((int)&archive_handle->offset + 4) = var_3 + 0x3c;
    *(type_4 *)&archive_handle->offset = (type_4)(var_3 + 0x3c < var_3) + var_1;
    if (ar.raw[0x3a] == '`') goto LAB_000b00fc;
    do {
      (*(type_7 *)PTR_bb_error_msg_and_die_0012a1e4)
                (var_4<var_5&var_6)9__f_l_0012a1a8 + -0x51dc);
LAB_000b00fc:
    } while (ar.raw[0x3b] != '\n');
    var_3 = var_7(ar.raw + 0x30,10,10);
    *(type_8 *)&pfVar9->size = 0;
    *(type_4 *)((int)&pfVar9->size + 4) = var_3;
    puVar1 = PTR_free_0012b168;
    if (ar.raw[0] != '/') {
LAB_000b0168:
      var_3 = var_7(ar.raw + 0x28,8,8);
      pfVar9->mode = var_3;
      var_3 = var_7(ar.raw + 0x22,10,6);
      pfVar9->gid = var_3;
      var_3 = var_7(ar.raw + 0x1c,10,6);
      pfVar9->uid = var_3;
      var_3 = var_7(ar.raw + 0x10,10,0xc);
      pfVar9->mtime = var_3;
      if (ar.raw[0] == '/') {
        var_3 = var_7(ar.raw + 1,10,0xf);
        if (var_3 < archive_handle->ar__long_name_size) goto LAB_000b0304;
        (*(type_7 *)PTR_bb_error_msg_and_die_0012a1e4)
                  (var_4<var_5&var_6)9__f_l_0012a1a8 + -0x51c8);
      }
      pcVar5 = (char *)(*(type_7 *)PTR_xstrndup_0012a288)(&ar,0x10);
      pfVar9->name = pcVar5;
      goto LAB_000b0228;
    }
    if (ar.raw[1] == ' ') {
      var_8(archive_handle);
    }
    else {
      if (ar.raw[1] != '/') goto LAB_000b0168;
      archive_handle->ar__long_name_size = var_3;
      (*(type_7 *)puVar1)(archive_handle->ar__long_names);
      pcVar5 = (char *)(*(type_7 *)PTR_xzalloc_0012a1d0)(var_3 + 1);
      puVar1 = PTR_xread_0012a7e0;
      archive_handle->ar__long_names = pcVar5;
      (*(type_7 *)puVar1)(archive_handle->src_fd,pcVar5,var_3);
    }
    var_2 = (type_4)archive_handle->offset;
    var_1 = *(int *)&archive_handle->offset;
    var_3 = var_2 + var_3;
    *(type_4 *)((int)&archive_handle->offset + 4) = var_3;
    *(type_4 *)&archive_handle->offset = (type_4)(var_3 < var_2) + var_1;
    cVar6 = function_1(archive_handle);
  }
  else {
    cVar6 = '\x01';
  }
  while (var_9 != *(int *)puVar2) {
    var_3 = (*(type_7 *)PTR___stack_chk_fail_0012b0c8)();
LAB_000b0304:
    pcVar5 = (char *)(*(type_7 *)PTR_xstrdup_0012a2a8)(archive_handle->ar__long_names + var_3);
    pfVar9->name = pcVar5;
LAB_000b0228:
    var_1 = (*(type_7 *)PTR_strcspn_0012b198)
                      (pcVar5,var_4<var_5&var_6)9__f_l_0012a1a8 + -0x51ac);
    pcVar5[var_1] = '\0';
    cVar6 = (*archive_handle->filter)(archive_handle);
    if (var_10(extraout_var,cVar6) == 0) {
      (*archive_handle->action_header)(pfVar9);
      (*archive_handle->action_data)(archive_handle);
    }
    else {
      var_8(archive_handle);
    }
    puVar1 = PTR_lseek64_0012aff8;
    var_3 = (type_4)archive_handle->offset;
    var_1 = *(int *)&pfVar9->size;
    var_11 = *(int *)&archive_handle->offset;
    var_2 = var_3 + (int)pfVar9->size;
    *(type_4 *)((int)&archive_handle->offset + 4) = var_2;
    *(type_4 *)&archive_handle->offset = (type_4)(var_2 < var_3) + var_11 + var_1;
    (*(type_7 *)puVar1)(archive_handle->src_fd);
    cVar6 = '\0';
  }
  return cVar6;
}


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

undefined4 MASKED(int param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 uVar4;
  uint uVar5;
  int iVar6;
  uint uVar7;
  int *piVar8;
  char local_60;
  char local_5f [15];
  undefined1 auStack_50 [12];
  undefined1 auStack_44 [6];
  undefined1 auStack_3e [6];
  undefined1 auStack_38 [8];
  undefined1 auStack_30 [10];
  char local_26;
  char local_25;
  int local_24;
  
  puVar2 = PTR___stack_chk_guard_0012b14c;
  local_24 = *(int *)PTR___stack_chk_guard_0012b14c;
  piVar8 = *(int **)(param_1 + 0x18);
  iVar3 = (*(code *)PTR_read_0012b1b0)(*(undefined4 *)(param_1 + 4),&local_60,0x3c);
  if (iVar3 != 0x3c) {
    uVar4 = 1;
    goto LAB_000b02b4;
  }
  if (local_60 == '\n') {
    (*(code *)PTR_memmove_0012b174)(&local_60,local_5f,0x3b);
    local_25 = (*(code *)PTR_FUN_0012aaf4)(*(undefined4 *)(param_1 + 4));
    uVar5 = *(uint *)(param_1 + 0x34) + 1;
    iVar3 = (uint)(uVar5 < *(uint *)(param_1 + 0x34)) + *(int *)(param_1 + 0x30);
  }
  else {
    iVar3 = *(int *)(param_1 + 0x30);
    uVar5 = *(uint *)(param_1 + 0x34);
  }
  *(uint *)(param_1 + 0x34) = uVar5 + 0x3c;
  *(uint *)(param_1 + 0x30) = (uint)(uVar5 + 0x3c < uVar5) + iVar3;
  if (local_26 == '`') goto LAB_000b00fc;
  do {
    (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51dc);
LAB_000b00fc:
  } while (local_25 != '\n');
  iVar3 = FUN_000affe8(auStack_30,10,10);
  piVar8[4] = 0;
  piVar8[5] = iVar3;
  puVar1 = PTR_free_0012b168;
  if (local_60 == '/') {
    if (local_5f[0] == ' ') {
      FUN_000a5304(param_1);
    }
    else {
      if (local_5f[0] != '/') goto LAB_000b0168;
      *(int *)(param_1 + 0x6c) = iVar3;
      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x68));
      uVar4 = (*(code *)PTR_FUN_0012a1d0)(iVar3 + 1);
      puVar1 = PTR_FUN_0012a7e0;
      *(undefined4 *)(param_1 + 0x68) = uVar4;
      (*(code *)puVar1)(*(undefined4 *)(param_1 + 4),uVar4,iVar3);
    }
    uVar5 = *(uint *)(param_1 + 0x34);
    uVar7 = uVar5 + iVar3;
    *(uint *)(param_1 + 0x34) = uVar7;
    *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30);
    uVar4 = MASKED(param_1);
    goto LAB_000b02b4;
  }
LAB_000b0168:
  iVar3 = FUN_000affe8(auStack_38,8,8);
  piVar8[8] = iVar3;
  iVar3 = FUN_000affe8(auStack_3e,10,6);
  piVar8[7] = iVar3;
  iVar3 = FUN_000affe8(auStack_44,10,6);
  piVar8[6] = iVar3;
  iVar3 = FUN_000affe8(auStack_50,10,0xc);
  piVar8[9] = iVar3;
  if (local_60 == '/') {
    uVar5 = FUN_000affe8(local_5f,10,0xf);
    if (*(uint *)(param_1 + 0x6c) <= uVar5) {
      (*(code *)PTR_FUN_0012a1e4)(PTR_FUN_0012a1a8 + -0x51c8);
      goto LAB_000b020c;
    }
    iVar3 = (*(code *)PTR_FUN_0012a2a8)(*(int *)(param_1 + 0x68) + uVar5);
    *piVar8 = iVar3;
  }
  else {
LAB_000b020c:
    iVar3 = (*(code *)PTR_FUN_0012a288)(&local_60,0x10);
    *piVar8 = iVar3;
  }
  iVar6 = (*(code *)PTR_strcspn_0012b198)(iVar3,PTR_FUN_0012a1a8 + -0x51ac);
  *(undefined1 *)(iVar3 + iVar6) = 0;
  iVar3 = (**(code **)(param_1 + 8))(param_1);
  if (iVar3 == 0) {
    (**(code **)(param_1 + 0x20))(piVar8);
    (**(code **)(param_1 + 0x24))(param_1);
  }
  else {
    FUN_000a5304(param_1);
  }
  puVar1 = PTR_lseek64_0012aff8;
  uVar5 = *(uint *)(param_1 + 0x34);
  iVar3 = piVar8[4];
  uVar7 = uVar5 + piVar8[5];
  *(uint *)(param_1 + 0x34) = uVar7;
  *(uint *)(param_1 + 0x30) = (uint)(uVar7 < uVar5) + *(int *)(param_1 + 0x30) + iVar3;
  (*(code *)puVar1)(*(undefined4 *)(param_1 + 4));
  uVar4 = 0;
LAB_000b02b4:
  if (local_24 == *(int *)puVar2) {
    return uVar4;
  }
  uVar4 = (*(code *)PTR___stack_chk_fail_0012b0c8)();
  return uVar4;
}

