
int do_lockfile(char *filename)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  char *lockfilename;
  undefined4 uVar9;
  undefined4 uVar10;
  undefined4 *puVar11;
  undefined4 uVar12;
  undefined *puVar13;
  stat fileinfo;
  
  puVar2 = PTR___stack_chk_guard_000780f8;
  puVar1 = PTR_locking_suffix_00077a14;
  puVar13 = PTR_locking_prefix_00077a10;
  iVar3 = *(int *)PTR___stack_chk_guard_000780f8;
  uVar4 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename);
  uVar5 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename);
  iVar6 = (*(code *)PTR_strlen_00077ff8)(filename);
  iVar7 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar13);
  iVar8 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar1);
  iVar8 = iVar6 + iVar7 + 3 + iVar8;
  lockfilename = (char *)(*(code *)PTR_nmalloc_00077564)(iVar8);
  uVar9 = (*(code *)PTR_dirname_00078024)(uVar4);
  uVar12 = *(undefined4 *)puVar13;
  uVar10 = (*(code *)PTR___xpg_basename_00077f98)(uVar5);
  (*(code *)PTR___snprintf_chk_00078164)
            (lockfilename,iVar8,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar9,uVar12,
             uVar10,*(undefined4 *)puVar1);
  iVar6 = (*(code *)PTR___xstat64_00077ecc)(3,lockfilename,&fileinfo);
  if (iVar6 == -1) {
    iVar6 = write_lockfile(lockfilename,filename,false);
    (*(code *)PTR_free_0007810c)(uVar4);
    (*(code *)PTR_free_0007810c)(uVar5);
    if (0 < iVar6) goto LAB_0001f49c;
  }
  else {
    iVar6 = (*(code *)PTR_open64_00077fec)(lockfilename,0);
    if (-1 < iVar6) {
      (*(code *)PTR_nmalloc_00077564)(0x2000);
      iVar3 = FUN_0001f1d8();
      return iVar3;
    }
    filename = (char *)(*(code *)PTR_dcgettext_000780cc)
                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);
    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();
    uVar9 = (*(code *)PTR_strerror_00078028)(*puVar11);
    (*(code *)PTR_statusline_0007757c)(2,filename,lockfilename,uVar9);
    iVar6 = -1;
    (*(code *)PTR_free_0007810c)(uVar4);
    (*(code *)PTR_free_0007810c)(uVar5);
  }
  (*(code *)PTR_free_0007810c)(lockfilename);
LAB_0001f49c:
  if (iVar3 == *(int *)puVar2) {
    return iVar6;
  }
  puVar13 = PTR___stack_chk_fail_000780c0;
  (*(code *)PTR___stack_chk_fail_000780c0)();
  iVar6 = *(int *)filename;
  if (iVar6 == 0) {
    iVar6 = (**(code **)(puVar13 + 0x57e84))(0xa0,iVar3);
    *(int *)filename = iVar6;
  }
  iVar3 = (**(code **)(puVar13 + 0x587ec))(3,iVar3,iVar6);
  if (iVar3 == 0) {
    return 0;
  }
  iVar3 = (**(code **)(puVar13 + 0x58a2c))(*(int *)filename);
  *(int *)filename = 0;
  return iVar3;
}



int do_lockfile(int *param_1)

{
  byte bVar1;
  byte bVar2;
  byte bVar3;
  byte bVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  undefined4 uVar12;
  undefined4 uVar13;
  undefined4 uVar14;
  int iVar15;
  undefined4 *puVar16;
  int *piVar17;
  uint uVar18;
  int iVar19;
  int *piVar20;
  int iVar21;
  undefined *puVar22;
  uint uVar23;
  undefined4 uVar24;
  undefined *puVar25;
  undefined1 auStack_d0 [164];
  int local_2c;
  
  puVar6 = PTR___stack_chk_guard_000780f8;
  puVar5 = PTR_locking_suffix_00077a14;
  puVar25 = PTR_locking_prefix_00077a10;
  local_2c = *(int *)PTR___stack_chk_guard_000780f8;
  uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);
  uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);
  iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);
  iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);
  iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);
  iVar11 = iVar9 + iVar10 + 3 + iVar11;
  uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);
  uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);
  uVar24 = *(undefined4 *)puVar25;
  uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);
  (*(code *)PTR___snprintf_chk_00078164)
            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,
             uVar14,*(undefined4 *)puVar5);
  iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);
  if (iVar9 == -1) {
LAB_0001f45c:
    iVar9 = write_lockfile(uVar12,param_1,0);
    (*(code *)PTR_free_0007810c)(uVar7);
    (*(code *)PTR_free_0007810c)(uVar8);
    piVar20 = param_1;
    if (0 < iVar9) goto LAB_0001f49c;
  }
  else {
    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);
    if (iVar9 < 0) {
      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)
                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);
      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();
      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);
      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);
    }
    else {
      uVar23 = 0;
      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);
      do {
        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);
        uVar23 = uVar23 + iVar11;
        if (iVar11 == 0) {
          (*(code *)PTR_close_00077eb0)(iVar9);
          if (0x2f < uVar23) goto LAB_0001f210;
          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)
                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);
          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);
          (*(code *)PTR_free_0007810c)(iVar10);
          goto LAB_0001f5d8;
        }
      } while (uVar23 < 0x2000);
      (*(code *)PTR_close_00077eb0)(iVar9);
LAB_0001f210:
      puVar25 = PTR_DAT_0007754c;
      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);
      bVar1 = *(byte *)(iVar10 + 0x1b);
      bVar2 = *(byte *)(iVar10 + 0x1a);
      bVar3 = *(byte *)(iVar10 + 0x19);
      bVar4 = *(byte *)(iVar10 + 0x18);
      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);
      (*(code *)PTR_free_0007810c)(iVar10);
      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);
      (*(code *)PTR___sprintf_chk_00077e90)
                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,
                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);
      puVar5 = PTR_dcgettext_000780cc;
      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;
      *PTR_as_an_at_000778ac = 0;
      uVar14 = (*(code *)puVar5)(0,puVar22,5);
      iVar21 = *(int *)PTR_COLS_00077fb4;
      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);
      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);
      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);
      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);
      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;
      if ((int)uVar23 < 4) {
        puVar16 = (undefined4 *)
                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);
      }
      else {
        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);
        if (uVar23 < uVar18) {
          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);
          uVar24 = (*(code *)PTR_display_string_000778e0)
                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19
                              ,uVar23,0);
          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);
          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);
          puVar5 = PTR_strcpy_0007805c;
          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);
          (*(code *)puVar5)((int)puVar16 + 3,uVar24);
          (*(code *)PTR_free_0007810c)(uVar24);
        }
        else {
          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);
        }
      }
      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);
      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);
      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);
      (*(code *)PTR___sprintf_chk_00077e90)
                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);
      (*(code *)PTR_free_0007810c)(puVar16);
      (*(code *)PTR_free_0007810c)(uVar13);
      piVar20 = piVar17;
      iVar9 = do_yesno_prompt(0);
      (*(code *)PTR_free_0007810c)(piVar17);
      if (0 < iVar9) goto LAB_0001f45c;
      (*(code *)PTR_wipe_statusbar_00077600)();
    }
LAB_0001f5d8:
    iVar9 = -1;
    (*(code *)PTR_free_0007810c)(uVar7);
    (*(code *)PTR_free_0007810c)(uVar8);
  }
  (*(code *)PTR_free_0007810c)(uVar12);
LAB_0001f49c:
  if (local_2c == *(int *)puVar6) {
    return iVar9;
  }
  iVar9 = local_2c;
  puVar25 = PTR___stack_chk_fail_000780c0;
  (*(code *)PTR___stack_chk_fail_000780c0)();
  iVar10 = *piVar20;
  if (iVar10 == 0) {
    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);
    *piVar20 = iVar10;
  }
  iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);
  if (iVar9 == 0) {
    return 0;
  }
  iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);
  *piVar20 = 0;
  return iVar9;
}


lui gp,0x6
addiu gp,gp,0x4f4
addu gp,gp,t9
addiu sp,sp,-0x118
lw t9,-0x7fb8(gp)
sw s7,0x10c(sp)
lw s7,-0x7428(gp)
sw s0,0xf0(sp)
or s0,a0,zero
or a0,zero,zero
sw ra,0x114(sp)
sw gp,0x28(sp)
or a1,s0,zero
sw s8,0x110(sp)
sw s6,0x108(sp)
sw s5,0x104(sp)
sw s4,0x100(sp)
sw s3,0xfc(sp)
sw s2,0xf8(sp)
sw s1,0xf4(sp)
lw v0,0x0(s7)
lw s3,-0x7b10(gp)
lw s4,-0x7b0c(gp)
sw v0,0xec(sp)
jalr t9
_nop
or a0,zero,zero
lw gp,0x28(sp)
or a1,s0,zero
lw t9,-0x7fb8(gp)
jalr t9
_or s5,v0,zero
or a0,s0,zero
lw gp,0x28(sp)
lw t9,-0x7528(gp)
jalr t9
_or s6,v0,zero
lw gp,0x28(sp)
or s2,v0,zero
lw t9,-0x7528(gp)
jalr t9
_lw a0,0x0(s3)
lw gp,0x28(sp)
or s1,v0,zero
lw a0,0x0(s4)
addu s2,s2,s1
lw t9,-0x7528(gp)
jalr t9
_addiu s2,s2,0x3
lw gp,0x28(sp)
addu s2,s2,v0
lw t9,-0x7fbc(gp)
jalr t9
_or a0,s2,zero
or a0,s5,zero
lw gp,0x28(sp)
lw t9,-0x74fc(gp)
jalr t9
_or s1,v0,zero
or a0,s6,zero
lw gp,0x28(sp)
or s8,v0,zero
lw t9,-0x7588(gp)
jalr t9
_lw s3,0x0(s3)
li a3,-0x1
lw gp,0x28(sp)
li a2,0x1
lw v1,0x0(s4)
or a1,s2,zero
or a0,s1,zero
sw s3,0x18(sp)
sw s8,0x14(sp)
sw v1,0x20(sp)
lw v1,-0x7fc4(gp)
lw t9,-0x73bc(gp)
sw v0,0x1c(sp)
addiu v1,v1,-0xe00
jalr t9
_sw v1,0x10(sp)
addiu a2,sp,0x48
lw gp,0x28(sp)
li a0,0x3
lw t9,-0x7654(gp)
jalr t9
_or a1,s1,zero
li v1,-0x1
beq v0,v1,0x0001f45c
_lw gp,0x28(sp)
lw t9,-0x7534(gp)
or a1,zero,zero
jalr t9
_or a0,s1,zero
lw gp,0x28(sp)
bltz v0,0x0001f678
_or s4,v0,zero
lw t9,-0x7fbc(gp)
li a0,0x2000
or s2,zero,zero
jalr t9
_li s8,0x2000
lw gp,0x28(sp)
b 0x0001f1d8
_or s3,v0,zero
sltiu v0,s2,0x2000
beq v0,zero,0x0001f5b8
_lw t9,-0x7670(gp)
lw t9,-0x73e0(gp)
subu a2,s8,s2
addu a1,s3,s2
jalr t9
_or a0,s4,zero
lw gp,0x28(sp)
bne v0,zero,0x0001f1cc
_addu s2,s2,v0
lw t9,-0x7670(gp)
or a0,s4,zero
jalr t9
_sltiu s2,s2,0x30
bne s2,zero,0x0001f630
_lw gp,0x28(sp)
lw s2,-0x7fd4(gp)
addiu a1,s3,0x2
lw t9,-0x7580(gp)
li a2,0xa
lw s4,-0x7fd4(gp)
jalr t9
_addiu a0,s2,-0x7d50
addiu a1,s3,0x1c
lbu s8,0x1b(s3)
li a2,0x10
lbu a3,0x1a(s3)
addiu a0,s4,-0x7d64
lbu v1,0x19(s3)
sll s8,s8,0x8
lw gp,0x28(sp)
lbu v0,0x18(s3)
addu s8,s8,a3
sw s4,0x30(sp)
sll s8,s8,0x8
lw t9,-0x7580(gp)
addu s8,s8,v1
sll s8,s8,0x8
jalr t9
_addu s8,s8,v0
lw gp,0x28(sp)
lw t9,-0x7414(gp)
jalr t9
_or a0,s3,zero
lw gp,0x28(sp)
lw t9,-0x7fbc(gp)
jalr t9
_li a0,0xb
li a2,-0x1
lw gp,0x28(sp)
li a1,0x1
or a0,v0,zero
sw s8,0x10(sp)
or s4,v0,zero
lw a3,-0x7fc4(gp)
lw t9,-0x7690(gp)
jalr t9
_addiu a3,a3,-0xda0
li a2,0x5
lw gp,0x28(sp)
or a0,zero,zero
lw a1,-0x7fc4(gp)
lw v0,-0x7c74(gp)
lw t9,-0x7454(gp)
addiu a1,a1,-0xd9c
jalr t9
_sb zero,0x0(v0)
lw gp,0x28(sp)
or a0,v0,zero
or s8,v0,zero
lw v0,-0x756c(gp)
lw t9,-0x7f08(gp)
lw v1,0x0(v0)
jalr t9
_sw v1,0x34(sp)
lw v1,0x30(sp)
or s3,v0,zero
lw gp,0x28(sp)
addiu a0,v1,-0x7d64
lw v1,0x34(sp)
lw t9,-0x7f08(gp)
addiu v0,v1,0x7
jalr t9
_sw v0,0x3c(sp)
addiu a0,s2,-0x7d50
lw gp,0x28(sp)
lw t9,-0x7f08(gp)
jalr t9
_sw v0,0x34(sp)
lw a0,0x34(sp)
lw gp,0x28(sp)
lw v1,0x3c(sp)
addu a2,s3,a0
sw v0,0x38(sp)
or a0,s4,zero
subu a2,v1,a2
lw t9,-0x7f08(gp)
jalr t9
_sw a2,0x40(sp)
lw v1,0x38(sp)
or a1,v0,zero
lw a2,0x40(sp)
subu a2,a2,v1
subu a2,a2,v0
slti v0,a2,0x4
beq v0,zero,0x0001f4dc
_lw gp,0x28(sp)
lw a1,-0x7fc4(gp)
or a0,zero,zero
lw t9,-0x7fb8(gp)
jalr t9
_addiu a1,a1,-0xd60
lw gp,0x28(sp)
or s3,v0,zero
lw t9,-0x7528(gp)
jalr t9
_or a0,s8,zero
or a0,s3,zero
lw gp,0x28(sp)
lw t9,-0x7528(gp)
jalr t9
_sw v0,0x34(sp)
lw gp,0x28(sp)
lw v1,0x34(sp)
addu v0,v1,v0
lw t9,-0x7fbc(gp)
jalr t9
_addiu a0,v0,0x1d
addiu a0,s2,-0x7d50
lw gp,0x28(sp)
li a2,-0x1
lw v1,0x30(sp)
li a1,0x1
or a3,s8,zero
sw a0,0x18(sp)
sw s4,0x1c(sp)
or a0,v0,zero
addiu v1,v1,-0x7d64
sw s3,0x10(sp)
lw t9,-0x7690(gp)
or s2,v0,zero
jalr t9
_sw v1,0x14(sp)
lw gp,0x28(sp)
lw t9,-0x7414(gp)
jalr t9
_or a0,s3,zero
lw gp,0x28(sp)
lw t9,-0x7414(gp)
jalr t9
_or a0,s4,zero
or a0,zero,zero
lw gp,0x28(sp)
lw t9,-0x7ef4(gp)
bal 0x00033d80
_or a1,s2,zero
or a0,s2,zero
lw gp,0x28(sp)
lw t9,-0x7414(gp)
jalr t9
_or s2,v0,zero
blez s2,0x0001f5c8
_lw gp,0x28(sp)
lw t9,-0x7b08(gp)
or a2,zero,zero
or a1,s0,zero
bal 0x0001eb6c
_or a0,s1,zero
or a0,s5,zero
lw gp,0x28(sp)
lw t9,-0x7414(gp)
jalr t9
_or s0,v0,zero
lw gp,0x28(sp)
lw t9,-0x7414(gp)
jalr t9
_or a0,s6,zero
blez s0,0x0001f5fc
_lw gp,0x28(sp)
lw a0,0xec(sp)
or v0,s0,zero
lw v1,0x0(s7)
bne a0,v1,0x0001f6d4
_lw ra,0x114(sp)
lw s8,0x110(sp)
lw s7,0x10c(sp)
lw s6,0x108(sp)
lw s5,0x104(sp)
lw s4,0x100(sp)
lw s3,0xfc(sp)
lw s2,0xf8(sp)
lw s1,0xf4(sp)
lw s0,0xf0(sp)
jr ra
_addiu sp,sp,0x118
lw t9,-0x7f08(gp)
or a0,s0,zero
sw a2,0x40(sp)
jalr t9
_sw a1,0x44(sp)
lw a2,0x40(sp)
sltu v0,a2,v0
beq v0,zero,0x0001f610
_lw gp,0x28(sp)
lw t9,-0x7f08(gp)
jalr t9
_or a0,s0,zero
or a3,zero,zero
lw v1,0x3c(sp)
or a0,s0,zero
lw a1,0x34(sp)
lw gp,0x28(sp)
subu v1,s3,v1
lw a2,0x40(sp)
addiu v1,v1,0x3
lw t9,-0x7c40(gp)
addu v1,v1,a1
lw a1,0x38(sp)
addu v1,v1,a1
lw a1,0x44(sp)
addu a1,v1,a1
jalr t9
_addu a1,a1,v0
lw gp,0x28(sp)
or a0,v0,zero
lw t9,-0x7528(gp)
jalr t9
_sw v0,0x34(sp)
lw gp,0x28(sp)
lw t9,-0x7fbc(gp)
jalr t9
_addiu a0,v0,0x4
lw gp,0x28(sp)
or s3,v0,zero
addiu a0,v0,0x3
lw v1,0x34(sp)
lw v0,-0x7fc4(gp)
or a1,v1,zero
lw t9,-0x74c4(gp)
lw v0,-0x125c(v0)
swl v0,0x0(s3)
jalr t9
_swr v0,0x3(s3)
lw gp,0x28(sp)
lw v1,0x34(sp)
lw t9,-0x7414(gp)
jalr t9
_or a0,v1,zero
b 0x0001f398
_lw gp,0x28(sp)
jalr t9
_or a0,s4,zero
b 0x0001f210
_lw gp,0x28(sp)
lw t9,-0x7f20(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7414(gp)
or a0,s5,zero
jalr t9
_li s0,-0x1
lw gp,0x28(sp)
lw t9,-0x7414(gp)
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
lw t9,-0x7414(gp)
jalr t9
_or a0,s1,zero
b 0x0001f49c
_lw gp,0x28(sp)
lw t9,-0x7c40(gp)
or a3,zero,zero
or a1,zero,zero
jalr t9
_or a0,s0,zero
lw gp,0x28(sp)
b 0x0001f398
_or s3,v0,zero
lw a1,-0x7fc4(gp)
li a2,0x5
lw t9,-0x7454(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0xdd4
li a0,0x2
lw gp,0x28(sp)
or a2,s1,zero
lw t9,-0x7fa4(gp)
jalr t9
_or a1,v0,zero
lw gp,0x28(sp)
lw t9,-0x7414(gp)
jalr t9
_or a0,s3,zero
b 0x0001f5d8
_lw gp,0x28(sp)
lw a1,-0x7fc4(gp)
li a2,0x5
lw t9,-0x7454(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0xdf4
lw gp,0x28(sp)
lw t9,-0x7570(gp)
jalr t9
_or s0,v0,zero
lw gp,0x28(sp)
lw t9,-0x74f8(gp)
jalr t9
_lw a0,0x0(v0)
li a0,0x2
lw gp,0x28(sp)
or a3,v0,zero
or a2,s1,zero
lw t9,-0x7fa4(gp)
jalr t9
_or a1,s0,zero
b 0x0001f5d8
_lw gp,0x28(sp)
lw t9,-0x7460(gp)
jalr t9
_nop
(translation_unit "int do_lockfile(int *param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  undefined4 uVar14;\n  int iVar15;\n  undefined4 *puVar16;\n  int *piVar17;\n  uint uVar18;\n  int iVar19;\n  int *piVar20;\n  int iVar21;\n  undefined *puVar22;\n  uint uVar23;\n  undefined4 uVar24;\n  undefined *puVar25;\n  undefined1 auStack_d0 [164];\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_000780f8;\n  puVar5 = PTR_locking_suffix_00077a14;\n  puVar25 = PTR_locking_prefix_00077a10;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);\n  iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);\n  iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);\n  iVar11 = iVar9 + iVar10 + 3 + iVar11;\n  uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);\n  uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);\n  uVar24 = *(undefined4 *)puVar25;\n  uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);\n  iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);\n  if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }\n  (*(code *)PTR_free_0007810c)(uVar12);\nLAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }\n  iVar9 = local_2c;\n  puVar25 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar10 = *piVar20;\n  if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);\n  if (iVar9 == 0) {\n    return 0;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);\n  *piVar20 = 0;\n  return iVar9;\n}\n\n" (function_definition "int do_lockfile(int *param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  undefined4 uVar14;\n  int iVar15;\n  undefined4 *puVar16;\n  int *piVar17;\n  uint uVar18;\n  int iVar19;\n  int *piVar20;\n  int iVar21;\n  undefined *puVar22;\n  uint uVar23;\n  undefined4 uVar24;\n  undefined *puVar25;\n  undefined1 auStack_d0 [164];\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_000780f8;\n  puVar5 = PTR_locking_suffix_00077a14;\n  puVar25 = PTR_locking_prefix_00077a10;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);\n  iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);\n  iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);\n  iVar11 = iVar9 + iVar10 + 3 + iVar11;\n  uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);\n  uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);\n  uVar24 = *(undefined4 *)puVar25;\n  uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);\n  iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);\n  if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }\n  (*(code *)PTR_free_0007810c)(uVar12);\nLAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }\n  iVar9 = local_2c;\n  puVar25 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar10 = *piVar20;\n  if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);\n  if (iVar9 == 0) {\n    return 0;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);\n  *piVar20 = 0;\n  return iVar9;\n}" primitive_type (function_declarator "do_lockfile(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  undefined4 uVar14;\n  int iVar15;\n  undefined4 *puVar16;\n  int *piVar17;\n  uint uVar18;\n  int iVar19;\n  int *piVar20;\n  int iVar21;\n  undefined *puVar22;\n  uint uVar23;\n  undefined4 uVar24;\n  undefined *puVar25;\n  undefined1 auStack_d0 [164];\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_000780f8;\n  puVar5 = PTR_locking_suffix_00077a14;\n  puVar25 = PTR_locking_prefix_00077a10;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);\n  iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);\n  iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);\n  iVar11 = iVar9 + iVar10 + 3 + iVar11;\n  uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);\n  uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);\n  uVar24 = *(undefined4 *)puVar25;\n  uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);\n  iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);\n  if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }\n  (*(code *)PTR_free_0007810c)(uVar12);\nLAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }\n  iVar9 = local_2c;\n  puVar25 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar10 = *piVar20;\n  if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);\n  if (iVar9 == 0) {\n    return 0;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);\n  *piVar20 = 0;\n  return iVar9;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "undefined4 *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int *piVar17;" primitive_type (pointer_declarator "*piVar17" * identifier) ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int *piVar20;" primitive_type (pointer_declarator "*piVar20" * identifier) ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "undefined *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "uint uVar23;" type_identifier identifier ;) (declaration "undefined4 uVar24;" type_identifier identifier ;) (declaration "undefined *puVar25;" type_identifier (pointer_declarator "*puVar25" * identifier) ;) (declaration "undefined1 auStack_d0 [164];" type_identifier (array_declarator "auStack_d0 [164]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar6 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar6 = PTR___stack_chk_guard_000780f8" identifier = identifier) ;) (expression_statement "puVar5 = PTR_locking_suffix_00077a14;" (assignment_expression "puVar5 = PTR_locking_suffix_00077a14" identifier = identifier) ;) (expression_statement "puVar25 = PTR_locking_prefix_00077a10;" (assignment_expression "puVar25 = PTR_locking_prefix_00077a10" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000780f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" * (cast_expression "(int *)PTR___stack_chk_guard_000780f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);" (assignment_expression "uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" identifier = (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" ( (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" * (cast_expression "(code *)PTR_mallocstrcpy_00077568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,param_1)" ( number_literal , identifier )))) ;) (expression_statement "uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);" (assignment_expression "uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" identifier = (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" ( (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" * (cast_expression "(code *)PTR_mallocstrcpy_00077568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,param_1)" ( number_literal , identifier )))) ;) (expression_statement "iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);" (assignment_expression "iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar25)" ( (pointer_expression "*(undefined4 *)puVar25" * (cast_expression "(undefined4 *)puVar25" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);" (assignment_expression "iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar5)" ( (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "iVar11 = iVar9 + iVar10 + 3 + iVar11;" (assignment_expression "iVar11 = iVar9 + iVar10 + 3 + iVar11" identifier = (binary_expression "iVar9 + iVar10 + 3 + iVar11" (binary_expression "iVar9 + iVar10 + 3" (binary_expression "iVar9 + iVar10" identifier + identifier) + number_literal) + identifier)) ;) (expression_statement "uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);" (assignment_expression "uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11)" identifier = (call_expression "(*(code *)PTR_nmalloc_00077564)(iVar11)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11)" ( identifier )))) ;) (expression_statement "uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);" (assignment_expression "uVar13 = (*(code *)PTR_dirname_00078024)(uVar7)" identifier = (call_expression "(*(code *)PTR_dirname_00078024)(uVar7)" (parenthesized_expression "(*(code *)PTR_dirname_00078024)" ( (pointer_expression "*(code *)PTR_dirname_00078024" * (cast_expression "(code *)PTR_dirname_00078024" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7)" ( identifier )))) ;) (expression_statement "uVar24 = *(undefined4 *)puVar25;" (assignment_expression "uVar24 = *(undefined4 *)puVar25" identifier = (pointer_expression "*(undefined4 *)puVar25" * (cast_expression "(undefined4 *)puVar25" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);" (assignment_expression "uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8)" identifier = (call_expression "(*(code *)PTR___xpg_basename_00077f98)(uVar8)" (parenthesized_expression "(*(code *)PTR___xpg_basename_00077f98)" ( (pointer_expression "*(code *)PTR___xpg_basename_00077f98" * (cast_expression "(code *)PTR___xpg_basename_00077f98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8)" ( identifier )))) ;) (expression_statement "(*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);" (call_expression "(*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00078164)" ( (pointer_expression "*(code *)PTR___snprintf_chk_00078164" * (cast_expression "(code *)PTR___snprintf_chk_00078164" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5)" ( identifier , identifier , number_literal , number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xe00" identifier + number_literal) , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);" (assignment_expression "iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0)" identifier = (call_expression "(*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0)" (parenthesized_expression "(*(code *)PTR___xstat64_00077ecc)" ( (pointer_expression "*(code *)PTR___xstat64_00077ecc" * (cast_expression "(code *)PTR___xstat64_00077ecc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,uVar12,auStack_d0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (compound_statement "{\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }" { (labeled_statement "LAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);" statement_identifier : (expression_statement "iVar9 = write_lockfile(uVar12,param_1,0);" (assignment_expression "iVar9 = write_lockfile(uVar12,param_1,0)" identifier = (call_expression "write_lockfile(uVar12,param_1,0)" identifier (argument_list "(uVar12,param_1,0)" ( identifier , identifier , number_literal )))) ;)) (expression_statement "(*(code *)PTR_free_0007810c)(uVar7);" (call_expression "(*(code *)PTR_free_0007810c)(uVar7)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar8);" (call_expression "(*(code *)PTR_free_0007810c)(uVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8)" ( identifier ))) ;) (expression_statement "piVar20 = param_1;" (assignment_expression "piVar20 = param_1" identifier = identifier) ;) (if_statement "if (0 < iVar9) goto LAB_0001f49c;" if (parenthesized_expression "(0 < iVar9)" ( (binary_expression "0 < iVar9" number_literal < identifier) )) (goto_statement "goto LAB_0001f49c;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }" else (compound_statement "{\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }" { (expression_statement "iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);" (assignment_expression "iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0)" identifier = (call_expression "(*(code *)PTR_open64_00077fec)(uVar12,0)" (parenthesized_expression "(*(code *)PTR_open64_00077fec)" ( (pointer_expression "*(code *)PTR_open64_00077fec" * (cast_expression "(code *)PTR_open64_00077fec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }" { (expression_statement "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);" (assignment_expression "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" identifier = (cast_expression "(int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xdf4" identifier + number_literal) , number_literal ))))) ;) (expression_statement "puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();" (assignment_expression "puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00077fb0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00077fb0)()" (parenthesized_expression "(*(code *)PTR___errno_location_00077fb0)" ( (pointer_expression "*(code *)PTR___errno_location_00077fb0" * (cast_expression "(code *)PTR___errno_location_00077fb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);" (assignment_expression "uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16)" identifier = (call_expression "(*(code *)PTR_strerror_00078028)(*puVar16)" (parenthesized_expression "(*(code *)PTR_strerror_00078028)" ( (pointer_expression "*(code *)PTR_strerror_00078028" * (cast_expression "(code *)PTR_strerror_00078028" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar16)" ( (pointer_expression "*puVar16" * identifier) )))) ;) (expression_statement "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);" (call_expression "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13)" (parenthesized_expression "(*(code *)PTR_statusline_0007757c)" ( (pointer_expression "*(code *)PTR_statusline_0007757c" * (cast_expression "(code *)PTR_statusline_0007757c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2,piVar20,uVar12,uVar13)" ( number_literal , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }" else (compound_statement "{\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }" { (expression_statement "uVar23 = 0;" (assignment_expression "uVar23 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);" (assignment_expression "iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000)" identifier = (call_expression "(*(code *)PTR_nmalloc_00077564)(0x2000)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x2000)" ( number_literal )))) ;) (do_statement "do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);" do (compound_statement "{\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      }" { (expression_statement "iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);" (assignment_expression "iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23)" identifier = (call_expression "(*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23)" (parenthesized_expression "(*(code *)PTR_read_00078140)" ( (pointer_expression "*(code *)PTR_read_00078140" * (cast_expression "(code *)PTR_read_00078140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,iVar10 + uVar23,0x2000 - uVar23)" ( identifier , (binary_expression "iVar10 + uVar23" identifier + identifier) , (binary_expression "0x2000 - uVar23" number_literal - identifier) )))) ;) (expression_statement "uVar23 = uVar23 + iVar11;" (assignment_expression "uVar23 = uVar23 + iVar11" identifier = (binary_expression "uVar23 + iVar11" identifier + identifier)) ;) (if_statement "if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }" { (expression_statement "(*(code *)PTR_close_00077eb0)(iVar9);" (call_expression "(*(code *)PTR_close_00077eb0)(iVar9)" (parenthesized_expression "(*(code *)PTR_close_00077eb0)" ( (pointer_expression "*(code *)PTR_close_00077eb0" * (cast_expression "(code *)PTR_close_00077eb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9)" ( identifier ))) ;) (if_statement "if (0x2f < uVar23) goto LAB_0001f210;" if (parenthesized_expression "(0x2f < uVar23)" ( (binary_expression "0x2f < uVar23" number_literal < identifier) )) (goto_statement "goto LAB_0001f210;" goto statement_identifier ;)) (expression_statement "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);" (assignment_expression "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" identifier = (cast_expression "(int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xdd4" identifier + number_literal) , number_literal ))))) ;) (expression_statement "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);" (call_expression "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12)" (parenthesized_expression "(*(code *)PTR_statusline_0007757c)" ( (pointer_expression "*(code *)PTR_statusline_0007757c" * (cast_expression "(code *)PTR_statusline_0007757c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2,piVar20,uVar12)" ( number_literal , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(iVar10);" (call_expression "(*(code *)PTR_free_0007810c)(iVar10)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10)" ( identifier ))) ;) (goto_statement "goto LAB_0001f5d8;" goto statement_identifier ;) })) }) while (parenthesized_expression "(uVar23 < 0x2000)" ( (binary_expression "uVar23 < 0x2000" identifier < number_literal) )) ;) (expression_statement "(*(code *)PTR_close_00077eb0)(iVar9);" (call_expression "(*(code *)PTR_close_00077eb0)(iVar9)" (parenthesized_expression "(*(code *)PTR_close_00077eb0)" ( (pointer_expression "*(code *)PTR_close_00077eb0" * (cast_expression "(code *)PTR_close_00077eb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9)" ( identifier ))) ;) (labeled_statement "LAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;" statement_identifier : (expression_statement "puVar25 = PTR_DAT_0007754c;" (assignment_expression "puVar25 = PTR_DAT_0007754c" identifier = identifier) ;)) (expression_statement "(*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);" (call_expression "(*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10)" (parenthesized_expression "(*(code *)PTR_strncpy_00077fa0)" ( (pointer_expression "*(code *)PTR_strncpy_00077fa0" * (cast_expression "(code *)PTR_strncpy_00077fa0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10)" ( (binary_expression "PTR_DAT_0007754c + -0x7d50" identifier + number_literal) , (binary_expression "iVar10 + 2" identifier + number_literal) , number_literal ))) ;) (expression_statement "bVar1 = *(byte *)(iVar10 + 0x1b);" (assignment_expression "bVar1 = *(byte *)(iVar10 + 0x1b)" identifier = (pointer_expression "*(byte *)(iVar10 + 0x1b)" * (cast_expression "(byte *)(iVar10 + 0x1b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x1b)" ( (binary_expression "iVar10 + 0x1b" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = *(byte *)(iVar10 + 0x1a);" (assignment_expression "bVar2 = *(byte *)(iVar10 + 0x1a)" identifier = (pointer_expression "*(byte *)(iVar10 + 0x1a)" * (cast_expression "(byte *)(iVar10 + 0x1a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x1a)" ( (binary_expression "iVar10 + 0x1a" identifier + number_literal) ))))) ;) (expression_statement "bVar3 = *(byte *)(iVar10 + 0x19);" (assignment_expression "bVar3 = *(byte *)(iVar10 + 0x19)" identifier = (pointer_expression "*(byte *)(iVar10 + 0x19)" * (cast_expression "(byte *)(iVar10 + 0x19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x19)" ( (binary_expression "iVar10 + 0x19" identifier + number_literal) ))))) ;) (expression_statement "bVar4 = *(byte *)(iVar10 + 0x18);" (assignment_expression "bVar4 = *(byte *)(iVar10 + 0x18)" identifier = (pointer_expression "*(byte *)(iVar10 + 0x18)" * (cast_expression "(byte *)(iVar10 + 0x18)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);" (call_expression "(*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10)" (parenthesized_expression "(*(code *)PTR_strncpy_00077fa0)" ( (pointer_expression "*(code *)PTR_strncpy_00077fa0" * (cast_expression "(code *)PTR_strncpy_00077fa0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar25 + -0x7d64,iVar10 + 0x1c,0x10)" ( (binary_expression "puVar25 + -0x7d64" identifier + number_literal) , (binary_expression "iVar10 + 0x1c" identifier + number_literal) , number_literal ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(iVar10);" (call_expression "(*(code *)PTR_free_0007810c)(iVar10)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10)" ( identifier ))) ;) (expression_statement "uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);" (assignment_expression "uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb)" identifier = (call_expression "(*(code *)PTR_nmalloc_00077564)(0xb)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xb)" ( number_literal )))) ;) (expression_statement "(*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);" (call_expression "(*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_00077e90)" ( (pointer_expression "*(code *)PTR___sprintf_chk_00077e90" * (cast_expression "(code *)PTR___sprintf_chk_00077e90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4)" ( identifier , number_literal , number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xda0" identifier + number_literal) , (binary_expression "(((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4" (binary_expression "(((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100" (parenthesized_expression "(((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3)" ( (binary_expression "((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3" (binary_expression "((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100" (parenthesized_expression "((uint)bVar1 * 0x100 + (uint)bVar2)" ( (binary_expression "(uint)bVar1 * 0x100 + (uint)bVar2" (binary_expression "(uint)bVar1 * 0x100" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )) * number_literal) + (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) )) * number_literal) + (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) ;) (expression_statement "puVar5 = PTR_dcgettext_000780cc;" (assignment_expression "puVar5 = PTR_dcgettext_000780cc" identifier = identifier) ;) (expression_statement "puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;" (assignment_expression "puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c" identifier = (binary_expression "PTR_s_d_of_current_line_0007755c + -0xd9c" identifier + number_literal)) ;) (expression_statement "*PTR_as_an_at_000778ac = 0;" (assignment_expression "*PTR_as_an_at_000778ac = 0" (pointer_expression "*PTR_as_an_at_000778ac" * identifier) = number_literal) ;) (expression_statement "uVar14 = (*(code *)puVar5)(0,puVar22,5);" (assignment_expression "uVar14 = (*(code *)puVar5)(0,puVar22,5)" identifier = (call_expression "(*(code *)puVar5)(0,puVar22,5)" (parenthesized_expression "(*(code *)puVar5)" ( (pointer_expression "*(code *)puVar5" * (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar22,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "iVar21 = *(int *)PTR_COLS_00077fb4;" (assignment_expression "iVar21 = *(int *)PTR_COLS_00077fb4" identifier = (pointer_expression "*(int *)PTR_COLS_00077fb4" * (cast_expression "(int *)PTR_COLS_00077fb4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);" (assignment_expression "iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(uVar14)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);" (assignment_expression "iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar25 + -0x7d64)" ( (binary_expression "puVar25 + -0x7d64" identifier + number_literal) )))) ;) (expression_statement "iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);" (assignment_expression "iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar25 + -0x7d50)" ( (binary_expression "puVar25 + -0x7d50" identifier + number_literal) )))) ;) (expression_statement "iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);" (assignment_expression "iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(uVar13)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar13)" ( identifier )))) ;) (expression_statement "uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;" (assignment_expression "uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15" identifier = (binary_expression "(((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15" (parenthesized_expression "(((iVar21 + 7) - (iVar9 + iVar10)) - iVar11)" ( (binary_expression "((iVar21 + 7) - (iVar9 + iVar10)) - iVar11" (parenthesized_expression "((iVar21 + 7) - (iVar9 + iVar10))" ( (binary_expression "(iVar21 + 7) - (iVar9 + iVar10)" (parenthesized_expression "(iVar21 + 7)" ( (binary_expression "iVar21 + 7" identifier + number_literal) )) - (parenthesized_expression "(iVar9 + iVar10)" ( (binary_expression "iVar9 + iVar10" identifier + identifier) ))) )) - identifier) )) - identifier)) ;) (if_statement "if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }" if (parenthesized_expression "((int)uVar23 < 4)" ( (binary_expression "(int)uVar23 < 4" (cast_expression "(int)uVar23" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }" { (expression_statement "puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);" (assignment_expression "puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60)" identifier = (cast_expression "(undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" ( (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" * (cast_expression "(code *)PTR_mallocstrcpy_00077568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xd60)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xd60" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }" else (compound_statement "{\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }" { (expression_statement "uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);" (assignment_expression "uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(param_1)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }" if (parenthesized_expression "(uVar23 < uVar18)" ( (binary_expression "uVar23 < uVar18" identifier < identifier) )) (compound_statement "{\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }" { (expression_statement "iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);" (assignment_expression "iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(param_1)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);" (assignment_expression "uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0)" identifier = (call_expression "(*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0)" (parenthesized_expression "(*(code *)PTR_display_string_000778e0)" ( (pointer_expression "*(code *)PTR_display_string_000778e0" * (cast_expression "(code *)PTR_display_string_000778e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0)" ( identifier , (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19" (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15" (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11" (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10" (binary_expression "(iVar9 - (iVar21 + 7)) + 3" (parenthesized_expression "(iVar9 - (iVar21 + 7))" ( (binary_expression "iVar9 - (iVar21 + 7)" identifier - (parenthesized_expression "(iVar21 + 7)" ( (binary_expression "iVar21 + 7" identifier + number_literal) ))) )) + number_literal) + identifier) + identifier) + identifier) + identifier) , identifier , number_literal )))) ;) (expression_statement "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(uVar24)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar24)" ( identifier )))) ;) (expression_statement "puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);" (assignment_expression "puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_nmalloc_00077564)(iVar9 + 4)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9 + 4)" ( (binary_expression "iVar9 + 4" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = PTR_strcpy_0007805c;" (assignment_expression "puVar5 = PTR_strcpy_0007805c" identifier = identifier) ;) (expression_statement "*puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);" (assignment_expression "*puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c)" (pointer_expression "*puVar16" * identifier) = (pointer_expression "*(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c)" * (cast_expression "(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_d_of_current_line_0007755c + -0x125c)" ( (binary_expression "PTR_s_d_of_current_line_0007755c + -0x125c" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)puVar5)((int)puVar16 + 3,uVar24);" (call_expression "(*(code *)puVar5)((int)puVar16 + 3,uVar24)" (parenthesized_expression "(*(code *)puVar5)" ( (pointer_expression "*(code *)puVar5" * (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)puVar16 + 3,uVar24)" ( (binary_expression "(int)puVar16 + 3" (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar24);" (call_expression "(*(code *)PTR_free_0007810c)(uVar24)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar24)" ( identifier ))) ;) }) (else_clause "else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }" else (compound_statement "{\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }" { (expression_statement "puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);" (assignment_expression "puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0)" (parenthesized_expression "(*(code *)PTR_display_string_000778e0)" ( (pointer_expression "*(code *)PTR_display_string_000778e0" * (cast_expression "(code *)PTR_display_string_000778e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,uVar23,0)" ( identifier , number_literal , identifier , number_literal ))))) ;) }))) }))) (expression_statement "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(uVar14)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);" (assignment_expression "iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(puVar16)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar16)" ( identifier )))) ;) (expression_statement "piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);" (assignment_expression "piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d)" identifier = (cast_expression "(int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9 + iVar10 + 0x1d)" ( (binary_expression "iVar9 + iVar10 + 0x1d" (binary_expression "iVar9 + iVar10" identifier + identifier) + number_literal) ))))) ;) (expression_statement "(*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);" (call_expression "(*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_00077e90)" ( (pointer_expression "*(code *)PTR___sprintf_chk_00077e90" * (cast_expression "(code *)PTR___sprintf_chk_00077e90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13)" ( identifier , number_literal , number_literal , identifier , identifier , (binary_expression "puVar25 + -0x7d64" identifier + number_literal) , (binary_expression "puVar25 + -0x7d50" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(puVar16);" (call_expression "(*(code *)PTR_free_0007810c)(puVar16)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar16)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar13);" (call_expression "(*(code *)PTR_free_0007810c)(uVar13)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar13)" ( identifier ))) ;) (expression_statement "piVar20 = piVar17;" (assignment_expression "piVar20 = piVar17" identifier = identifier) ;) (expression_statement "iVar9 = do_yesno_prompt(0);" (assignment_expression "iVar9 = do_yesno_prompt(0)" identifier = (call_expression "do_yesno_prompt(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(piVar17);" (call_expression "(*(code *)PTR_free_0007810c)(piVar17)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar17)" ( identifier ))) ;) (if_statement "if (0 < iVar9) goto LAB_0001f45c;" if (parenthesized_expression "(0 < iVar9)" ( (binary_expression "0 < iVar9" number_literal < identifier) )) (goto_statement "goto LAB_0001f45c;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_wipe_statusbar_00077600)();" (call_expression "(*(code *)PTR_wipe_statusbar_00077600)()" (parenthesized_expression "(*(code *)PTR_wipe_statusbar_00077600)" ( (pointer_expression "*(code *)PTR_wipe_statusbar_00077600" * (cast_expression "(code *)PTR_wipe_statusbar_00077600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) (labeled_statement "LAB_0001f5d8:\n    iVar9 = -1;" statement_identifier : (expression_statement "iVar9 = -1;" (assignment_expression "iVar9 = -1" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_free_0007810c)(uVar7);" (call_expression "(*(code *)PTR_free_0007810c)(uVar7)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar8);" (call_expression "(*(code *)PTR_free_0007810c)(uVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8)" ( identifier ))) ;) }))) (expression_statement "(*(code *)PTR_free_0007810c)(uVar12);" (call_expression "(*(code *)PTR_free_0007810c)(uVar12)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12)" ( identifier ))) ;) (labeled_statement "LAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar6)" ( (binary_expression "local_2c == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar9;\n  }" { (return_statement "return iVar9;" return identifier ;) }))) (expression_statement "iVar9 = local_2c;" (assignment_expression "iVar9 = local_2c" identifier = identifier) ;) (expression_statement "puVar25 = PTR___stack_chk_fail_000780c0;" (assignment_expression "puVar25 = PTR___stack_chk_fail_000780c0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" * (cast_expression "(code *)PTR___stack_chk_fail_000780c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar10 = *piVar20;" (assignment_expression "iVar10 = *piVar20" identifier = (pointer_expression "*piVar20" * identifier)) ;) (if_statement "if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }" { (expression_statement "iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);" (assignment_expression "iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9)" identifier = (call_expression "(**(code **)(puVar25 + 0x57e84))(0xa0,iVar9)" (parenthesized_expression "(**(code **)(puVar25 + 0x57e84))" ( (pointer_expression "**(code **)(puVar25 + 0x57e84)" * (pointer_expression "*(code **)(puVar25 + 0x57e84)" * (cast_expression "(code **)(puVar25 + 0x57e84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar25 + 0x57e84)" ( (binary_expression "puVar25 + 0x57e84" identifier + number_literal) ))))) )) (argument_list "(0xa0,iVar9)" ( number_literal , identifier )))) ;) (expression_statement "*piVar20 = iVar10;" (assignment_expression "*piVar20 = iVar10" (pointer_expression "*piVar20" * identifier) = identifier) ;) })) (expression_statement "iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);" (assignment_expression "iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10)" identifier = (call_expression "(**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10)" (parenthesized_expression "(**(code **)(puVar25 + 0x587ec))" ( (pointer_expression "**(code **)(puVar25 + 0x587ec)" * (pointer_expression "*(code **)(puVar25 + 0x587ec)" * (cast_expression "(code **)(puVar25 + 0x587ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar25 + 0x587ec)" ( (binary_expression "puVar25 + 0x587ec" identifier + number_literal) ))))) )) (argument_list "(3,iVar9,iVar10)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar9 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);" (assignment_expression "iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20)" identifier = (call_expression "(**(code **)(puVar25 + 0x58a2c))(*piVar20)" (parenthesized_expression "(**(code **)(puVar25 + 0x58a2c))" ( (pointer_expression "**(code **)(puVar25 + 0x58a2c)" * (pointer_expression "*(code **)(puVar25 + 0x58a2c)" * (cast_expression "(code **)(puVar25 + 0x58a2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar25 + 0x58a2c)" ( (binary_expression "puVar25 + 0x58a2c" identifier + number_literal) ))))) )) (argument_list "(*piVar20)" ( (pointer_expression "*piVar20" * identifier) )))) ;) (expression_statement "*piVar20 = 0;" (assignment_expression "*piVar20 = 0" (pointer_expression "*piVar20" * identifier) = number_literal) ;) (return_statement "return iVar9;" return identifier ;) })))
(translation_unit "int do_lockfile(char *filename)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  char *lockfilename;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  undefined *puVar13;\n  stat fileinfo;\n  \n  puVar2 = PTR___stack_chk_guard_000780f8;\n  puVar1 = PTR_locking_suffix_00077a14;\n  puVar13 = PTR_locking_prefix_00077a10;\n  iVar3 = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar4 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename);\n  uVar5 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename);\n  iVar6 = (*(code *)PTR_strlen_00077ff8)(filename);\n  iVar7 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar13);\n  iVar8 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar1);\n  iVar8 = iVar6 + iVar7 + 3 + iVar8;\n  lockfilename = (char *)(*(code *)PTR_nmalloc_00077564)(iVar8);\n  uVar9 = (*(code *)PTR_dirname_00078024)(uVar4);\n  uVar12 = *(undefined4 *)puVar13;\n  uVar10 = (*(code *)PTR___xpg_basename_00077f98)(uVar5);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (lockfilename,iVar8,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar9,uVar12,\n             uVar10,*(undefined4 *)puVar1);\n  iVar6 = (*(code *)PTR___xstat64_00077ecc)(3,lockfilename,&fileinfo);\n  if (iVar6 == -1) {\n    iVar6 = write_lockfile(lockfilename,filename,false);\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n    if (0 < iVar6) goto LAB_0001f49c;\n  }\n  else {\n    iVar6 = (*(code *)PTR_open64_00077fec)(lockfilename,0);\n    if (-1 < iVar6) {\n      (*(code *)PTR_nmalloc_00077564)(0x2000);\n      iVar3 = FUN_0001f1d8();\n      return iVar3;\n    }\n    filename = (char *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n    uVar9 = (*(code *)PTR_strerror_00078028)(*puVar11);\n    (*(code *)PTR_statusline_0007757c)(2,filename,lockfilename,uVar9);\n    iVar6 = -1;\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n  }\n  (*(code *)PTR_free_0007810c)(lockfilename);\nLAB_0001f49c:\n  if (iVar3 == *(int *)puVar2) {\n    return iVar6;\n  }\n  puVar13 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar6 = *(int *)filename;\n  if (iVar6 == 0) {\n    iVar6 = (**(code **)(puVar13 + 0x57e84))(0xa0,iVar3);\n    *(int *)filename = iVar6;\n  }\n  iVar3 = (**(code **)(puVar13 + 0x587ec))(3,iVar3,iVar6);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar3 = (**(code **)(puVar13 + 0x58a2c))(*(int *)filename);\n  *(int *)filename = 0;\n  return iVar3;\n}\n\n" (function_definition "int do_lockfile(char *filename)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  char *lockfilename;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  undefined *puVar13;\n  stat fileinfo;\n  \n  puVar2 = PTR___stack_chk_guard_000780f8;\n  puVar1 = PTR_locking_suffix_00077a14;\n  puVar13 = PTR_locking_prefix_00077a10;\n  iVar3 = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar4 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename);\n  uVar5 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename);\n  iVar6 = (*(code *)PTR_strlen_00077ff8)(filename);\n  iVar7 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar13);\n  iVar8 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar1);\n  iVar8 = iVar6 + iVar7 + 3 + iVar8;\n  lockfilename = (char *)(*(code *)PTR_nmalloc_00077564)(iVar8);\n  uVar9 = (*(code *)PTR_dirname_00078024)(uVar4);\n  uVar12 = *(undefined4 *)puVar13;\n  uVar10 = (*(code *)PTR___xpg_basename_00077f98)(uVar5);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (lockfilename,iVar8,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar9,uVar12,\n             uVar10,*(undefined4 *)puVar1);\n  iVar6 = (*(code *)PTR___xstat64_00077ecc)(3,lockfilename,&fileinfo);\n  if (iVar6 == -1) {\n    iVar6 = write_lockfile(lockfilename,filename,false);\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n    if (0 < iVar6) goto LAB_0001f49c;\n  }\n  else {\n    iVar6 = (*(code *)PTR_open64_00077fec)(lockfilename,0);\n    if (-1 < iVar6) {\n      (*(code *)PTR_nmalloc_00077564)(0x2000);\n      iVar3 = FUN_0001f1d8();\n      return iVar3;\n    }\n    filename = (char *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n    uVar9 = (*(code *)PTR_strerror_00078028)(*puVar11);\n    (*(code *)PTR_statusline_0007757c)(2,filename,lockfilename,uVar9);\n    iVar6 = -1;\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n  }\n  (*(code *)PTR_free_0007810c)(lockfilename);\nLAB_0001f49c:\n  if (iVar3 == *(int *)puVar2) {\n    return iVar6;\n  }\n  puVar13 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar6 = *(int *)filename;\n  if (iVar6 == 0) {\n    iVar6 = (**(code **)(puVar13 + 0x57e84))(0xa0,iVar3);\n    *(int *)filename = iVar6;\n  }\n  iVar3 = (**(code **)(puVar13 + 0x587ec))(3,iVar3,iVar6);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar3 = (**(code **)(puVar13 + 0x58a2c))(*(int *)filename);\n  *(int *)filename = 0;\n  return iVar3;\n}" primitive_type (function_declarator "do_lockfile(char *filename)" identifier (parameter_list "(char *filename)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  char *lockfilename;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  undefined *puVar13;\n  stat fileinfo;\n  \n  puVar2 = PTR___stack_chk_guard_000780f8;\n  puVar1 = PTR_locking_suffix_00077a14;\n  puVar13 = PTR_locking_prefix_00077a10;\n  iVar3 = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar4 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename);\n  uVar5 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename);\n  iVar6 = (*(code *)PTR_strlen_00077ff8)(filename);\n  iVar7 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar13);\n  iVar8 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar1);\n  iVar8 = iVar6 + iVar7 + 3 + iVar8;\n  lockfilename = (char *)(*(code *)PTR_nmalloc_00077564)(iVar8);\n  uVar9 = (*(code *)PTR_dirname_00078024)(uVar4);\n  uVar12 = *(undefined4 *)puVar13;\n  uVar10 = (*(code *)PTR___xpg_basename_00077f98)(uVar5);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (lockfilename,iVar8,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar9,uVar12,\n             uVar10,*(undefined4 *)puVar1);\n  iVar6 = (*(code *)PTR___xstat64_00077ecc)(3,lockfilename,&fileinfo);\n  if (iVar6 == -1) {\n    iVar6 = write_lockfile(lockfilename,filename,false);\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n    if (0 < iVar6) goto LAB_0001f49c;\n  }\n  else {\n    iVar6 = (*(code *)PTR_open64_00077fec)(lockfilename,0);\n    if (-1 < iVar6) {\n      (*(code *)PTR_nmalloc_00077564)(0x2000);\n      iVar3 = FUN_0001f1d8();\n      return iVar3;\n    }\n    filename = (char *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n    uVar9 = (*(code *)PTR_strerror_00078028)(*puVar11);\n    (*(code *)PTR_statusline_0007757c)(2,filename,lockfilename,uVar9);\n    iVar6 = -1;\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n  }\n  (*(code *)PTR_free_0007810c)(lockfilename);\nLAB_0001f49c:\n  if (iVar3 == *(int *)puVar2) {\n    return iVar6;\n  }\n  puVar13 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar6 = *(int *)filename;\n  if (iVar6 == 0) {\n    iVar6 = (**(code **)(puVar13 + 0x57e84))(0xa0,iVar3);\n    *(int *)filename = iVar6;\n  }\n  iVar3 = (**(code **)(puVar13 + 0x587ec))(3,iVar3,iVar6);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar3 = (**(code **)(puVar13 + 0x58a2c))(*(int *)filename);\n  *(int *)filename = 0;\n  return iVar3;\n}" { (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 "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *lockfilename;" primitive_type (pointer_declarator "*lockfilename" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "stat fileinfo;" type_identifier identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000780f8" identifier = identifier) ;) (expression_statement "puVar1 = PTR_locking_suffix_00077a14;" (assignment_expression "puVar1 = PTR_locking_suffix_00077a14" identifier = identifier) ;) (expression_statement "puVar13 = PTR_locking_prefix_00077a10;" (assignment_expression "puVar13 = PTR_locking_prefix_00077a10" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_000780f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" * (cast_expression "(int *)PTR___stack_chk_guard_000780f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename);" (assignment_expression "uVar4 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename)" identifier = (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,filename)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" ( (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" * (cast_expression "(code *)PTR_mallocstrcpy_00077568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,filename)" ( number_literal , identifier )))) ;) (expression_statement "uVar5 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename);" (assignment_expression "uVar5 = (*(code *)PTR_mallocstrcpy_00077568)(0,filename)" identifier = (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,filename)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" ( (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" * (cast_expression "(code *)PTR_mallocstrcpy_00077568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,filename)" ( number_literal , identifier )))) ;) (expression_statement "iVar6 = (*(code *)PTR_strlen_00077ff8)(filename);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00077ff8)(filename)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(filename)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(filename)" ( identifier )))) ;) (expression_statement "iVar7 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar13);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar13)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar13)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar13)" ( (pointer_expression "*(undefined4 *)puVar13" * (cast_expression "(undefined4 *)puVar13" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "iVar8 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar1);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar1)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "iVar8 = iVar6 + iVar7 + 3 + iVar8;" (assignment_expression "iVar8 = iVar6 + iVar7 + 3 + iVar8" identifier = (binary_expression "iVar6 + iVar7 + 3 + iVar8" (binary_expression "iVar6 + iVar7 + 3" (binary_expression "iVar6 + iVar7" identifier + identifier) + number_literal) + identifier)) ;) (expression_statement "lockfilename = (char *)(*(code *)PTR_nmalloc_00077564)(iVar8);" (assignment_expression "lockfilename = (char *)(*(code *)PTR_nmalloc_00077564)(iVar8)" identifier = (cast_expression "(char *)(*(code *)PTR_nmalloc_00077564)(iVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_nmalloc_00077564)(iVar8)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier ))))) ;) (expression_statement "uVar9 = (*(code *)PTR_dirname_00078024)(uVar4);" (assignment_expression "uVar9 = (*(code *)PTR_dirname_00078024)(uVar4)" identifier = (call_expression "(*(code *)PTR_dirname_00078024)(uVar4)" (parenthesized_expression "(*(code *)PTR_dirname_00078024)" ( (pointer_expression "*(code *)PTR_dirname_00078024" * (cast_expression "(code *)PTR_dirname_00078024" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier )))) ;) (expression_statement "uVar12 = *(undefined4 *)puVar13;" (assignment_expression "uVar12 = *(undefined4 *)puVar13" identifier = (pointer_expression "*(undefined4 *)puVar13" * (cast_expression "(undefined4 *)puVar13" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar10 = (*(code *)PTR___xpg_basename_00077f98)(uVar5);" (assignment_expression "uVar10 = (*(code *)PTR___xpg_basename_00077f98)(uVar5)" identifier = (call_expression "(*(code *)PTR___xpg_basename_00077f98)(uVar5)" (parenthesized_expression "(*(code *)PTR___xpg_basename_00077f98)" ( (pointer_expression "*(code *)PTR___xpg_basename_00077f98" * (cast_expression "(code *)PTR___xpg_basename_00077f98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "(*(code *)PTR___snprintf_chk_00078164)\n            (lockfilename,iVar8,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar9,uVar12,\n             uVar10,*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR___snprintf_chk_00078164)\n            (lockfilename,iVar8,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar9,uVar12,\n             uVar10,*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00078164)" ( (pointer_expression "*(code *)PTR___snprintf_chk_00078164" * (cast_expression "(code *)PTR___snprintf_chk_00078164" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(lockfilename,iVar8,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar9,uVar12,\n             uVar10,*(undefined4 *)puVar1)" ( identifier , identifier , number_literal , number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xe00" identifier + number_literal) , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar6 = (*(code *)PTR___xstat64_00077ecc)(3,lockfilename,&fileinfo);" (assignment_expression "iVar6 = (*(code *)PTR___xstat64_00077ecc)(3,lockfilename,&fileinfo)" identifier = (call_expression "(*(code *)PTR___xstat64_00077ecc)(3,lockfilename,&fileinfo)" (parenthesized_expression "(*(code *)PTR___xstat64_00077ecc)" ( (pointer_expression "*(code *)PTR___xstat64_00077ecc" * (cast_expression "(code *)PTR___xstat64_00077ecc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,lockfilename,&fileinfo)" ( number_literal , identifier , (pointer_expression "&fileinfo" & identifier) )))) ;) (if_statement "if (iVar6 == -1) {\n    iVar6 = write_lockfile(lockfilename,filename,false);\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n    if (0 < iVar6) goto LAB_0001f49c;\n  }\n  else {\n    iVar6 = (*(code *)PTR_open64_00077fec)(lockfilename,0);\n    if (-1 < iVar6) {\n      (*(code *)PTR_nmalloc_00077564)(0x2000);\n      iVar3 = FUN_0001f1d8();\n      return iVar3;\n    }\n    filename = (char *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n    uVar9 = (*(code *)PTR_strerror_00078028)(*puVar11);\n    (*(code *)PTR_statusline_0007757c)(2,filename,lockfilename,uVar9);\n    iVar6 = -1;\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n  }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n    iVar6 = write_lockfile(lockfilename,filename,false);\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n    if (0 < iVar6) goto LAB_0001f49c;\n  }" { (expression_statement "iVar6 = write_lockfile(lockfilename,filename,false);" (assignment_expression "iVar6 = write_lockfile(lockfilename,filename,false)" identifier = (call_expression "write_lockfile(lockfilename,filename,false)" identifier (argument_list "(lockfilename,filename,false)" ( identifier , identifier , false )))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar4);" (call_expression "(*(code *)PTR_free_0007810c)(uVar4)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar5);" (call_expression "(*(code *)PTR_free_0007810c)(uVar5)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if (0 < iVar6) goto LAB_0001f49c;" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (goto_statement "goto LAB_0001f49c;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar6 = (*(code *)PTR_open64_00077fec)(lockfilename,0);\n    if (-1 < iVar6) {\n      (*(code *)PTR_nmalloc_00077564)(0x2000);\n      iVar3 = FUN_0001f1d8();\n      return iVar3;\n    }\n    filename = (char *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n    uVar9 = (*(code *)PTR_strerror_00078028)(*puVar11);\n    (*(code *)PTR_statusline_0007757c)(2,filename,lockfilename,uVar9);\n    iVar6 = -1;\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n  }" else (compound_statement "{\n    iVar6 = (*(code *)PTR_open64_00077fec)(lockfilename,0);\n    if (-1 < iVar6) {\n      (*(code *)PTR_nmalloc_00077564)(0x2000);\n      iVar3 = FUN_0001f1d8();\n      return iVar3;\n    }\n    filename = (char *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n    puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n    uVar9 = (*(code *)PTR_strerror_00078028)(*puVar11);\n    (*(code *)PTR_statusline_0007757c)(2,filename,lockfilename,uVar9);\n    iVar6 = -1;\n    (*(code *)PTR_free_0007810c)(uVar4);\n    (*(code *)PTR_free_0007810c)(uVar5);\n  }" { (expression_statement "iVar6 = (*(code *)PTR_open64_00077fec)(lockfilename,0);" (assignment_expression "iVar6 = (*(code *)PTR_open64_00077fec)(lockfilename,0)" identifier = (call_expression "(*(code *)PTR_open64_00077fec)(lockfilename,0)" (parenthesized_expression "(*(code *)PTR_open64_00077fec)" ( (pointer_expression "*(code *)PTR_open64_00077fec" * (cast_expression "(code *)PTR_open64_00077fec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(lockfilename,0)" ( identifier , number_literal )))) ;) (if_statement "if (-1 < iVar6) {\n      (*(code *)PTR_nmalloc_00077564)(0x2000);\n      iVar3 = FUN_0001f1d8();\n      return iVar3;\n    }" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (compound_statement "{\n      (*(code *)PTR_nmalloc_00077564)(0x2000);\n      iVar3 = FUN_0001f1d8();\n      return iVar3;\n    }" { (expression_statement "(*(code *)PTR_nmalloc_00077564)(0x2000);" (call_expression "(*(code *)PTR_nmalloc_00077564)(0x2000)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x2000)" ( number_literal ))) ;) (expression_statement "iVar3 = FUN_0001f1d8();" (assignment_expression "iVar3 = FUN_0001f1d8()" identifier = (call_expression "FUN_0001f1d8()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "filename = (char *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);" (assignment_expression "filename = (char *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xdf4" identifier + number_literal) , number_literal ))))) ;) (expression_statement "puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();" (assignment_expression "puVar11 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00077fb0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00077fb0)()" (parenthesized_expression "(*(code *)PTR___errno_location_00077fb0)" ( (pointer_expression "*(code *)PTR___errno_location_00077fb0" * (cast_expression "(code *)PTR___errno_location_00077fb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar9 = (*(code *)PTR_strerror_00078028)(*puVar11);" (assignment_expression "uVar9 = (*(code *)PTR_strerror_00078028)(*puVar11)" identifier = (call_expression "(*(code *)PTR_strerror_00078028)(*puVar11)" (parenthesized_expression "(*(code *)PTR_strerror_00078028)" ( (pointer_expression "*(code *)PTR_strerror_00078028" * (cast_expression "(code *)PTR_strerror_00078028" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar11)" ( (pointer_expression "*puVar11" * identifier) )))) ;) (expression_statement "(*(code *)PTR_statusline_0007757c)(2,filename,lockfilename,uVar9);" (call_expression "(*(code *)PTR_statusline_0007757c)(2,filename,lockfilename,uVar9)" (parenthesized_expression "(*(code *)PTR_statusline_0007757c)" ( (pointer_expression "*(code *)PTR_statusline_0007757c" * (cast_expression "(code *)PTR_statusline_0007757c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2,filename,lockfilename,uVar9)" ( number_literal , identifier , identifier , identifier ))) ;) (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar4);" (call_expression "(*(code *)PTR_free_0007810c)(uVar4)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar5);" (call_expression "(*(code *)PTR_free_0007810c)(uVar5)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) }))) (expression_statement "(*(code *)PTR_free_0007810c)(lockfilename);" (call_expression "(*(code *)PTR_free_0007810c)(lockfilename)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(lockfilename)" ( identifier ))) ;) (labeled_statement "LAB_0001f49c:\n  if (iVar3 == *(int *)puVar2) {\n    return iVar6;\n  }" statement_identifier : (if_statement "if (iVar3 == *(int *)puVar2) {\n    return iVar6;\n  }" if (parenthesized_expression "(iVar3 == *(int *)puVar2)" ( (binary_expression "iVar3 == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar6;\n  }" { (return_statement "return iVar6;" return identifier ;) }))) (expression_statement "puVar13 = PTR___stack_chk_fail_000780c0;" (assignment_expression "puVar13 = PTR___stack_chk_fail_000780c0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" * (cast_expression "(code *)PTR___stack_chk_fail_000780c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar6 = *(int *)filename;" (assignment_expression "iVar6 = *(int *)filename" identifier = (pointer_expression "*(int *)filename" * (cast_expression "(int *)filename" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar6 == 0) {\n    iVar6 = (**(code **)(puVar13 + 0x57e84))(0xa0,iVar3);\n    *(int *)filename = iVar6;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = (**(code **)(puVar13 + 0x57e84))(0xa0,iVar3);\n    *(int *)filename = iVar6;\n  }" { (expression_statement "iVar6 = (**(code **)(puVar13 + 0x57e84))(0xa0,iVar3);" (assignment_expression "iVar6 = (**(code **)(puVar13 + 0x57e84))(0xa0,iVar3)" identifier = (call_expression "(**(code **)(puVar13 + 0x57e84))(0xa0,iVar3)" (parenthesized_expression "(**(code **)(puVar13 + 0x57e84))" ( (pointer_expression "**(code **)(puVar13 + 0x57e84)" * (pointer_expression "*(code **)(puVar13 + 0x57e84)" * (cast_expression "(code **)(puVar13 + 0x57e84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x57e84)" ( (binary_expression "puVar13 + 0x57e84" identifier + number_literal) ))))) )) (argument_list "(0xa0,iVar3)" ( number_literal , identifier )))) ;) (expression_statement "*(int *)filename = iVar6;" (assignment_expression "*(int *)filename = iVar6" (pointer_expression "*(int *)filename" * (cast_expression "(int *)filename" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) })) (expression_statement "iVar3 = (**(code **)(puVar13 + 0x587ec))(3,iVar3,iVar6);" (assignment_expression "iVar3 = (**(code **)(puVar13 + 0x587ec))(3,iVar3,iVar6)" identifier = (call_expression "(**(code **)(puVar13 + 0x587ec))(3,iVar3,iVar6)" (parenthesized_expression "(**(code **)(puVar13 + 0x587ec))" ( (pointer_expression "**(code **)(puVar13 + 0x587ec)" * (pointer_expression "*(code **)(puVar13 + 0x587ec)" * (cast_expression "(code **)(puVar13 + 0x587ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x587ec)" ( (binary_expression "puVar13 + 0x587ec" identifier + number_literal) ))))) )) (argument_list "(3,iVar3,iVar6)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = (**(code **)(puVar13 + 0x58a2c))(*(int *)filename);" (assignment_expression "iVar3 = (**(code **)(puVar13 + 0x58a2c))(*(int *)filename)" identifier = (call_expression "(**(code **)(puVar13 + 0x58a2c))(*(int *)filename)" (parenthesized_expression "(**(code **)(puVar13 + 0x58a2c))" ( (pointer_expression "**(code **)(puVar13 + 0x58a2c)" * (pointer_expression "*(code **)(puVar13 + 0x58a2c)" * (cast_expression "(code **)(puVar13 + 0x58a2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x58a2c)" ( (binary_expression "puVar13 + 0x58a2c" identifier + number_literal) ))))) )) (argument_list "(*(int *)filename)" ( (pointer_expression "*(int *)filename" * (cast_expression "(int *)filename" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "*(int *)filename = 0;" (assignment_expression "*(int *)filename = 0" (pointer_expression "*(int *)filename" * (cast_expression "(int *)filename" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "int do_lockfile(int *param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  undefined4 uVar14;\n  int iVar15;\n  undefined4 *puVar16;\n  int *piVar17;\n  uint uVar18;\n  int iVar19;\n  int *piVar20;\n  int iVar21;\n  undefined *puVar22;\n  uint uVar23;\n  undefined4 uVar24;\n  undefined *puVar25;\n  undefined1 auStack_d0 [164];\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_000780f8;\n  puVar5 = PTR_locking_suffix_00077a14;\n  puVar25 = PTR_locking_prefix_00077a10;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);\n  iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);\n  iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);\n  iVar11 = iVar9 + iVar10 + 3 + iVar11;\n  uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);\n  uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);\n  uVar24 = *(undefined4 *)puVar25;\n  uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);\n  iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);\n  if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }\n  (*(code *)PTR_free_0007810c)(uVar12);\nLAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }\n  iVar9 = local_2c;\n  puVar25 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar10 = *piVar20;\n  if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);\n  if (iVar9 == 0) {\n    return 0;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);\n  *piVar20 = 0;\n  return iVar9;\n}\n\n" (function_definition "int do_lockfile(int *param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  undefined4 uVar14;\n  int iVar15;\n  undefined4 *puVar16;\n  int *piVar17;\n  uint uVar18;\n  int iVar19;\n  int *piVar20;\n  int iVar21;\n  undefined *puVar22;\n  uint uVar23;\n  undefined4 uVar24;\n  undefined *puVar25;\n  undefined1 auStack_d0 [164];\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_000780f8;\n  puVar5 = PTR_locking_suffix_00077a14;\n  puVar25 = PTR_locking_prefix_00077a10;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);\n  iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);\n  iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);\n  iVar11 = iVar9 + iVar10 + 3 + iVar11;\n  uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);\n  uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);\n  uVar24 = *(undefined4 *)puVar25;\n  uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);\n  iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);\n  if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }\n  (*(code *)PTR_free_0007810c)(uVar12);\nLAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }\n  iVar9 = local_2c;\n  puVar25 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar10 = *piVar20;\n  if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);\n  if (iVar9 == 0) {\n    return 0;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);\n  *piVar20 = 0;\n  return iVar9;\n}" primitive_type (function_declarator "do_lockfile(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  undefined4 uVar14;\n  int iVar15;\n  undefined4 *puVar16;\n  int *piVar17;\n  uint uVar18;\n  int iVar19;\n  int *piVar20;\n  int iVar21;\n  undefined *puVar22;\n  uint uVar23;\n  undefined4 uVar24;\n  undefined *puVar25;\n  undefined1 auStack_d0 [164];\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_000780f8;\n  puVar5 = PTR_locking_suffix_00077a14;\n  puVar25 = PTR_locking_prefix_00077a10;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);\n  iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);\n  iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);\n  iVar11 = iVar9 + iVar10 + 3 + iVar11;\n  uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);\n  uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);\n  uVar24 = *(undefined4 *)puVar25;\n  uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);\n  iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);\n  if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }\n  (*(code *)PTR_free_0007810c)(uVar12);\nLAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }\n  iVar9 = local_2c;\n  puVar25 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar10 = *piVar20;\n  if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);\n  if (iVar9 == 0) {\n    return 0;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);\n  *piVar20 = 0;\n  return iVar9;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "undefined4 *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int *piVar17;" primitive_type (pointer_declarator "*piVar17" * identifier) ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int *piVar20;" primitive_type (pointer_declarator "*piVar20" * identifier) ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "undefined *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "uint uVar23;" type_identifier identifier ;) (declaration "undefined4 uVar24;" type_identifier identifier ;) (declaration "undefined *puVar25;" type_identifier (pointer_declarator "*puVar25" * identifier) ;) (declaration "undefined1 auStack_d0 [164];" type_identifier (array_declarator "auStack_d0 [164]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar6 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar6 = PTR___stack_chk_guard_000780f8" identifier = identifier) ;) (expression_statement "puVar5 = PTR_locking_suffix_00077a14;" (assignment_expression "puVar5 = PTR_locking_suffix_00077a14" identifier = identifier) ;) (expression_statement "puVar25 = PTR_locking_prefix_00077a10;" (assignment_expression "puVar25 = PTR_locking_prefix_00077a10" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000780f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" * (cast_expression "(int *)PTR___stack_chk_guard_000780f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);" (assignment_expression "uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" identifier = (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" ( (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" * (cast_expression "(code *)PTR_mallocstrcpy_00077568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,param_1)" ( number_literal , identifier )))) ;) (expression_statement "uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);" (assignment_expression "uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" identifier = (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" ( (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" * (cast_expression "(code *)PTR_mallocstrcpy_00077568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,param_1)" ( number_literal , identifier )))) ;) (expression_statement "iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);" (assignment_expression "iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar25)" ( (pointer_expression "*(undefined4 *)puVar25" * (cast_expression "(undefined4 *)puVar25" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);" (assignment_expression "iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar5)" ( (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "iVar11 = iVar9 + iVar10 + 3 + iVar11;" (assignment_expression "iVar11 = iVar9 + iVar10 + 3 + iVar11" identifier = (binary_expression "iVar9 + iVar10 + 3 + iVar11" (binary_expression "iVar9 + iVar10 + 3" (binary_expression "iVar9 + iVar10" identifier + identifier) + number_literal) + identifier)) ;) (expression_statement "uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);" (assignment_expression "uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11)" identifier = (call_expression "(*(code *)PTR_nmalloc_00077564)(iVar11)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11)" ( identifier )))) ;) (expression_statement "uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);" (assignment_expression "uVar13 = (*(code *)PTR_dirname_00078024)(uVar7)" identifier = (call_expression "(*(code *)PTR_dirname_00078024)(uVar7)" (parenthesized_expression "(*(code *)PTR_dirname_00078024)" ( (pointer_expression "*(code *)PTR_dirname_00078024" * (cast_expression "(code *)PTR_dirname_00078024" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7)" ( identifier )))) ;) (expression_statement "uVar24 = *(undefined4 *)puVar25;" (assignment_expression "uVar24 = *(undefined4 *)puVar25" identifier = (pointer_expression "*(undefined4 *)puVar25" * (cast_expression "(undefined4 *)puVar25" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);" (assignment_expression "uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8)" identifier = (call_expression "(*(code *)PTR___xpg_basename_00077f98)(uVar8)" (parenthesized_expression "(*(code *)PTR___xpg_basename_00077f98)" ( (pointer_expression "*(code *)PTR___xpg_basename_00077f98" * (cast_expression "(code *)PTR___xpg_basename_00077f98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8)" ( identifier )))) ;) (expression_statement "(*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);" (call_expression "(*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00078164)" ( (pointer_expression "*(code *)PTR___snprintf_chk_00078164" * (cast_expression "(code *)PTR___snprintf_chk_00078164" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5)" ( identifier , identifier , number_literal , number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xe00" identifier + number_literal) , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);" (assignment_expression "iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0)" identifier = (call_expression "(*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0)" (parenthesized_expression "(*(code *)PTR___xstat64_00077ecc)" ( (pointer_expression "*(code *)PTR___xstat64_00077ecc" * (cast_expression "(code *)PTR___xstat64_00077ecc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,uVar12,auStack_d0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (compound_statement "{\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }" { (labeled_statement "LAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);" statement_identifier : (expression_statement "iVar9 = write_lockfile(uVar12,param_1,0);" (assignment_expression "iVar9 = write_lockfile(uVar12,param_1,0)" identifier = (call_expression "write_lockfile(uVar12,param_1,0)" identifier (argument_list "(uVar12,param_1,0)" ( identifier , identifier , number_literal )))) ;)) (expression_statement "(*(code *)PTR_free_0007810c)(uVar7);" (call_expression "(*(code *)PTR_free_0007810c)(uVar7)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar8);" (call_expression "(*(code *)PTR_free_0007810c)(uVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8)" ( identifier ))) ;) (expression_statement "piVar20 = param_1;" (assignment_expression "piVar20 = param_1" identifier = identifier) ;) (if_statement "if (0 < iVar9) goto LAB_0001f49c;" if (parenthesized_expression "(0 < iVar9)" ( (binary_expression "0 < iVar9" number_literal < identifier) )) (goto_statement "goto LAB_0001f49c;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }" else (compound_statement "{\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }" { (expression_statement "iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);" (assignment_expression "iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0)" identifier = (call_expression "(*(code *)PTR_open64_00077fec)(uVar12,0)" (parenthesized_expression "(*(code *)PTR_open64_00077fec)" ( (pointer_expression "*(code *)PTR_open64_00077fec" * (cast_expression "(code *)PTR_open64_00077fec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }" { (expression_statement "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);" (assignment_expression "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" identifier = (cast_expression "(int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xdf4" identifier + number_literal) , number_literal ))))) ;) (expression_statement "puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();" (assignment_expression "puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00077fb0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00077fb0)()" (parenthesized_expression "(*(code *)PTR___errno_location_00077fb0)" ( (pointer_expression "*(code *)PTR___errno_location_00077fb0" * (cast_expression "(code *)PTR___errno_location_00077fb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);" (assignment_expression "uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16)" identifier = (call_expression "(*(code *)PTR_strerror_00078028)(*puVar16)" (parenthesized_expression "(*(code *)PTR_strerror_00078028)" ( (pointer_expression "*(code *)PTR_strerror_00078028" * (cast_expression "(code *)PTR_strerror_00078028" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar16)" ( (pointer_expression "*puVar16" * identifier) )))) ;) (expression_statement "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);" (call_expression "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13)" (parenthesized_expression "(*(code *)PTR_statusline_0007757c)" ( (pointer_expression "*(code *)PTR_statusline_0007757c" * (cast_expression "(code *)PTR_statusline_0007757c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2,piVar20,uVar12,uVar13)" ( number_literal , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }" else (compound_statement "{\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }" { (expression_statement "uVar23 = 0;" (assignment_expression "uVar23 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);" (assignment_expression "iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000)" identifier = (call_expression "(*(code *)PTR_nmalloc_00077564)(0x2000)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x2000)" ( number_literal )))) ;) (do_statement "do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);" do (compound_statement "{\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      }" { (expression_statement "iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);" (assignment_expression "iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23)" identifier = (call_expression "(*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23)" (parenthesized_expression "(*(code *)PTR_read_00078140)" ( (pointer_expression "*(code *)PTR_read_00078140" * (cast_expression "(code *)PTR_read_00078140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9,iVar10 + uVar23,0x2000 - uVar23)" ( identifier , (binary_expression "iVar10 + uVar23" identifier + identifier) , (binary_expression "0x2000 - uVar23" number_literal - identifier) )))) ;) (expression_statement "uVar23 = uVar23 + iVar11;" (assignment_expression "uVar23 = uVar23 + iVar11" identifier = (binary_expression "uVar23 + iVar11" identifier + identifier)) ;) (if_statement "if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }" { (expression_statement "(*(code *)PTR_close_00077eb0)(iVar9);" (call_expression "(*(code *)PTR_close_00077eb0)(iVar9)" (parenthesized_expression "(*(code *)PTR_close_00077eb0)" ( (pointer_expression "*(code *)PTR_close_00077eb0" * (cast_expression "(code *)PTR_close_00077eb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9)" ( identifier ))) ;) (if_statement "if (0x2f < uVar23) goto LAB_0001f210;" if (parenthesized_expression "(0x2f < uVar23)" ( (binary_expression "0x2f < uVar23" number_literal < identifier) )) (goto_statement "goto LAB_0001f210;" goto statement_identifier ;)) (expression_statement "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);" (assignment_expression "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" identifier = (cast_expression "(int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xdd4" identifier + number_literal) , number_literal ))))) ;) (expression_statement "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);" (call_expression "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12)" (parenthesized_expression "(*(code *)PTR_statusline_0007757c)" ( (pointer_expression "*(code *)PTR_statusline_0007757c" * (cast_expression "(code *)PTR_statusline_0007757c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2,piVar20,uVar12)" ( number_literal , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(iVar10);" (call_expression "(*(code *)PTR_free_0007810c)(iVar10)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10)" ( identifier ))) ;) (goto_statement "goto LAB_0001f5d8;" goto statement_identifier ;) })) }) while (parenthesized_expression "(uVar23 < 0x2000)" ( (binary_expression "uVar23 < 0x2000" identifier < number_literal) )) ;) (expression_statement "(*(code *)PTR_close_00077eb0)(iVar9);" (call_expression "(*(code *)PTR_close_00077eb0)(iVar9)" (parenthesized_expression "(*(code *)PTR_close_00077eb0)" ( (pointer_expression "*(code *)PTR_close_00077eb0" * (cast_expression "(code *)PTR_close_00077eb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9)" ( identifier ))) ;) (labeled_statement "LAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;" statement_identifier : (expression_statement "puVar25 = PTR_DAT_0007754c;" (assignment_expression "puVar25 = PTR_DAT_0007754c" identifier = identifier) ;)) (expression_statement "(*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);" (call_expression "(*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10)" (parenthesized_expression "(*(code *)PTR_strncpy_00077fa0)" ( (pointer_expression "*(code *)PTR_strncpy_00077fa0" * (cast_expression "(code *)PTR_strncpy_00077fa0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10)" ( (binary_expression "PTR_DAT_0007754c + -0x7d50" identifier + number_literal) , (binary_expression "iVar10 + 2" identifier + number_literal) , number_literal ))) ;) (expression_statement "bVar1 = *(byte *)(iVar10 + 0x1b);" (assignment_expression "bVar1 = *(byte *)(iVar10 + 0x1b)" identifier = (pointer_expression "*(byte *)(iVar10 + 0x1b)" * (cast_expression "(byte *)(iVar10 + 0x1b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x1b)" ( (binary_expression "iVar10 + 0x1b" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = *(byte *)(iVar10 + 0x1a);" (assignment_expression "bVar2 = *(byte *)(iVar10 + 0x1a)" identifier = (pointer_expression "*(byte *)(iVar10 + 0x1a)" * (cast_expression "(byte *)(iVar10 + 0x1a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x1a)" ( (binary_expression "iVar10 + 0x1a" identifier + number_literal) ))))) ;) (expression_statement "bVar3 = *(byte *)(iVar10 + 0x19);" (assignment_expression "bVar3 = *(byte *)(iVar10 + 0x19)" identifier = (pointer_expression "*(byte *)(iVar10 + 0x19)" * (cast_expression "(byte *)(iVar10 + 0x19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x19)" ( (binary_expression "iVar10 + 0x19" identifier + number_literal) ))))) ;) (expression_statement "bVar4 = *(byte *)(iVar10 + 0x18);" (assignment_expression "bVar4 = *(byte *)(iVar10 + 0x18)" identifier = (pointer_expression "*(byte *)(iVar10 + 0x18)" * (cast_expression "(byte *)(iVar10 + 0x18)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);" (call_expression "(*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10)" (parenthesized_expression "(*(code *)PTR_strncpy_00077fa0)" ( (pointer_expression "*(code *)PTR_strncpy_00077fa0" * (cast_expression "(code *)PTR_strncpy_00077fa0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar25 + -0x7d64,iVar10 + 0x1c,0x10)" ( (binary_expression "puVar25 + -0x7d64" identifier + number_literal) , (binary_expression "iVar10 + 0x1c" identifier + number_literal) , number_literal ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(iVar10);" (call_expression "(*(code *)PTR_free_0007810c)(iVar10)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10)" ( identifier ))) ;) (expression_statement "uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);" (assignment_expression "uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb)" identifier = (call_expression "(*(code *)PTR_nmalloc_00077564)(0xb)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xb)" ( number_literal )))) ;) (expression_statement "(*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);" (call_expression "(*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_00077e90)" ( (pointer_expression "*(code *)PTR___sprintf_chk_00077e90" * (cast_expression "(code *)PTR___sprintf_chk_00077e90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4)" ( identifier , number_literal , number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xda0" identifier + number_literal) , (binary_expression "(((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4" (binary_expression "(((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100" (parenthesized_expression "(((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3)" ( (binary_expression "((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3" (binary_expression "((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100" (parenthesized_expression "((uint)bVar1 * 0x100 + (uint)bVar2)" ( (binary_expression "(uint)bVar1 * 0x100 + (uint)bVar2" (binary_expression "(uint)bVar1 * 0x100" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )) * number_literal) + (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) )) * number_literal) + (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) ;) (expression_statement "puVar5 = PTR_dcgettext_000780cc;" (assignment_expression "puVar5 = PTR_dcgettext_000780cc" identifier = identifier) ;) (expression_statement "puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;" (assignment_expression "puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c" identifier = (binary_expression "PTR_s_d_of_current_line_0007755c + -0xd9c" identifier + number_literal)) ;) (expression_statement "*PTR_as_an_at_000778ac = 0;" (assignment_expression "*PTR_as_an_at_000778ac = 0" (pointer_expression "*PTR_as_an_at_000778ac" * identifier) = number_literal) ;) (expression_statement "uVar14 = (*(code *)puVar5)(0,puVar22,5);" (assignment_expression "uVar14 = (*(code *)puVar5)(0,puVar22,5)" identifier = (call_expression "(*(code *)puVar5)(0,puVar22,5)" (parenthesized_expression "(*(code *)puVar5)" ( (pointer_expression "*(code *)puVar5" * (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar22,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "iVar21 = *(int *)PTR_COLS_00077fb4;" (assignment_expression "iVar21 = *(int *)PTR_COLS_00077fb4" identifier = (pointer_expression "*(int *)PTR_COLS_00077fb4" * (cast_expression "(int *)PTR_COLS_00077fb4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);" (assignment_expression "iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(uVar14)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);" (assignment_expression "iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar25 + -0x7d64)" ( (binary_expression "puVar25 + -0x7d64" identifier + number_literal) )))) ;) (expression_statement "iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);" (assignment_expression "iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar25 + -0x7d50)" ( (binary_expression "puVar25 + -0x7d50" identifier + number_literal) )))) ;) (expression_statement "iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);" (assignment_expression "iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(uVar13)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar13)" ( identifier )))) ;) (expression_statement "uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;" (assignment_expression "uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15" identifier = (binary_expression "(((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15" (parenthesized_expression "(((iVar21 + 7) - (iVar9 + iVar10)) - iVar11)" ( (binary_expression "((iVar21 + 7) - (iVar9 + iVar10)) - iVar11" (parenthesized_expression "((iVar21 + 7) - (iVar9 + iVar10))" ( (binary_expression "(iVar21 + 7) - (iVar9 + iVar10)" (parenthesized_expression "(iVar21 + 7)" ( (binary_expression "iVar21 + 7" identifier + number_literal) )) - (parenthesized_expression "(iVar9 + iVar10)" ( (binary_expression "iVar9 + iVar10" identifier + identifier) ))) )) - identifier) )) - identifier)) ;) (if_statement "if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }" if (parenthesized_expression "((int)uVar23 < 4)" ( (binary_expression "(int)uVar23 < 4" (cast_expression "(int)uVar23" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }" { (expression_statement "puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);" (assignment_expression "puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60)" identifier = (cast_expression "(undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" ( (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" * (cast_expression "(code *)PTR_mallocstrcpy_00077568" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xd60)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + -0xd60" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }" else (compound_statement "{\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }" { (expression_statement "uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);" (assignment_expression "uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(param_1)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }" if (parenthesized_expression "(uVar23 < uVar18)" ( (binary_expression "uVar23 < uVar18" identifier < identifier) )) (compound_statement "{\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }" { (expression_statement "iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);" (assignment_expression "iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1)" identifier = (call_expression "(*(code *)PTR_strlenpt_00077618)(param_1)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" ( (pointer_expression "*(code *)PTR_strlenpt_00077618" * (cast_expression "(code *)PTR_strlenpt_00077618" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);" (assignment_expression "uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0)" identifier = (call_expression "(*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0)" (parenthesized_expression "(*(code *)PTR_display_string_000778e0)" ( (pointer_expression "*(code *)PTR_display_string_000778e0" * (cast_expression "(code *)PTR_display_string_000778e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0)" ( identifier , (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19" (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15" (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11" (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10" (binary_expression "(iVar9 - (iVar21 + 7)) + 3" (parenthesized_expression "(iVar9 - (iVar21 + 7))" ( (binary_expression "iVar9 - (iVar21 + 7)" identifier - (parenthesized_expression "(iVar21 + 7)" ( (binary_expression "iVar21 + 7" identifier + number_literal) ))) )) + number_literal) + identifier) + identifier) + identifier) + identifier) , identifier , number_literal )))) ;) (expression_statement "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(uVar24)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar24)" ( identifier )))) ;) (expression_statement "puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);" (assignment_expression "puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_nmalloc_00077564)(iVar9 + 4)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9 + 4)" ( (binary_expression "iVar9 + 4" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = PTR_strcpy_0007805c;" (assignment_expression "puVar5 = PTR_strcpy_0007805c" identifier = identifier) ;) (expression_statement "*puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);" (assignment_expression "*puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c)" (pointer_expression "*puVar16" * identifier) = (pointer_expression "*(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c)" * (cast_expression "(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_d_of_current_line_0007755c + -0x125c)" ( (binary_expression "PTR_s_d_of_current_line_0007755c + -0x125c" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)puVar5)((int)puVar16 + 3,uVar24);" (call_expression "(*(code *)puVar5)((int)puVar16 + 3,uVar24)" (parenthesized_expression "(*(code *)puVar5)" ( (pointer_expression "*(code *)puVar5" * (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)puVar16 + 3,uVar24)" ( (binary_expression "(int)puVar16 + 3" (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar24);" (call_expression "(*(code *)PTR_free_0007810c)(uVar24)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar24)" ( identifier ))) ;) }) (else_clause "else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }" else (compound_statement "{\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }" { (expression_statement "puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);" (assignment_expression "puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0)" (parenthesized_expression "(*(code *)PTR_display_string_000778e0)" ( (pointer_expression "*(code *)PTR_display_string_000778e0" * (cast_expression "(code *)PTR_display_string_000778e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,uVar23,0)" ( identifier , number_literal , identifier , number_literal ))))) ;) }))) }))) (expression_statement "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(uVar14)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar14)" ( identifier )))) ;) (expression_statement "iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);" (assignment_expression "iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(puVar16)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar16)" ( identifier )))) ;) (expression_statement "piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);" (assignment_expression "piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d)" identifier = (cast_expression "(int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" ( (pointer_expression "*(code *)PTR_nmalloc_00077564" * (cast_expression "(code *)PTR_nmalloc_00077564" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar9 + iVar10 + 0x1d)" ( (binary_expression "iVar9 + iVar10 + 0x1d" (binary_expression "iVar9 + iVar10" identifier + identifier) + number_literal) ))))) ;) (expression_statement "(*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);" (call_expression "(*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_00077e90)" ( (pointer_expression "*(code *)PTR___sprintf_chk_00077e90" * (cast_expression "(code *)PTR___sprintf_chk_00077e90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13)" ( identifier , number_literal , number_literal , identifier , identifier , (binary_expression "puVar25 + -0x7d64" identifier + number_literal) , (binary_expression "puVar25 + -0x7d50" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(puVar16);" (call_expression "(*(code *)PTR_free_0007810c)(puVar16)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar16)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar13);" (call_expression "(*(code *)PTR_free_0007810c)(uVar13)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar13)" ( identifier ))) ;) (expression_statement "piVar20 = piVar17;" (assignment_expression "piVar20 = piVar17" identifier = identifier) ;) (expression_statement "iVar9 = do_yesno_prompt(0);" (assignment_expression "iVar9 = do_yesno_prompt(0)" identifier = (call_expression "do_yesno_prompt(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(piVar17);" (call_expression "(*(code *)PTR_free_0007810c)(piVar17)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar17)" ( identifier ))) ;) (if_statement "if (0 < iVar9) goto LAB_0001f45c;" if (parenthesized_expression "(0 < iVar9)" ( (binary_expression "0 < iVar9" number_literal < identifier) )) (goto_statement "goto LAB_0001f45c;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_wipe_statusbar_00077600)();" (call_expression "(*(code *)PTR_wipe_statusbar_00077600)()" (parenthesized_expression "(*(code *)PTR_wipe_statusbar_00077600)" ( (pointer_expression "*(code *)PTR_wipe_statusbar_00077600" * (cast_expression "(code *)PTR_wipe_statusbar_00077600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) (labeled_statement "LAB_0001f5d8:\n    iVar9 = -1;" statement_identifier : (expression_statement "iVar9 = -1;" (assignment_expression "iVar9 = -1" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_free_0007810c)(uVar7);" (call_expression "(*(code *)PTR_free_0007810c)(uVar7)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_0007810c)(uVar8);" (call_expression "(*(code *)PTR_free_0007810c)(uVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8)" ( identifier ))) ;) }))) (expression_statement "(*(code *)PTR_free_0007810c)(uVar12);" (call_expression "(*(code *)PTR_free_0007810c)(uVar12)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" ( (pointer_expression "*(code *)PTR_free_0007810c" * (cast_expression "(code *)PTR_free_0007810c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12)" ( identifier ))) ;) (labeled_statement "LAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar6)" ( (binary_expression "local_2c == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar9;\n  }" { (return_statement "return iVar9;" return identifier ;) }))) (expression_statement "iVar9 = local_2c;" (assignment_expression "iVar9 = local_2c" identifier = identifier) ;) (expression_statement "puVar25 = PTR___stack_chk_fail_000780c0;" (assignment_expression "puVar25 = PTR___stack_chk_fail_000780c0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" * (cast_expression "(code *)PTR___stack_chk_fail_000780c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar10 = *piVar20;" (assignment_expression "iVar10 = *piVar20" identifier = (pointer_expression "*piVar20" * identifier)) ;) (if_statement "if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }" { (expression_statement "iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);" (assignment_expression "iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9)" identifier = (call_expression "(**(code **)(puVar25 + 0x57e84))(0xa0,iVar9)" (parenthesized_expression "(**(code **)(puVar25 + 0x57e84))" ( (pointer_expression "**(code **)(puVar25 + 0x57e84)" * (pointer_expression "*(code **)(puVar25 + 0x57e84)" * (cast_expression "(code **)(puVar25 + 0x57e84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar25 + 0x57e84)" ( (binary_expression "puVar25 + 0x57e84" identifier + number_literal) ))))) )) (argument_list "(0xa0,iVar9)" ( number_literal , identifier )))) ;) (expression_statement "*piVar20 = iVar10;" (assignment_expression "*piVar20 = iVar10" (pointer_expression "*piVar20" * identifier) = identifier) ;) })) (expression_statement "iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);" (assignment_expression "iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10)" identifier = (call_expression "(**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10)" (parenthesized_expression "(**(code **)(puVar25 + 0x587ec))" ( (pointer_expression "**(code **)(puVar25 + 0x587ec)" * (pointer_expression "*(code **)(puVar25 + 0x587ec)" * (cast_expression "(code **)(puVar25 + 0x587ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar25 + 0x587ec)" ( (binary_expression "puVar25 + 0x587ec" identifier + number_literal) ))))) )) (argument_list "(3,iVar9,iVar10)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar9 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);" (assignment_expression "iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20)" identifier = (call_expression "(**(code **)(puVar25 + 0x58a2c))(*piVar20)" (parenthesized_expression "(**(code **)(puVar25 + 0x58a2c))" ( (pointer_expression "**(code **)(puVar25 + 0x58a2c)" * (pointer_expression "*(code **)(puVar25 + 0x58a2c)" * (cast_expression "(code **)(puVar25 + 0x58a2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar25 + 0x58a2c)" ( (binary_expression "puVar25 + 0x58a2c" identifier + number_literal) ))))) )) (argument_list "(*piVar20)" ( (pointer_expression "*piVar20" * identifier) )))) ;) (expression_statement "*piVar20 = 0;" (assignment_expression "*piVar20 = 0" (pointer_expression "*piVar20" * identifier) = number_literal) ;) (return_statement "return iVar9;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = 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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression 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 *)) ) IDENT)) )))) ;) (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 *)) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT + IDENT) + LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , LIT , (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (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) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + IDENT) , (binary_expression LIT - IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) }) while (parenthesized_expression ( (binary_expression IDENT < LIT) )) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression 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 = (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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) )) - IDENT) )) - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (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 (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - (parenthesized_expression ( (binary_expression IDENT + LIT) ))) )) + LIT) + IDENT) + IDENT) + IDENT) + 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 ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , LIT ))))) ;) }))) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , IDENT , IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 ( LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (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 ( LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return 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 ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int do_lockfile(int *param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  undefined4 uVar14;\n  int iVar15;\n  undefined4 *puVar16;\n  int *piVar17;\n  uint uVar18;\n  int iVar19;\n  int *piVar20;\n  int iVar21;\n  undefined *puVar22;\n  uint uVar23;\n  undefined4 uVar24;\n  undefined *puVar25;\n  undefined1 auStack_d0 [164];\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_000780f8;\n  puVar5 = PTR_locking_suffix_00077a14;\n  puVar25 = PTR_locking_prefix_00077a10;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);\n  iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);\n  iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);\n  iVar11 = iVar9 + iVar10 + 3 + iVar11;\n  uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);\n  uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);\n  uVar24 = *(undefined4 *)puVar25;\n  uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);\n  iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);\n  if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }\n  (*(code *)PTR_free_0007810c)(uVar12);\nLAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }\n  iVar9 = local_2c;\n  puVar25 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar10 = *piVar20;\n  if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);\n  if (iVar9 == 0) {\n    return 0;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);\n  *piVar20 = 0;\n  return iVar9;\n}" (primitive_type "int") (function_declarator "do_lockfile(int *param_1)" (identifier "do_lockfile") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  byte bVar3;\n  byte bVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 uVar13;\n  undefined4 uVar14;\n  int iVar15;\n  undefined4 *puVar16;\n  int *piVar17;\n  uint uVar18;\n  int iVar19;\n  int *piVar20;\n  int iVar21;\n  undefined *puVar22;\n  uint uVar23;\n  undefined4 uVar24;\n  undefined *puVar25;\n  undefined1 auStack_d0 [164];\n  int local_2c;\n  \n  puVar6 = PTR___stack_chk_guard_000780f8;\n  puVar5 = PTR_locking_suffix_00077a14;\n  puVar25 = PTR_locking_prefix_00077a10;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);\n  iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);\n  iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);\n  iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);\n  iVar11 = iVar9 + iVar10 + 3 + iVar11;\n  uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);\n  uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);\n  uVar24 = *(undefined4 *)puVar25;\n  uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);\n  (*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);\n  iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);\n  if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }\n  (*(code *)PTR_free_0007810c)(uVar12);\nLAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }\n  iVar9 = local_2c;\n  puVar25 = PTR___stack_chk_fail_000780c0;\n  (*(code *)PTR___stack_chk_fail_000780c0)();\n  iVar10 = *piVar20;\n  if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);\n  if (iVar9 == 0) {\n    return 0;\n  }\n  iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);\n  *piVar20 = 0;\n  return iVar9;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "undefined4 uVar12;" (type_identifier "undefined4") (identifier "uVar12") (; ";")) (declaration "undefined4 uVar13;" (type_identifier "undefined4") (identifier "uVar13") (; ";")) (declaration "undefined4 uVar14;" (type_identifier "undefined4") (identifier "uVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "undefined4 *puVar16;" (type_identifier "undefined4") (pointer_declarator "*puVar16" (* "*") (identifier "puVar16")) (; ";")) (declaration "int *piVar17;" (primitive_type "int") (pointer_declarator "*piVar17" (* "*") (identifier "piVar17")) (; ";")) (declaration "uint uVar18;" (type_identifier "uint") (identifier "uVar18") (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "int *piVar20;" (primitive_type "int") (pointer_declarator "*piVar20" (* "*") (identifier "piVar20")) (; ";")) (declaration "int iVar21;" (primitive_type "int") (identifier "iVar21") (; ";")) (declaration "undefined *puVar22;" (type_identifier "undefined") (pointer_declarator "*puVar22" (* "*") (identifier "puVar22")) (; ";")) (declaration "uint uVar23;" (type_identifier "uint") (identifier "uVar23") (; ";")) (declaration "undefined4 uVar24;" (type_identifier "undefined4") (identifier "uVar24") (; ";")) (declaration "undefined *puVar25;" (type_identifier "undefined") (pointer_declarator "*puVar25" (* "*") (identifier "puVar25")) (; ";")) (declaration "undefined1 auStack_d0 [164];" (type_identifier "undefined1") (array_declarator "auStack_d0 [164]" (identifier "auStack_d0") ([ "[") (number_literal "164") (] "]")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar6 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar6 = PTR___stack_chk_guard_000780f8" (identifier "puVar6") (= "=") (identifier "PTR___stack_chk_guard_000780f8")) (; ";")) (expression_statement "puVar5 = PTR_locking_suffix_00077a14;" (assignment_expression "puVar5 = PTR_locking_suffix_00077a14" (identifier "puVar5") (= "=") (identifier "PTR_locking_suffix_00077a14")) (; ";")) (expression_statement "puVar25 = PTR_locking_prefix_00077a10;" (assignment_expression "puVar25 = PTR_locking_prefix_00077a10" (identifier "puVar25") (= "=") (identifier "PTR_locking_prefix_00077a10")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000780f8" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000780f8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000780f8")))) (; ";")) (expression_statement "uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);" (assignment_expression "uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" (( "(") (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" (* "*") (cast_expression "(code *)PTR_mallocstrcpy_00077568" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mallocstrcpy_00077568"))) () ")")) (argument_list "(0,param_1)" (( "(") (number_literal "0") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);" (assignment_expression "uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" (identifier "uVar8") (= "=") (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,param_1)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" (( "(") (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" (* "*") (cast_expression "(code *)PTR_mallocstrcpy_00077568" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mallocstrcpy_00077568"))) () ")")) (argument_list "(0,param_1)" (( "(") (number_literal "0") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strlen_00077ff8)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" (( "(") (pointer_expression "*(code *)PTR_strlen_00077ff8" (* "*") (cast_expression "(code *)PTR_strlen_00077ff8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00077ff8"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);" (assignment_expression "iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25)" (identifier "iVar10") (= "=") (call_expression "(*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" (( "(") (pointer_expression "*(code *)PTR_strlen_00077ff8" (* "*") (cast_expression "(code *)PTR_strlen_00077ff8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00077ff8"))) () ")")) (argument_list "(*(undefined4 *)puVar25)" (( "(") (pointer_expression "*(undefined4 *)puVar25" (* "*") (cast_expression "(undefined4 *)puVar25" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar25"))) () ")")))) (; ";")) (expression_statement "iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);" (assignment_expression "iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" (( "(") (pointer_expression "*(code *)PTR_strlen_00077ff8" (* "*") (cast_expression "(code *)PTR_strlen_00077ff8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00077ff8"))) () ")")) (argument_list "(*(undefined4 *)puVar5)" (( "(") (pointer_expression "*(undefined4 *)puVar5" (* "*") (cast_expression "(undefined4 *)puVar5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) () ")")))) (; ";")) (expression_statement "iVar11 = iVar9 + iVar10 + 3 + iVar11;" (assignment_expression "iVar11 = iVar9 + iVar10 + 3 + iVar11" (identifier "iVar11") (= "=") (binary_expression "iVar9 + iVar10 + 3 + iVar11" (binary_expression "iVar9 + iVar10 + 3" (binary_expression "iVar9 + iVar10" (identifier "iVar9") (+ "+") (identifier "iVar10")) (+ "+") (number_literal "3")) (+ "+") (identifier "iVar11"))) (; ";")) (expression_statement "uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);" (assignment_expression "uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_nmalloc_00077564)(iVar11)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" (( "(") (pointer_expression "*(code *)PTR_nmalloc_00077564" (* "*") (cast_expression "(code *)PTR_nmalloc_00077564" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_nmalloc_00077564"))) () ")")) (argument_list "(iVar11)" (( "(") (identifier "iVar11") () ")")))) (; ";")) (expression_statement "uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);" (assignment_expression "uVar13 = (*(code *)PTR_dirname_00078024)(uVar7)" (identifier "uVar13") (= "=") (call_expression "(*(code *)PTR_dirname_00078024)(uVar7)" (parenthesized_expression "(*(code *)PTR_dirname_00078024)" (( "(") (pointer_expression "*(code *)PTR_dirname_00078024" (* "*") (cast_expression "(code *)PTR_dirname_00078024" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dirname_00078024"))) () ")")) (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "uVar24 = *(undefined4 *)puVar25;" (assignment_expression "uVar24 = *(undefined4 *)puVar25" (identifier "uVar24") (= "=") (pointer_expression "*(undefined4 *)puVar25" (* "*") (cast_expression "(undefined4 *)puVar25" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar25")))) (; ";")) (expression_statement "uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);" (assignment_expression "uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8)" (identifier "uVar14") (= "=") (call_expression "(*(code *)PTR___xpg_basename_00077f98)(uVar8)" (parenthesized_expression "(*(code *)PTR___xpg_basename_00077f98)" (( "(") (pointer_expression "*(code *)PTR___xpg_basename_00077f98" (* "*") (cast_expression "(code *)PTR___xpg_basename_00077f98" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___xpg_basename_00077f98"))) () ")")) (argument_list "(uVar8)" (( "(") (identifier "uVar8") () ")")))) (; ";")) (expression_statement "(*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5);" (call_expression "(*(code *)PTR___snprintf_chk_00078164)\n            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_00078164)" (( "(") (pointer_expression "*(code *)PTR___snprintf_chk_00078164" (* "*") (cast_expression "(code *)PTR___snprintf_chk_00078164" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___snprintf_chk_00078164"))) () ")")) (argument_list "(uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,\n             uVar14,*(undefined4 *)puVar5)" (( "(") (identifier "uVar12") (, ",") (identifier "iVar11") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (binary_expression "PTR_s_d_of_current_line_0007755c + -0xe00" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "-0xe00")) (, ",") (identifier "uVar13") (, ",") (identifier "uVar24") (, ",") (identifier "uVar14") (, ",") (pointer_expression "*(undefined4 *)puVar5" (* "*") (cast_expression "(undefined4 *)puVar5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) () ")"))) (; ";")) (expression_statement "iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);" (assignment_expression "iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0)" (parenthesized_expression "(*(code *)PTR___xstat64_00077ecc)" (( "(") (pointer_expression "*(code *)PTR___xstat64_00077ecc" (* "*") (cast_expression "(code *)PTR___xstat64_00077ecc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___xstat64_00077ecc"))) () ")")) (argument_list "(3,uVar12,auStack_d0)" (( "(") (number_literal "3") (, ",") (identifier "uVar12") (, ",") (identifier "auStack_d0") () ")")))) (; ";")) (if_statement "if (iVar9 == -1) {\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }\n  else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\nLAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n    piVar20 = param_1;\n    if (0 < iVar9) goto LAB_0001f49c;\n  }" ({ "{") (labeled_statement "LAB_0001f45c:\n    iVar9 = write_lockfile(uVar12,param_1,0);" (statement_identifier "LAB_0001f45c") (: ":") (expression_statement "iVar9 = write_lockfile(uVar12,param_1,0);" (assignment_expression "iVar9 = write_lockfile(uVar12,param_1,0)" (identifier "iVar9") (= "=") (call_expression "write_lockfile(uVar12,param_1,0)" (identifier "write_lockfile") (argument_list "(uVar12,param_1,0)" (( "(") (identifier "uVar12") (, ",") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";"))) (expression_statement "(*(code *)PTR_free_0007810c)(uVar7);" (call_expression "(*(code *)PTR_free_0007810c)(uVar7)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0007810c)(uVar8);" (call_expression "(*(code *)PTR_free_0007810c)(uVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(uVar8)" (( "(") (identifier "uVar8") () ")"))) (; ";")) (expression_statement "piVar20 = param_1;" (assignment_expression "piVar20 = param_1" (identifier "piVar20") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (0 < iVar9) goto LAB_0001f49c;" (if "if") (parenthesized_expression "(0 < iVar9)" (( "(") (binary_expression "0 < iVar9" (number_literal "0") (< "<") (identifier "iVar9")) () ")")) (goto_statement "goto LAB_0001f49c;" (goto "goto") (statement_identifier "LAB_0001f49c") (; ";"))) (} "}")) (else_clause "else {\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }" (else "else") (compound_statement "{\n    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);\n    if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }\nLAB_0001f5d8:\n    iVar9 = -1;\n    (*(code *)PTR_free_0007810c)(uVar7);\n    (*(code *)PTR_free_0007810c)(uVar8);\n  }" ({ "{") (expression_statement "iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);" (assignment_expression "iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_open64_00077fec)(uVar12,0)" (parenthesized_expression "(*(code *)PTR_open64_00077fec)" (( "(") (pointer_expression "*(code *)PTR_open64_00077fec" (* "*") (cast_expression "(code *)PTR_open64_00077fec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_open64_00077fec"))) () ")")) (argument_list "(uVar12,0)" (( "(") (identifier "uVar12") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar9 < 0) {\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }\n    else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }" (if "if") (parenthesized_expression "(iVar9 < 0)" (( "(") (binary_expression "iVar9 < 0" (identifier "iVar9") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);\n      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();\n      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);\n      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);\n    }" ({ "{") (expression_statement "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);" (assignment_expression "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" (identifier "piVar20") (= "=") (cast_expression "(int *)(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_dcgettext_000780cc)\n                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000780cc" (* "*") (cast_expression "(code *)PTR_dcgettext_000780cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000780cc"))) () ")")) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xdf4,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_d_of_current_line_0007755c + -0xdf4" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "-0xdf4")) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();" (assignment_expression "puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)()" (identifier "puVar16") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00077fb0)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_00077fb0)()" (parenthesized_expression "(*(code *)PTR___errno_location_00077fb0)" (( "(") (pointer_expression "*(code *)PTR___errno_location_00077fb0" (* "*") (cast_expression "(code *)PTR___errno_location_00077fb0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_00077fb0"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);" (assignment_expression "uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16)" (identifier "uVar13") (= "=") (call_expression "(*(code *)PTR_strerror_00078028)(*puVar16)" (parenthesized_expression "(*(code *)PTR_strerror_00078028)" (( "(") (pointer_expression "*(code *)PTR_strerror_00078028" (* "*") (cast_expression "(code *)PTR_strerror_00078028" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strerror_00078028"))) () ")")) (argument_list "(*puVar16)" (( "(") (pointer_expression "*puVar16" (* "*") (identifier "puVar16")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);" (call_expression "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13)" (parenthesized_expression "(*(code *)PTR_statusline_0007757c)" (( "(") (pointer_expression "*(code *)PTR_statusline_0007757c" (* "*") (cast_expression "(code *)PTR_statusline_0007757c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_statusline_0007757c"))) () ")")) (argument_list "(2,piVar20,uVar12,uVar13)" (( "(") (number_literal "2") (, ",") (identifier "piVar20") (, ",") (identifier "uVar12") (, ",") (identifier "uVar13") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }" (else "else") (compound_statement "{\n      uVar23 = 0;\n      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);\n      do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);\n      (*(code *)PTR_close_00077eb0)(iVar9);\nLAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;\n      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);\n      bVar1 = *(byte *)(iVar10 + 0x1b);\n      bVar2 = *(byte *)(iVar10 + 0x1a);\n      bVar3 = *(byte *)(iVar10 + 0x19);\n      bVar4 = *(byte *)(iVar10 + 0x18);\n      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);\n      (*(code *)PTR_free_0007810c)(iVar10);\n      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);\n      puVar5 = PTR_dcgettext_000780cc;\n      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;\n      *PTR_as_an_at_000778ac = 0;\n      uVar14 = (*(code *)puVar5)(0,puVar22,5);\n      iVar21 = *(int *)PTR_COLS_00077fb4;\n      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);\n      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);\n      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);\n      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);\n      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;\n      if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }\n      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);\n      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);\n      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);\n      (*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);\n      (*(code *)PTR_free_0007810c)(puVar16);\n      (*(code *)PTR_free_0007810c)(uVar13);\n      piVar20 = piVar17;\n      iVar9 = do_yesno_prompt(0);\n      (*(code *)PTR_free_0007810c)(piVar17);\n      if (0 < iVar9) goto LAB_0001f45c;\n      (*(code *)PTR_wipe_statusbar_00077600)();\n    }" ({ "{") (expression_statement "uVar23 = 0;" (assignment_expression "uVar23 = 0" (identifier "uVar23") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);" (assignment_expression "iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000)" (identifier "iVar10") (= "=") (call_expression "(*(code *)PTR_nmalloc_00077564)(0x2000)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" (( "(") (pointer_expression "*(code *)PTR_nmalloc_00077564" (* "*") (cast_expression "(code *)PTR_nmalloc_00077564" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_nmalloc_00077564"))) () ")")) (argument_list "(0x2000)" (( "(") (number_literal "0x2000") () ")")))) (; ";")) (do_statement "do {\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      } while (uVar23 < 0x2000);" (do "do") (compound_statement "{\n        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);\n        uVar23 = uVar23 + iVar11;\n        if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }\n      }" ({ "{") (expression_statement "iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);" (assignment_expression "iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23)" (parenthesized_expression "(*(code *)PTR_read_00078140)" (( "(") (pointer_expression "*(code *)PTR_read_00078140" (* "*") (cast_expression "(code *)PTR_read_00078140" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_read_00078140"))) () ")")) (argument_list "(iVar9,iVar10 + uVar23,0x2000 - uVar23)" (( "(") (identifier "iVar9") (, ",") (binary_expression "iVar10 + uVar23" (identifier "iVar10") (+ "+") (identifier "uVar23")) (, ",") (binary_expression "0x2000 - uVar23" (number_literal "0x2000") (- "-") (identifier "uVar23")) () ")")))) (; ";")) (expression_statement "uVar23 = uVar23 + iVar11;" (assignment_expression "uVar23 = uVar23 + iVar11" (identifier "uVar23") (= "=") (binary_expression "uVar23 + iVar11" (identifier "uVar23") (+ "+") (identifier "iVar11"))) (; ";")) (if_statement "if (iVar11 == 0) {\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_close_00077eb0)(iVar9);\n          if (0x2f < uVar23) goto LAB_0001f210;\n          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);\n          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);\n          (*(code *)PTR_free_0007810c)(iVar10);\n          goto LAB_0001f5d8;\n        }" ({ "{") (expression_statement "(*(code *)PTR_close_00077eb0)(iVar9);" (call_expression "(*(code *)PTR_close_00077eb0)(iVar9)" (parenthesized_expression "(*(code *)PTR_close_00077eb0)" (( "(") (pointer_expression "*(code *)PTR_close_00077eb0" (* "*") (cast_expression "(code *)PTR_close_00077eb0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_00077eb0"))) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (if_statement "if (0x2f < uVar23) goto LAB_0001f210;" (if "if") (parenthesized_expression "(0x2f < uVar23)" (( "(") (binary_expression "0x2f < uVar23" (number_literal "0x2f") (< "<") (identifier "uVar23")) () ")")) (goto_statement "goto LAB_0001f210;" (goto "goto") (statement_identifier "LAB_0001f210") (; ";"))) (expression_statement "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);" (assignment_expression "piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" (identifier "piVar20") (= "=") (cast_expression "(int *)(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_dcgettext_000780cc)\n                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000780cc" (* "*") (cast_expression "(code *)PTR_dcgettext_000780cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000780cc"))) () ")")) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xdd4,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_d_of_current_line_0007755c + -0xdd4" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "-0xdd4")) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);" (call_expression "(*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12)" (parenthesized_expression "(*(code *)PTR_statusline_0007757c)" (( "(") (pointer_expression "*(code *)PTR_statusline_0007757c" (* "*") (cast_expression "(code *)PTR_statusline_0007757c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_statusline_0007757c"))) () ")")) (argument_list "(2,piVar20,uVar12)" (( "(") (number_literal "2") (, ",") (identifier "piVar20") (, ",") (identifier "uVar12") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0007810c)(iVar10);" (call_expression "(*(code *)PTR_free_0007810c)(iVar10)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(iVar10)" (( "(") (identifier "iVar10") () ")"))) (; ";")) (goto_statement "goto LAB_0001f5d8;" (goto "goto") (statement_identifier "LAB_0001f5d8") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(uVar23 < 0x2000)" (( "(") (binary_expression "uVar23 < 0x2000" (identifier "uVar23") (< "<") (number_literal "0x2000")) () ")")) (; ";")) (expression_statement "(*(code *)PTR_close_00077eb0)(iVar9);" (call_expression "(*(code *)PTR_close_00077eb0)(iVar9)" (parenthesized_expression "(*(code *)PTR_close_00077eb0)" (( "(") (pointer_expression "*(code *)PTR_close_00077eb0" (* "*") (cast_expression "(code *)PTR_close_00077eb0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_00077eb0"))) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (labeled_statement "LAB_0001f210:\n      puVar25 = PTR_DAT_0007754c;" (statement_identifier "LAB_0001f210") (: ":") (expression_statement "puVar25 = PTR_DAT_0007754c;" (assignment_expression "puVar25 = PTR_DAT_0007754c" (identifier "puVar25") (= "=") (identifier "PTR_DAT_0007754c")) (; ";"))) (expression_statement "(*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);" (call_expression "(*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10)" (parenthesized_expression "(*(code *)PTR_strncpy_00077fa0)" (( "(") (pointer_expression "*(code *)PTR_strncpy_00077fa0" (* "*") (cast_expression "(code *)PTR_strncpy_00077fa0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncpy_00077fa0"))) () ")")) (argument_list "(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10)" (( "(") (binary_expression "PTR_DAT_0007754c + -0x7d50" (identifier "PTR_DAT_0007754c") (+ "+") (number_literal "-0x7d50")) (, ",") (binary_expression "iVar10 + 2" (identifier "iVar10") (+ "+") (number_literal "2")) (, ",") (number_literal "10") () ")"))) (; ";")) (expression_statement "bVar1 = *(byte *)(iVar10 + 0x1b);" (assignment_expression "bVar1 = *(byte *)(iVar10 + 0x1b)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(iVar10 + 0x1b)" (* "*") (cast_expression "(byte *)(iVar10 + 0x1b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x1b)" (( "(") (binary_expression "iVar10 + 0x1b" (identifier "iVar10") (+ "+") (number_literal "0x1b")) () ")"))))) (; ";")) (expression_statement "bVar2 = *(byte *)(iVar10 + 0x1a);" (assignment_expression "bVar2 = *(byte *)(iVar10 + 0x1a)" (identifier "bVar2") (= "=") (pointer_expression "*(byte *)(iVar10 + 0x1a)" (* "*") (cast_expression "(byte *)(iVar10 + 0x1a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x1a)" (( "(") (binary_expression "iVar10 + 0x1a" (identifier "iVar10") (+ "+") (number_literal "0x1a")) () ")"))))) (; ";")) (expression_statement "bVar3 = *(byte *)(iVar10 + 0x19);" (assignment_expression "bVar3 = *(byte *)(iVar10 + 0x19)" (identifier "bVar3") (= "=") (pointer_expression "*(byte *)(iVar10 + 0x19)" (* "*") (cast_expression "(byte *)(iVar10 + 0x19)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x19)" (( "(") (binary_expression "iVar10 + 0x19" (identifier "iVar10") (+ "+") (number_literal "0x19")) () ")"))))) (; ";")) (expression_statement "bVar4 = *(byte *)(iVar10 + 0x18);" (assignment_expression "bVar4 = *(byte *)(iVar10 + 0x18)" (identifier "bVar4") (= "=") (pointer_expression "*(byte *)(iVar10 + 0x18)" (* "*") (cast_expression "(byte *)(iVar10 + 0x18)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x18)" (( "(") (binary_expression "iVar10 + 0x18" (identifier "iVar10") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);" (call_expression "(*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10)" (parenthesized_expression "(*(code *)PTR_strncpy_00077fa0)" (( "(") (pointer_expression "*(code *)PTR_strncpy_00077fa0" (* "*") (cast_expression "(code *)PTR_strncpy_00077fa0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncpy_00077fa0"))) () ")")) (argument_list "(puVar25 + -0x7d64,iVar10 + 0x1c,0x10)" (( "(") (binary_expression "puVar25 + -0x7d64" (identifier "puVar25") (+ "+") (number_literal "-0x7d64")) (, ",") (binary_expression "iVar10 + 0x1c" (identifier "iVar10") (+ "+") (number_literal "0x1c")) (, ",") (number_literal "0x10") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0007810c)(iVar10);" (call_expression "(*(code *)PTR_free_0007810c)(iVar10)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(iVar10)" (( "(") (identifier "iVar10") () ")"))) (; ";")) (expression_statement "uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);" (assignment_expression "uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb)" (identifier "uVar13") (= "=") (call_expression "(*(code *)PTR_nmalloc_00077564)(0xb)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" (( "(") (pointer_expression "*(code *)PTR_nmalloc_00077564" (* "*") (cast_expression "(code *)PTR_nmalloc_00077564" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_nmalloc_00077564"))) () ")")) (argument_list "(0xb)" (( "(") (number_literal "0xb") () ")")))) (; ";")) (expression_statement "(*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);" (call_expression "(*(code *)PTR___sprintf_chk_00077e90)\n                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_00077e90)" (( "(") (pointer_expression "*(code *)PTR___sprintf_chk_00077e90" (* "*") (cast_expression "(code *)PTR___sprintf_chk_00077e90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___sprintf_chk_00077e90"))) () ")")) (argument_list "(uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,\n                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4)" (( "(") (identifier "uVar13") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (binary_expression "PTR_s_d_of_current_line_0007755c + -0xda0" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "-0xda0")) (, ",") (binary_expression "(((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4" (binary_expression "(((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100" (parenthesized_expression "(((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3)" (( "(") (binary_expression "((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3" (binary_expression "((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100" (parenthesized_expression "((uint)bVar1 * 0x100 + (uint)bVar2)" (( "(") (binary_expression "(uint)bVar1 * 0x100 + (uint)bVar2" (binary_expression "(uint)bVar1 * 0x100" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "0x100")) (+ "+") (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2"))) () ")")) (* "*") (number_literal "0x100")) (+ "+") (cast_expression "(uint)bVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar3"))) () ")")) (* "*") (number_literal "0x100")) (+ "+") (cast_expression "(uint)bVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar4"))) () ")"))) (; ";")) (expression_statement "puVar5 = PTR_dcgettext_000780cc;" (assignment_expression "puVar5 = PTR_dcgettext_000780cc" (identifier "puVar5") (= "=") (identifier "PTR_dcgettext_000780cc")) (; ";")) (expression_statement "puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;" (assignment_expression "puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c" (identifier "puVar22") (= "=") (binary_expression "PTR_s_d_of_current_line_0007755c + -0xd9c" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "-0xd9c"))) (; ";")) (expression_statement "*PTR_as_an_at_000778ac = 0;" (assignment_expression "*PTR_as_an_at_000778ac = 0" (pointer_expression "*PTR_as_an_at_000778ac" (* "*") (identifier "PTR_as_an_at_000778ac")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar14 = (*(code *)puVar5)(0,puVar22,5);" (assignment_expression "uVar14 = (*(code *)puVar5)(0,puVar22,5)" (identifier "uVar14") (= "=") (call_expression "(*(code *)puVar5)(0,puVar22,5)" (parenthesized_expression "(*(code *)puVar5)" (( "(") (pointer_expression "*(code *)puVar5" (* "*") (cast_expression "(code *)puVar5" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) () ")")) (argument_list "(0,puVar22,5)" (( "(") (number_literal "0") (, ",") (identifier "puVar22") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "iVar21 = *(int *)PTR_COLS_00077fb4;" (assignment_expression "iVar21 = *(int *)PTR_COLS_00077fb4" (identifier "iVar21") (= "=") (pointer_expression "*(int *)PTR_COLS_00077fb4" (* "*") (cast_expression "(int *)PTR_COLS_00077fb4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_COLS_00077fb4")))) (; ";")) (expression_statement "iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);" (assignment_expression "iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strlenpt_00077618)(uVar14)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" (( "(") (pointer_expression "*(code *)PTR_strlenpt_00077618" (* "*") (cast_expression "(code *)PTR_strlenpt_00077618" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlenpt_00077618"))) () ")")) (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";")) (expression_statement "iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);" (assignment_expression "iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64)" (identifier "iVar10") (= "=") (call_expression "(*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" (( "(") (pointer_expression "*(code *)PTR_strlenpt_00077618" (* "*") (cast_expression "(code *)PTR_strlenpt_00077618" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlenpt_00077618"))) () ")")) (argument_list "(puVar25 + -0x7d64)" (( "(") (binary_expression "puVar25 + -0x7d64" (identifier "puVar25") (+ "+") (number_literal "-0x7d64")) () ")")))) (; ";")) (expression_statement "iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);" (assignment_expression "iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" (( "(") (pointer_expression "*(code *)PTR_strlenpt_00077618" (* "*") (cast_expression "(code *)PTR_strlenpt_00077618" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlenpt_00077618"))) () ")")) (argument_list "(puVar25 + -0x7d50)" (( "(") (binary_expression "puVar25 + -0x7d50" (identifier "puVar25") (+ "+") (number_literal "-0x7d50")) () ")")))) (; ";")) (expression_statement "iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);" (assignment_expression "iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13)" (identifier "iVar15") (= "=") (call_expression "(*(code *)PTR_strlenpt_00077618)(uVar13)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" (( "(") (pointer_expression "*(code *)PTR_strlenpt_00077618" (* "*") (cast_expression "(code *)PTR_strlenpt_00077618" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlenpt_00077618"))) () ")")) (argument_list "(uVar13)" (( "(") (identifier "uVar13") () ")")))) (; ";")) (expression_statement "uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;" (assignment_expression "uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15" (identifier "uVar23") (= "=") (binary_expression "(((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15" (parenthesized_expression "(((iVar21 + 7) - (iVar9 + iVar10)) - iVar11)" (( "(") (binary_expression "((iVar21 + 7) - (iVar9 + iVar10)) - iVar11" (parenthesized_expression "((iVar21 + 7) - (iVar9 + iVar10))" (( "(") (binary_expression "(iVar21 + 7) - (iVar9 + iVar10)" (parenthesized_expression "(iVar21 + 7)" (( "(") (binary_expression "iVar21 + 7" (identifier "iVar21") (+ "+") (number_literal "7")) () ")")) (- "-") (parenthesized_expression "(iVar9 + iVar10)" (( "(") (binary_expression "iVar9 + iVar10" (identifier "iVar9") (+ "+") (identifier "iVar10")) () ")"))) () ")")) (- "-") (identifier "iVar11")) () ")")) (- "-") (identifier "iVar15"))) (; ";")) (if_statement "if ((int)uVar23 < 4) {\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }\n      else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }" (if "if") (parenthesized_expression "((int)uVar23 < 4)" (( "(") (binary_expression "(int)uVar23 < 4" (cast_expression "(int)uVar23" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar23")) (< "<") (number_literal "4")) () ")")) (compound_statement "{\n        puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);\n      }" ({ "{") (expression_statement "puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);" (assignment_expression "puVar16 = (undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60)" (identifier "puVar16") (= "=") (cast_expression "(undefined4 *)\n                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60)" (parenthesized_expression "(*(code *)PTR_mallocstrcpy_00077568)" (( "(") (pointer_expression "*(code *)PTR_mallocstrcpy_00077568" (* "*") (cast_expression "(code *)PTR_mallocstrcpy_00077568" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mallocstrcpy_00077568"))) () ")")) (argument_list "(0,PTR_s_d_of_current_line_0007755c + -0xd60)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_d_of_current_line_0007755c + -0xd60" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "-0xd60")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }" (else "else") (compound_statement "{\n        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);\n        if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }\n      }" ({ "{") (expression_statement "uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);" (assignment_expression "uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1)" (identifier "uVar18") (= "=") (call_expression "(*(code *)PTR_strlenpt_00077618)(param_1)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" (( "(") (pointer_expression "*(code *)PTR_strlenpt_00077618" (* "*") (cast_expression "(code *)PTR_strlenpt_00077618" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlenpt_00077618"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (uVar23 < uVar18) {\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }\n        else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }" (if "if") (parenthesized_expression "(uVar23 < uVar18)" (( "(") (binary_expression "uVar23 < uVar18" (identifier "uVar23") (< "<") (identifier "uVar18")) () ")")) (compound_statement "{\n          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);\n          uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);\n          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);\n          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);\n          puVar5 = PTR_strcpy_0007805c;\n          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);\n          (*(code *)puVar5)((int)puVar16 + 3,uVar24);\n          (*(code *)PTR_free_0007810c)(uVar24);\n        }" ({ "{") (expression_statement "iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);" (assignment_expression "iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1)" (identifier "iVar19") (= "=") (call_expression "(*(code *)PTR_strlenpt_00077618)(param_1)" (parenthesized_expression "(*(code *)PTR_strlenpt_00077618)" (( "(") (pointer_expression "*(code *)PTR_strlenpt_00077618" (* "*") (cast_expression "(code *)PTR_strlenpt_00077618" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlenpt_00077618"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0);" (assignment_expression "uVar24 = (*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0)" (identifier "uVar24") (= "=") (call_expression "(*(code *)PTR_display_string_000778e0)\n                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0)" (parenthesized_expression "(*(code *)PTR_display_string_000778e0)" (( "(") (pointer_expression "*(code *)PTR_display_string_000778e0" (* "*") (cast_expression "(code *)PTR_display_string_000778e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_display_string_000778e0"))) () ")")) (argument_list "(param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19\n                              ,uVar23,0)" (( "(") (identifier "param_1") (, ",") (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19" (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15" (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11" (binary_expression "(iVar9 - (iVar21 + 7)) + 3 + iVar10" (binary_expression "(iVar9 - (iVar21 + 7)) + 3" (parenthesized_expression "(iVar9 - (iVar21 + 7))" (( "(") (binary_expression "iVar9 - (iVar21 + 7)" (identifier "iVar9") (- "-") (parenthesized_expression "(iVar21 + 7)" (( "(") (binary_expression "iVar21 + 7" (identifier "iVar21") (+ "+") (number_literal "7")) () ")"))) () ")")) (+ "+") (number_literal "3")) (+ "+") (identifier "iVar10")) (+ "+") (identifier "iVar11")) (+ "+") (identifier "iVar15")) (+ "+") (identifier "iVar19")) (, ",") (identifier "uVar23") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strlen_00077ff8)(uVar24)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" (( "(") (pointer_expression "*(code *)PTR_strlen_00077ff8" (* "*") (cast_expression "(code *)PTR_strlen_00077ff8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00077ff8"))) () ")")) (argument_list "(uVar24)" (( "(") (identifier "uVar24") () ")")))) (; ";")) (expression_statement "puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);" (assignment_expression "puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4)" (identifier "puVar16") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_nmalloc_00077564)(iVar9 + 4)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" (( "(") (pointer_expression "*(code *)PTR_nmalloc_00077564" (* "*") (cast_expression "(code *)PTR_nmalloc_00077564" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_nmalloc_00077564"))) () ")")) (argument_list "(iVar9 + 4)" (( "(") (binary_expression "iVar9 + 4" (identifier "iVar9") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "puVar5 = PTR_strcpy_0007805c;" (assignment_expression "puVar5 = PTR_strcpy_0007805c" (identifier "puVar5") (= "=") (identifier "PTR_strcpy_0007805c")) (; ";")) (expression_statement "*puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);" (assignment_expression "*puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c)" (pointer_expression "*puVar16" (* "*") (identifier "puVar16")) (= "=") (pointer_expression "*(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c)" (* "*") (cast_expression "(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_d_of_current_line_0007755c + -0x125c)" (( "(") (binary_expression "PTR_s_d_of_current_line_0007755c + -0x125c" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "-0x125c")) () ")"))))) (; ";")) (expression_statement "(*(code *)puVar5)((int)puVar16 + 3,uVar24);" (call_expression "(*(code *)puVar5)((int)puVar16 + 3,uVar24)" (parenthesized_expression "(*(code *)puVar5)" (( "(") (pointer_expression "*(code *)puVar5" (* "*") (cast_expression "(code *)puVar5" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) () ")")) (argument_list "((int)puVar16 + 3,uVar24)" (( "(") (binary_expression "(int)puVar16 + 3" (cast_expression "(int)puVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar16")) (+ "+") (number_literal "3")) (, ",") (identifier "uVar24") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0007810c)(uVar24);" (call_expression "(*(code *)PTR_free_0007810c)(uVar24)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(uVar24)" (( "(") (identifier "uVar24") () ")"))) (; ";")) (} "}")) (else_clause "else {\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }" (else "else") (compound_statement "{\n          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);\n        }" ({ "{") (expression_statement "puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);" (assignment_expression "puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0)" (identifier "puVar16") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0)" (parenthesized_expression "(*(code *)PTR_display_string_000778e0)" (( "(") (pointer_expression "*(code *)PTR_display_string_000778e0" (* "*") (cast_expression "(code *)PTR_display_string_000778e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_display_string_000778e0"))) () ")")) (argument_list "(param_1,0,uVar23,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (identifier "uVar23") (, ",") (number_literal "0") () ")"))))) (; ";")) (} "}")))) (} "}")))) (expression_statement "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strlen_00077ff8)(uVar14)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" (( "(") (pointer_expression "*(code *)PTR_strlen_00077ff8" (* "*") (cast_expression "(code *)PTR_strlen_00077ff8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00077ff8"))) () ")")) (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")")))) (; ";")) (expression_statement "iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);" (assignment_expression "iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16)" (identifier "iVar10") (= "=") (call_expression "(*(code *)PTR_strlen_00077ff8)(puVar16)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" (( "(") (pointer_expression "*(code *)PTR_strlen_00077ff8" (* "*") (cast_expression "(code *)PTR_strlen_00077ff8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00077ff8"))) () ")")) (argument_list "(puVar16)" (( "(") (identifier "puVar16") () ")")))) (; ";")) (expression_statement "piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);" (assignment_expression "piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d)" (identifier "piVar17") (= "=") (cast_expression "(int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d)" (parenthesized_expression "(*(code *)PTR_nmalloc_00077564)" (( "(") (pointer_expression "*(code *)PTR_nmalloc_00077564" (* "*") (cast_expression "(code *)PTR_nmalloc_00077564" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_nmalloc_00077564"))) () ")")) (argument_list "(iVar9 + iVar10 + 0x1d)" (( "(") (binary_expression "iVar9 + iVar10 + 0x1d" (binary_expression "iVar9 + iVar10" (identifier "iVar9") (+ "+") (identifier "iVar10")) (+ "+") (number_literal "0x1d")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);" (call_expression "(*(code *)PTR___sprintf_chk_00077e90)\n                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_00077e90)" (( "(") (pointer_expression "*(code *)PTR___sprintf_chk_00077e90" (* "*") (cast_expression "(code *)PTR___sprintf_chk_00077e90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___sprintf_chk_00077e90"))) () ")")) (argument_list "(piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13)" (( "(") (identifier "piVar17") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (identifier "uVar14") (, ",") (identifier "puVar16") (, ",") (binary_expression "puVar25 + -0x7d64" (identifier "puVar25") (+ "+") (number_literal "-0x7d64")) (, ",") (binary_expression "puVar25 + -0x7d50" (identifier "puVar25") (+ "+") (number_literal "-0x7d50")) (, ",") (identifier "uVar13") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0007810c)(puVar16);" (call_expression "(*(code *)PTR_free_0007810c)(puVar16)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(puVar16)" (( "(") (identifier "puVar16") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0007810c)(uVar13);" (call_expression "(*(code *)PTR_free_0007810c)(uVar13)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(uVar13)" (( "(") (identifier "uVar13") () ")"))) (; ";")) (expression_statement "piVar20 = piVar17;" (assignment_expression "piVar20 = piVar17" (identifier "piVar20") (= "=") (identifier "piVar17")) (; ";")) (expression_statement "iVar9 = do_yesno_prompt(0);" (assignment_expression "iVar9 = do_yesno_prompt(0)" (identifier "iVar9") (= "=") (call_expression "do_yesno_prompt(0)" (identifier "do_yesno_prompt") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_free_0007810c)(piVar17);" (call_expression "(*(code *)PTR_free_0007810c)(piVar17)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(piVar17)" (( "(") (identifier "piVar17") () ")"))) (; ";")) (if_statement "if (0 < iVar9) goto LAB_0001f45c;" (if "if") (parenthesized_expression "(0 < iVar9)" (( "(") (binary_expression "0 < iVar9" (number_literal "0") (< "<") (identifier "iVar9")) () ")")) (goto_statement "goto LAB_0001f45c;" (goto "goto") (statement_identifier "LAB_0001f45c") (; ";"))) (expression_statement "(*(code *)PTR_wipe_statusbar_00077600)();" (call_expression "(*(code *)PTR_wipe_statusbar_00077600)()" (parenthesized_expression "(*(code *)PTR_wipe_statusbar_00077600)" (( "(") (pointer_expression "*(code *)PTR_wipe_statusbar_00077600" (* "*") (cast_expression "(code *)PTR_wipe_statusbar_00077600" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_wipe_statusbar_00077600"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (labeled_statement "LAB_0001f5d8:\n    iVar9 = -1;" (statement_identifier "LAB_0001f5d8") (: ":") (expression_statement "iVar9 = -1;" (assignment_expression "iVar9 = -1" (identifier "iVar9") (= "=") (number_literal "-1")) (; ";"))) (expression_statement "(*(code *)PTR_free_0007810c)(uVar7);" (call_expression "(*(code *)PTR_free_0007810c)(uVar7)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0007810c)(uVar8);" (call_expression "(*(code *)PTR_free_0007810c)(uVar8)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(uVar8)" (( "(") (identifier "uVar8") () ")"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_free_0007810c)(uVar12);" (call_expression "(*(code *)PTR_free_0007810c)(uVar12)" (parenthesized_expression "(*(code *)PTR_free_0007810c)" (( "(") (pointer_expression "*(code *)PTR_free_0007810c" (* "*") (cast_expression "(code *)PTR_free_0007810c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0007810c"))) () ")")) (argument_list "(uVar12)" (( "(") (identifier "uVar12") () ")"))) (; ";")) (labeled_statement "LAB_0001f49c:\n  if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }" (statement_identifier "LAB_0001f49c") (: ":") (if_statement "if (local_2c == *(int *)puVar6) {\n    return iVar9;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar6)" (( "(") (binary_expression "local_2c == *(int *)puVar6" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar6" (* "*") (cast_expression "(int *)puVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6")))) () ")")) (compound_statement "{\n    return iVar9;\n  }" ({ "{") (return_statement "return iVar9;" (return "return") (identifier "iVar9") (; ";")) (} "}")))) (expression_statement "iVar9 = local_2c;" (assignment_expression "iVar9 = local_2c" (identifier "iVar9") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar25 = PTR___stack_chk_fail_000780c0;" (assignment_expression "puVar25 = PTR___stack_chk_fail_000780c0" (identifier "puVar25") (= "=") (identifier "PTR___stack_chk_fail_000780c0")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000780c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000780c0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar10 = *piVar20;" (assignment_expression "iVar10 = *piVar20" (identifier "iVar10") (= "=") (pointer_expression "*piVar20" (* "*") (identifier "piVar20"))) (; ";")) (if_statement "if (iVar10 == 0) {\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);\n    *piVar20 = iVar10;\n  }" ({ "{") (expression_statement "iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);" (assignment_expression "iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9)" (identifier "iVar10") (= "=") (call_expression "(**(code **)(puVar25 + 0x57e84))(0xa0,iVar9)" (parenthesized_expression "(**(code **)(puVar25 + 0x57e84))" (( "(") (pointer_expression "**(code **)(puVar25 + 0x57e84)" (* "*") (pointer_expression "*(code **)(puVar25 + 0x57e84)" (* "*") (cast_expression "(code **)(puVar25 + 0x57e84)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar25 + 0x57e84)" (( "(") (binary_expression "puVar25 + 0x57e84" (identifier "puVar25") (+ "+") (number_literal "0x57e84")) () ")"))))) () ")")) (argument_list "(0xa0,iVar9)" (( "(") (number_literal "0xa0") (, ",") (identifier "iVar9") () ")")))) (; ";")) (expression_statement "*piVar20 = iVar10;" (assignment_expression "*piVar20 = iVar10" (pointer_expression "*piVar20" (* "*") (identifier "piVar20")) (= "=") (identifier "iVar10")) (; ";")) (} "}"))) (expression_statement "iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);" (assignment_expression "iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10)" (parenthesized_expression "(**(code **)(puVar25 + 0x587ec))" (( "(") (pointer_expression "**(code **)(puVar25 + 0x587ec)" (* "*") (pointer_expression "*(code **)(puVar25 + 0x587ec)" (* "*") (cast_expression "(code **)(puVar25 + 0x587ec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar25 + 0x587ec)" (( "(") (binary_expression "puVar25 + 0x587ec" (identifier "puVar25") (+ "+") (number_literal "0x587ec")) () ")"))))) () ")")) (argument_list "(3,iVar9,iVar10)" (( "(") (number_literal "3") (, ",") (identifier "iVar9") (, ",") (identifier "iVar10") () ")")))) (; ";")) (if_statement "if (iVar9 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);" (assignment_expression "iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(puVar25 + 0x58a2c))(*piVar20)" (parenthesized_expression "(**(code **)(puVar25 + 0x58a2c))" (( "(") (pointer_expression "**(code **)(puVar25 + 0x58a2c)" (* "*") (pointer_expression "*(code **)(puVar25 + 0x58a2c)" (* "*") (cast_expression "(code **)(puVar25 + 0x58a2c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar25 + 0x58a2c)" (( "(") (binary_expression "puVar25 + 0x58a2c" (identifier "puVar25") (+ "+") (number_literal "0x58a2c")) () ")"))))) () ")")) (argument_list "(*piVar20)" (( "(") (pointer_expression "*piVar20" (* "*") (identifier "piVar20")) () ")")))) (; ";")) (expression_statement "*piVar20 = 0;" (assignment_expression "*piVar20 = 0" (pointer_expression "*piVar20" (* "*") (identifier "piVar20")) (= "=") (number_literal "0")) (; ";")) (return_statement "return iVar9;" (return "return") (identifier "iVar9") (; ";")) (} "}")))

int function_1(char *filename)

{
  type_1 *puVar1;
  type_1 *puVar2;
  int var_7;
  type_2 uVar4;
  type_2 uVar5;
  int var_1;
  int var_2;
  int var_3;
  char *lockfilename;
  type_2 uVar9;
  type_2 uVar10;
  type_2 *puVar11;
  type_2 uVar12;
  type_1 *var_8;
  type_3 fileinfo;
  
  puVar2 = PTR___stack_chk_guard_000780f8;
  puVar1 = PTR_locking_suffix_00077a14;
  var_8 = PTR_locking_prefix_00077a10;
  var_7 = *(int *)PTR___stack_chk_guard_000780f8;
  uVar4 = (*(type_4 *)PTR_mallocstrcpy_00077568)(0,filename);
  uVar5 = (*(type_4 *)PTR_mallocstrcpy_00077568)(0,filename);
  var_1 = (*(type_4 *)PTR_strlen_00077ff8)(filename);
  var_2 = (*(type_4 *)PTR_strlen_00077ff8)(*(type_2 *)var_8);
  var_3 = (*(type_4 *)PTR_strlen_00077ff8)(*(type_2 *)puVar1);
  var_3 = var_1 + var_2 + 3 + var_3;
  lockfilename = (char *)(*(type_4 *)PTR_nmalloc_00077564)(var_3);
  uVar9 = (*(type_4 *)PTR_dirname_00078024)(uVar4);
  uVar12 = *(type_2 *)var_8;
  uVar10 = (*(type_4 *)PTR___xpg_basename_00077f98)(uVar5);
  (*(type_4 *)PTR___snprintf_chk_00078164)
            (lockfilename,var_3,1,0xffffffff,var_4 + -0xe00,uVar9,uVar12,
             uVar10,*(type_2 *)puVar1);
  var_1 = (*(type_4 *)PTR___xstat64_00077ecc)(3,lockfilename,&fileinfo);
  if (var_1 == -1) {
    var_1 = var_5(lockfilename,filename,false);
    (*(type_4 *)PTR_free_0007810c)(uVar4);
    (*(type_4 *)PTR_free_0007810c)(uVar5);
    if (0 < var_1) goto LAB_0001f49c;
  }
  else {
    var_1 = (*(type_4 *)PTR_open64_00077fec)(lockfilename,0);
    if (-1 < var_1) {
      (*(type_4 *)PTR_nmalloc_00077564)(0x2000);
      var_7 = var_6();
      return var_7;
    }
    filename = (char *)(*(type_4 *)PTR_dcgettext_000780cc)
                                 (0,var_4 + -0xdf4,5);
    puVar11 = (type_2 *)(*(type_4 *)PTR___errno_location_00077fb0)();
    uVar9 = (*(type_4 *)PTR_strerror_00078028)(*puVar11);
    (*(type_4 *)PTR_statusline_0007757c)(2,filename,lockfilename,uVar9);
    var_1 = -1;
    (*(type_4 *)PTR_free_0007810c)(uVar4);
    (*(type_4 *)PTR_free_0007810c)(uVar5);
  }
  (*(type_4 *)PTR_free_0007810c)(lockfilename);
LAB_0001f49c:
  if (var_7 == *(int *)puVar2) {
    return var_1;
  }
  var_8 = PTR___stack_chk_fail_000780c0;
  (*(type_4 *)PTR___stack_chk_fail_000780c0)();
  var_1 = *(int *)filename;
  if (var_1 == 0) {
    var_1 = (**(type_4 **)(var_8 + 0x57e84))(0xa0,var_7);
    *(int *)filename = var_1;
  }
  var_7 = (**(type_4 **)(var_8 + 0x587ec))(3,var_7,var_1);
  if (var_7 == 0) {
    return 0;
  }
  var_7 = (**(type_4 **)(var_8 + 0x58a2c))(*(int *)filename);
  *(int *)filename = 0;
  return var_7;
}


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

int MASKED(int *param_1)

{
  byte bVar1;
  byte bVar2;
  byte bVar3;
  byte bVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  undefined4 uVar12;
  undefined4 uVar13;
  undefined4 uVar14;
  int iVar15;
  undefined4 *puVar16;
  int *piVar17;
  uint uVar18;
  int iVar19;
  int *piVar20;
  int iVar21;
  undefined *puVar22;
  uint uVar23;
  undefined4 uVar24;
  undefined *puVar25;
  undefined1 auStack_d0 [164];
  int local_2c;
  
  puVar6 = PTR___stack_chk_guard_000780f8;
  puVar5 = PTR_locking_suffix_00077a14;
  puVar25 = PTR_locking_prefix_00077a10;
  local_2c = *(int *)PTR___stack_chk_guard_000780f8;
  uVar7 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);
  uVar8 = (*(code *)PTR_mallocstrcpy_00077568)(0,param_1);
  iVar9 = (*(code *)PTR_strlen_00077ff8)(param_1);
  iVar10 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar25);
  iVar11 = (*(code *)PTR_strlen_00077ff8)(*(undefined4 *)puVar5);
  iVar11 = iVar9 + iVar10 + 3 + iVar11;
  uVar12 = (*(code *)PTR_nmalloc_00077564)(iVar11);
  uVar13 = (*(code *)PTR_dirname_00078024)(uVar7);
  uVar24 = *(undefined4 *)puVar25;
  uVar14 = (*(code *)PTR___xpg_basename_00077f98)(uVar8);
  (*(code *)PTR___snprintf_chk_00078164)
            (uVar12,iVar11,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xe00,uVar13,uVar24,
             uVar14,*(undefined4 *)puVar5);
  iVar9 = (*(code *)PTR___xstat64_00077ecc)(3,uVar12,auStack_d0);
  if (iVar9 == -1) {
LAB_0001f45c:
    iVar9 = write_lockfile(uVar12,param_1,0);
    (*(code *)PTR_free_0007810c)(uVar7);
    (*(code *)PTR_free_0007810c)(uVar8);
    piVar20 = param_1;
    if (0 < iVar9) goto LAB_0001f49c;
  }
  else {
    iVar9 = (*(code *)PTR_open64_00077fec)(uVar12,0);
    if (iVar9 < 0) {
      piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)
                                 (0,PTR_s_d_of_current_line_0007755c + -0xdf4,5);
      puVar16 = (undefined4 *)(*(code *)PTR___errno_location_00077fb0)();
      uVar13 = (*(code *)PTR_strerror_00078028)(*puVar16);
      (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12,uVar13);
    }
    else {
      uVar23 = 0;
      iVar10 = (*(code *)PTR_nmalloc_00077564)(0x2000);
      do {
        iVar11 = (*(code *)PTR_read_00078140)(iVar9,iVar10 + uVar23,0x2000 - uVar23);
        uVar23 = uVar23 + iVar11;
        if (iVar11 == 0) {
          (*(code *)PTR_close_00077eb0)(iVar9);
          if (0x2f < uVar23) goto LAB_0001f210;
          piVar20 = (int *)(*(code *)PTR_dcgettext_000780cc)
                                     (0,PTR_s_d_of_current_line_0007755c + -0xdd4,5);
          (*(code *)PTR_statusline_0007757c)(2,piVar20,uVar12);
          (*(code *)PTR_free_0007810c)(iVar10);
          goto LAB_0001f5d8;
        }
      } while (uVar23 < 0x2000);
      (*(code *)PTR_close_00077eb0)(iVar9);
LAB_0001f210:
      puVar25 = PTR_DAT_0007754c;
      (*(code *)PTR_strncpy_00077fa0)(PTR_DAT_0007754c + -0x7d50,iVar10 + 2,10);
      bVar1 = *(byte *)(iVar10 + 0x1b);
      bVar2 = *(byte *)(iVar10 + 0x1a);
      bVar3 = *(byte *)(iVar10 + 0x19);
      bVar4 = *(byte *)(iVar10 + 0x18);
      (*(code *)PTR_strncpy_00077fa0)(puVar25 + -0x7d64,iVar10 + 0x1c,0x10);
      (*(code *)PTR_free_0007810c)(iVar10);
      uVar13 = (*(code *)PTR_nmalloc_00077564)(0xb);
      (*(code *)PTR___sprintf_chk_00077e90)
                (uVar13,1,0xffffffff,PTR_s_d_of_current_line_0007755c + -0xda0,
                 (((uint)bVar1 * 0x100 + (uint)bVar2) * 0x100 + (uint)bVar3) * 0x100 + (uint)bVar4);
      puVar5 = PTR_dcgettext_000780cc;
      puVar22 = PTR_s_d_of_current_line_0007755c + -0xd9c;
      *PTR_as_an_at_000778ac = 0;
      uVar14 = (*(code *)puVar5)(0,puVar22,5);
      iVar21 = *(int *)PTR_COLS_00077fb4;
      iVar9 = (*(code *)PTR_strlenpt_00077618)(uVar14);
      iVar10 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d64);
      iVar11 = (*(code *)PTR_strlenpt_00077618)(puVar25 + -0x7d50);
      iVar15 = (*(code *)PTR_strlenpt_00077618)(uVar13);
      uVar23 = (((iVar21 + 7) - (iVar9 + iVar10)) - iVar11) - iVar15;
      if ((int)uVar23 < 4) {
        puVar16 = (undefined4 *)
                  (*(code *)PTR_mallocstrcpy_00077568)(0,PTR_s_d_of_current_line_0007755c + -0xd60);
      }
      else {
        uVar18 = (*(code *)PTR_strlenpt_00077618)(param_1);
        if (uVar23 < uVar18) {
          iVar19 = (*(code *)PTR_strlenpt_00077618)(param_1);
          uVar24 = (*(code *)PTR_display_string_000778e0)
                             (param_1,(iVar9 - (iVar21 + 7)) + 3 + iVar10 + iVar11 + iVar15 + iVar19
                              ,uVar23,0);
          iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar24);
          puVar16 = (undefined4 *)(*(code *)PTR_nmalloc_00077564)(iVar9 + 4);
          puVar5 = PTR_strcpy_0007805c;
          *puVar16 = *(undefined4 *)(PTR_s_d_of_current_line_0007755c + -0x125c);
          (*(code *)puVar5)((int)puVar16 + 3,uVar24);
          (*(code *)PTR_free_0007810c)(uVar24);
        }
        else {
          puVar16 = (undefined4 *)(*(code *)PTR_display_string_000778e0)(param_1,0,uVar23,0);
        }
      }
      iVar9 = (*(code *)PTR_strlen_00077ff8)(uVar14);
      iVar10 = (*(code *)PTR_strlen_00077ff8)(puVar16);
      piVar17 = (int *)(*(code *)PTR_nmalloc_00077564)(iVar9 + iVar10 + 0x1d);
      (*(code *)PTR___sprintf_chk_00077e90)
                (piVar17,1,0xffffffff,uVar14,puVar16,puVar25 + -0x7d64,puVar25 + -0x7d50,uVar13);
      (*(code *)PTR_free_0007810c)(puVar16);
      (*(code *)PTR_free_0007810c)(uVar13);
      piVar20 = piVar17;
      iVar9 = do_yesno_prompt(0);
      (*(code *)PTR_free_0007810c)(piVar17);
      if (0 < iVar9) goto LAB_0001f45c;
      (*(code *)PTR_wipe_statusbar_00077600)();
    }
LAB_0001f5d8:
    iVar9 = -1;
    (*(code *)PTR_free_0007810c)(uVar7);
    (*(code *)PTR_free_0007810c)(uVar8);
  }
  (*(code *)PTR_free_0007810c)(uVar12);
LAB_0001f49c:
  if (local_2c == *(int *)puVar6) {
    return iVar9;
  }
  iVar9 = local_2c;
  puVar25 = PTR___stack_chk_fail_000780c0;
  (*(code *)PTR___stack_chk_fail_000780c0)();
  iVar10 = *piVar20;
  if (iVar10 == 0) {
    iVar10 = (**(code **)(puVar25 + 0x57e84))(0xa0,iVar9);
    *piVar20 = iVar10;
  }
  iVar9 = (**(code **)(puVar25 + 0x587ec))(3,iVar9,iVar10);
  if (iVar9 == 0) {
    return 0;
  }
  iVar9 = (**(code **)(puVar25 + 0x58a2c))(*piVar20);
  *piVar20 = 0;
  return iVar9;
}

