
void closeout(FILE *fp,int fd,pid_t pid,char *name)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  char *pcVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  char *pcVar7;
  uint *puVar8;
  size_t count;
  size_t sVar9;
  size_t *psVar10;
  int iVar11;
  void *buf;
  int *piVar12;
  uint signum;
  code *pcVar13;
  undefined *puVar14;
  int wstatus;
  char signame [19];
  
  puVar14 = PTR___stack_chk_guard_00030510;
  iVar1 = *(int *)PTR___stack_chk_guard_00030510;
  if (fp == (FILE *)0x0) {
    if (fd < 0) goto LAB_00015408;
    iVar2 = (*(code *)PTR_close_0003040c)(fd);
    if (-1 < iVar2) goto LAB_000153c0;
    puVar5 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();
    uVar6 = *puVar5;
    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);
    pcVar13 = (code *)PTR_error_000304c8;
    (*(code *)PTR_error_000304c8)(1,uVar6,PTR_DAT_000302d8 + -0x2e44,pcVar4);
LAB_0001549c:
    wstatus = 0;
    iVar2 = (*pcVar13)(pid,&wstatus,0);
    if (iVar2 == -1) {
      puVar8 = (uint *)(*(code *)PTR___errno_location_00030478)();
      signum = *puVar8;
      if (signum == 10) goto LAB_000154bc;
      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);
      (*(code *)PTR_error_000304c8)(1,signum,uVar6);
LAB_0001562c:
      (*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum);
LAB_000154f8:
      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);
      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);
      pcVar4 = (char *)(signum + 0x80);
    }
    else {
LAB_000154bc:
      signum = wstatus & 0x7f;
      if ('\0' < (char)((char)signum + '\x01') >> 1) {
        if (signum == 0xd) goto LAB_00015410;
        pid = (pid_t)signame;
        iVar2 = sig2str(signum,(char *)pid);
        if (iVar2 != 0) goto LAB_0001562c;
        goto LAB_000154f8;
      }
      pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18);
      if (signum != 0) goto LAB_00015660;
      if (pcVar4 == (char *)0x0) goto LAB_00015410;
      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);
      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);
      pid = (pid_t)pcVar4;
    }
    (*(code *)PTR_error_000304c8)
              (pcVar4,0,uVar6,pcVar7,pid,*(undefined4 *)(PTR_data_start_000302c8 + 0x754));
  }
  else {
    iVar2 = rpl_fclose(fp);
    if (iVar2 != 0) {
      piVar3 = (int *)(*(code *)PTR___errno_location_00030478)();
      iVar2 = *piVar3;
      if ((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)) {
        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);
        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);
      }
    }
    if (-1 < fd) {
LAB_000153c0:
      iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);
      if (iVar2 != 0) {
        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);
        piVar3 = piVar12;
        if (fd != *piVar12) {
          iVar11 = 0;
          do {
            piVar3 = piVar3 + 1;
            iVar11 = iVar11 + 1;
            if (iVar11 == iVar2) goto LAB_00015408;
          } while (*piVar3 != fd);
        }
        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;
        *piVar3 = piVar12[iVar2 + -1];
      }
    }
LAB_00015408:
    pcVar13 = (code *)PTR_waitpid_000304dc;
    if (0 < pid) goto LAB_0001549c;
  }
LAB_00015410:
  if (iVar1 == *(int *)puVar14) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_000304f4)();
LAB_00015660:
  count = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);
  buf = (void *)0x0;
  iVar1 = 1;
  puVar14 = PTR_error_000304c8;
  (*(code *)PTR_error_000304c8)();
  if (iVar1 == 0) {
    iVar1 = *(int *)(*(int *)(puVar14 + 0x1ac34) + 0x4c);
    goto LAB_0001572c;
  }
  iVar1 = *(int *)(puVar14 + 0x1ac34);
  sVar9 = count;
  if (buf == (void *)0x0) goto LAB_000157ac;
  do {
    iVar2 = *(int *)(puVar14 + 0x1ac34);
    iVar11 = *(int *)(puVar14 + 0x1ac34);
    closeout((FILE *)0x0,*(int *)(iVar11 + 0x4c),*(pid_t *)(iVar1 + 0x750),*(char **)(iVar2 + 0x63c)
            );
    next_file_name();
    iVar1 = create(*(char **)(iVar2 + 0x63c));
    *(int *)(iVar11 + 0x4c) = iVar1;
    count = sVar9;
    if (iVar1 < 0) {
      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();
      pcVar4 = *(char **)(iVar2 + 0x63c);
      sVar9 = *psVar10;
    }
    else {
LAB_0001572c:
      sVar9 = full_write(iVar1,buf,count);
      if (sVar9 == count) {
        return;
      }
      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();
      sVar9 = *psVar10;
      if ((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)) {
        return;
      }
      pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c);
    }
    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,pcVar4);
    count = *(int *)(puVar14 + 0x1ac44) - 0x2e44;
    iVar1 = (**(code **)(puVar14 + 0x1ae34))(1,sVar9,count,pcVar4);
LAB_000157ac:
    if ((count == 0) &&
       (iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')
       ) {
      return;
    }
  } while( true );
}



int FUN_000152fc(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  uint *puVar6;
  int iVar7;
  undefined1 *puVar8;
  int iVar9;
  int *piVar10;
  uint uVar11;
  int iVar12;
  int iVar13;
  code *pcVar14;
  undefined *puVar15;
  uint local_34;
  undefined1 auStack_30 [20];
  int local_1c;
  
  puVar15 = PTR___stack_chk_guard_00030510;
  local_1c = *(int *)PTR___stack_chk_guard_00030510;
  if (param_1 == 0) {
    if (param_2 < 0) goto LAB_00015408;
    iVar1 = (*(code *)PTR_close_0003040c)(param_2);
    if (-1 < iVar1) goto LAB_000153c0;
    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();
    uVar5 = *puVar4;
    uVar3 = quotearg_n_style_colon(0,3,param_4);
    pcVar14 = (code *)PTR_error_000304c8;
    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);
LAB_0001549c:
    local_34 = 0;
    iVar1 = (*pcVar14)(param_3,&local_34,0);
    if (iVar1 == -1) {
      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();
      uVar11 = *puVar6;
      if (uVar11 == 10) goto LAB_000154bc;
      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);
      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);
LAB_0001562c:
      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);
LAB_000154f8:
      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);
      uVar5 = quotearg_n_style_colon(0,3,param_4);
      puVar8 = (undefined1 *)(uVar11 + 0x80);
    }
    else {
LAB_000154bc:
      uVar11 = local_34 & 0x7f;
      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {
        if (uVar11 == 0xd) goto LAB_00015410;
        param_3 = auStack_30;
        iVar1 = sig2str(uVar11,param_3);
        if (iVar1 != 0) goto LAB_0001562c;
        goto LAB_000154f8;
      }
      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);
      if (uVar11 != 0) goto LAB_00015660;
      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;
      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);
      uVar5 = quotearg_n_style_colon(0,3,param_4);
      param_3 = puVar8;
    }
    (*(code *)PTR_error_000304c8)
              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));
  }
  else {
    iVar1 = rpl_fclose();
    if (iVar1 != 0) {
      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();
      iVar1 = *piVar2;
      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {
        uVar3 = quotearg_n_style_colon(0,3,param_4);
        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);
      }
    }
    if (-1 < param_2) {
LAB_000153c0:
      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);
      if (iVar1 != 0) {
        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);
        piVar2 = piVar10;
        if (param_2 != *piVar10) {
          iVar7 = 0;
          do {
            piVar2 = piVar2 + 1;
            iVar7 = iVar7 + 1;
            if (iVar7 == iVar1) goto LAB_00015408;
          } while (*piVar2 != param_2);
        }
        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;
        *piVar2 = piVar10[iVar1 + -1];
      }
    }
LAB_00015408:
    pcVar14 = (code *)PTR_waitpid_000304dc;
    if (0 < (int)param_3) goto LAB_0001549c;
  }
LAB_00015410:
  if (local_1c == *(int *)puVar15) {
    return *(int *)puVar15;
  }
  (*(code *)PTR___stack_chk_fail_000304f4)();
LAB_00015660:
  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);
  iVar9 = 0;
  iVar7 = 1;
  puVar15 = PTR_error_000304c8;
  (*(code *)PTR_error_000304c8)();
  if (iVar7 == 0) {
    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);
    goto LAB_0001572c;
  }
  iVar7 = *(int *)(puVar15 + 0x1ac34);
  iVar12 = iVar1;
  if (iVar9 == 0) goto LAB_000157ac;
  do {
    iVar13 = *(int *)(puVar15 + 0x1ac34);
    iVar1 = *(int *)(puVar15 + 0x1ac34);
    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),
                 *(undefined4 *)(iVar13 + 0x63c));
    FUN_000145e0();
    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));
    *(int *)(iVar1 + 0x4c) = iVar7;
    iVar1 = iVar12;
    if (iVar7 < 0) {
      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);
      uVar3 = *(undefined4 *)(iVar13 + 0x63c);
      iVar12 = *piVar2;
    }
    else {
LAB_0001572c:
      iVar7 = full_write(iVar7,iVar9,iVar1);
      if (iVar7 == iVar1) {
        return 1;
      }
      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();
      iVar12 = *piVar2;
      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {
        return 0;
      }
      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);
    }
    uVar3 = quotearg_n_style_colon(0,3,uVar3);
    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;
    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);
LAB_000157ac:
    if ((iVar1 == 0) &&
       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')
       ) {
      return 1;
    }
  } while( true );
}


lui gp,0x2
addiu gp,gp,0x2fa4
addu gp,gp,t9
addiu sp,sp,-0x58
sw s1,0x44(sp)
lw s1,-0x7d90(gp)
sw gp,0x18(sp)
sw s3,0x4c(sp)
or s3,a2,zero
sw s2,0x48(sp)
or s2,a3,zero
sw s0,0x40(sp)
or s0,a1,zero
sw ra,0x54(sp)
sw s4,0x50(sp)
lw v0,0x0(s1)
sw v0,0x3c(sp)
beq a0,zero,0x0001543c
_lw t9,-0x7fa8(gp)
bal 0x0001a3f0
_nop
beq v0,zero,0x000153b8
_lw gp,0x18(sp)
lw t9,-0x7e28(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw s4,0x0(v0)
lw v0,-0x7fd8(gp)
lw v0,0x754(v0)
beq v0,zero,0x00015384
_li v0,0x20
beq s4,v0,0x000153b8
_nop
lw t9,-0x7fb0(gp)
li a1,0x3
or a0,zero,zero
bal 0x00018888
_or a2,s2,zero
li a0,0x1
lw gp,0x18(sp)
or a3,v0,zero
or a1,s4,zero
lw a2,-0x7fc8(gp)
lw t9,-0x7dd8(gp)
jalr t9
_addiu a2,a2,-0x2e44
bltz s0,0x00015408
_nop
lw t0,-0x7fd8(gp)
lw a1,0x744(t0)
beq a1,zero,0x00015408
_lw v0,-0x7fd8(gp)
lw a3,0x74c(v0)
lw v0,0x0(a3)
beq s0,v0,0x00015560
_addiu v0,a3,0x4
b 0x000153fc
_or v1,zero,zero
or a2,v0,zero
addiu v0,v0,0x4
lw a0,-0x4(v0)
beq a0,s0,0x00015564
_nop
addiu v1,v1,0x1
bne v1,a1,0x000153e8
_nop
bgtz s3,0x0001549c
_lw t9,-0x7dc4(gp)
lw v1,0x3c(sp)
lw v0,0x0(s1)
bne v1,v0,0x00015654
_lw ra,0x54(sp)
lw s4,0x50(sp)
lw s3,0x4c(sp)
lw s2,0x48(sp)
lw s1,0x44(sp)
lw s0,0x40(sp)
jr ra
_addiu sp,sp,0x58
bltz a1,0x00015408
_lw t9,-0x7e94(gp)
jalr t9
_or a0,s0,zero
bgez v0,0x000153c0
_lw gp,0x18(sp)
lw t9,-0x7e28(gp)
jalr t9
_nop
li a1,0x3
lw gp,0x18(sp)
or a0,zero,zero
or a2,s2,zero
lw t9,-0x7fb0(gp)
bal 0x00018888
_lw s0,0x0(v0)
li a0,0x1
lw gp,0x18(sp)
or a3,v0,zero
or a1,s0,zero
lw a2,-0x7fc8(gp)
lw t9,-0x7dd8(gp)
jalr t9
_addiu a2,a2,-0x2e44
or a2,zero,zero
addiu a1,sp,0x24
sw zero,0x24(sp)
jalr t9
_or a0,s3,zero
li v1,-0x1
beq v0,v1,0x000155e0
_lw gp,0x18(sp)
lw v1,0x24(sp)
andi s0,v1,0x7f
addiu v0,s0,0x1
seb v0,v0
sra v0,v0,0x1
blez v0,0x00015580
_li v0,0xd
beq s0,v0,0x00015410
_lw t9,-0x7fa4(gp)
addiu s3,sp,0x28
or a0,s0,zero
bal 0x0001bbc0
_or a1,s3,zero
bne v0,zero,0x0001562c
_lw gp,0x18(sp)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7da8(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x2e94
li a1,0x3
lw gp,0x18(sp)
or a0,zero,zero
or a2,s2,zero
lw t9,-0x7fb0(gp)
bal 0x00018888
_or s2,v0,zero
or a1,zero,zero
lw gp,0x18(sp)
addiu a0,s0,0x80
or a3,v0,zero
sw s3,0x10(sp)
or a2,s2,zero
lw t9,-0x7dd8(gp)
lw v0,-0x7fd8(gp)
lw v0,0x754(v0)
jalr t9
_sw v0,0x14(sp)
b 0x00015410
_lw gp,0x18(sp)
or a2,a3,zero
addiu a1,a1,-0x1
sll v0,a1,0x2
sw a1,0x744(t0)
addu a3,a3,v0
lw v0,0x0(a3)
b 0x00015408
_sw v0,0x0(a2)
bne s0,zero,0x00015660
_ext s0,v1,0x8,0x8
beq s0,zero,0x00015410
_lw t9,-0x7da8(gp)
lw a1,-0x7fc8(gp)
li a2,0x5
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x2e68
li a1,0x3
lw gp,0x18(sp)
or a0,zero,zero
or a2,s2,zero
lw t9,-0x7fb0(gp)
bal 0x00018888
_or s2,v0,zero
or a1,zero,zero
lw gp,0x18(sp)
or a3,v0,zero
or a2,s2,zero
sw s0,0x10(sp)
or a0,s0,zero
b 0x00015548
_lw t9,-0x7dd8(gp)
lw t9,-0x7e28(gp)
jalr t9
_nop
li v1,0xa
lw s0,0x0(v0)
beq s0,v1,0x000154bc
_lw gp,0x18(sp)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7da8(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x2eb4
li a0,0x1
lw gp,0x18(sp)
or a2,v0,zero
lw t9,-0x7dd8(gp)
jalr t9
_or a1,s0,zero
lw a3,-0x7fc8(gp)
li a2,0x13
lw t9,-0x7ea8(gp)
li a1,0x1
sw s0,0x10(sp)
or a0,s3,zero
jalr t9
_addiu a3,a3,-0x2e98
b 0x000154f8
_lw gp,0x18(sp)
lw t9,-0x7dac(gp)
jalr t9
_nop
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7da8(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x2e40
or a1,zero,zero
lw gp,0x18(sp)
li a0,0x1
lw a3,0x24(sp)
lw t9,-0x7dd8(gp)
jalr t9
_or a2,v0,zero
(translation_unit "int FUN_000152fc(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  code *pcVar14;\n  undefined *puVar15;\n  uint local_34;\n  undefined1 auStack_30 [20];\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00030510;\n  local_1c = *(int *)PTR___stack_chk_guard_00030510;\n  if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  iVar9 = 0;\n  iVar7 = 1;\n  puVar15 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar7 = *(int *)(puVar15 + 0x1ac34);\n  iVar12 = iVar1;\n  if (iVar9 == 0) goto LAB_000157ac;\n  do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );\n}\n\n" (function_definition "int FUN_000152fc(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  code *pcVar14;\n  undefined *puVar15;\n  uint local_34;\n  undefined1 auStack_30 [20];\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00030510;\n  local_1c = *(int *)PTR___stack_chk_guard_00030510;\n  if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  iVar9 = 0;\n  iVar7 = 1;\n  puVar15 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar7 = *(int *)(puVar15 + 0x1ac34);\n  iVar12 = iVar1;\n  if (iVar9 == 0) goto LAB_000157ac;\n  do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_000152fc(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  code *pcVar14;\n  undefined *puVar15;\n  uint local_34;\n  undefined1 auStack_30 [20];\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00030510;\n  local_1c = *(int *)PTR___stack_chk_guard_00030510;\n  if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  iVar9 = 0;\n  iVar7 = 1;\n  puVar15 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar7 = *(int *)(puVar15 + 0x1ac34);\n  iVar12 = iVar1;\n  if (iVar9 == 0) goto LAB_000157ac;\n  do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "undefined1 auStack_30 [20];" type_identifier (array_declarator "auStack_30 [20]" identifier [ number_literal ]) ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar15 = PTR___stack_chk_guard_00030510;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00030510" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00030510;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00030510" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00030510" * (cast_expression "(int *)PTR___stack_chk_guard_00030510" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }" { (if_statement "if (param_2 < 0) goto LAB_00015408;" if (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) (goto_statement "goto LAB_00015408;" goto statement_identifier ;)) (expression_statement "iVar1 = (*(code *)PTR_close_0003040c)(param_2);" (assignment_expression "iVar1 = (*(code *)PTR_close_0003040c)(param_2)" identifier = (call_expression "(*(code *)PTR_close_0003040c)(param_2)" (parenthesized_expression "(*(code *)PTR_close_0003040c)" ( (pointer_expression "*(code *)PTR_close_0003040c" * (cast_expression "(code *)PTR_close_0003040c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (-1 < iVar1) goto LAB_000153c0;" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (goto_statement "goto LAB_000153c0;" goto statement_identifier ;)) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00030478)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" ( (pointer_expression "*(code *)PTR___errno_location_00030478" * (cast_expression "(code *)PTR___errno_location_00030478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = *puVar4;" (assignment_expression "uVar5 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar3 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar3 = quotearg_n_style_colon(0,3,param_4)" identifier = (call_expression "quotearg_n_style_colon(0,3,param_4)" identifier (argument_list "(0,3,param_4)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "pcVar14 = (code *)PTR_error_000304c8;" (assignment_expression "pcVar14 = (code *)PTR_error_000304c8" identifier = (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);" (call_expression "(*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3)" ( number_literal , identifier , (binary_expression "PTR_DAT_000302d8 + -0x2e44" identifier + number_literal) , identifier ))) ;) (labeled_statement "LAB_0001549c:\n    local_34 = 0;" statement_identifier : (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;)) (expression_statement "iVar1 = (*pcVar14)(param_3,&local_34,0);" (assignment_expression "iVar1 = (*pcVar14)(param_3,&local_34,0)" identifier = (call_expression "(*pcVar14)(param_3,&local_34,0)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(param_3,&local_34,0)" ( identifier , (pointer_expression "&local_34" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }" { (expression_statement "puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)()" identifier = (cast_expression "(uint *)(*(code *)PTR___errno_location_00030478)()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" ( (pointer_expression "*(code *)PTR___errno_location_00030478" * (cast_expression "(code *)PTR___errno_location_00030478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (if_statement "if (uVar11 == 10) goto LAB_000154bc;" if (parenthesized_expression "(uVar11 == 10)" ( (binary_expression "uVar11 == 10" identifier == number_literal) )) (goto_statement "goto LAB_000154bc;" goto statement_identifier ;)) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2eb4,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2eb4" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_000304c8)(1,uVar11,uVar3);" (call_expression "(*(code *)PTR_error_000304c8)(1,uVar11,uVar3)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,uVar11,uVar3)" ( number_literal , identifier , identifier ))) ;) (labeled_statement "LAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);" statement_identifier : (expression_statement "(*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);" (call_expression "(*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000303f8)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000303f8" * (cast_expression "(code *)PTR___sprintf_chk_000303f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11)" ( identifier , number_literal , number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e98" identifier + number_literal) , identifier ))) ;)) (labeled_statement "LAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);" statement_identifier : (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2e94,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e94" identifier + number_literal) , number_literal )))) ;)) (expression_statement "uVar5 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar5 = quotearg_n_style_colon(0,3,param_4)" identifier = (call_expression "quotearg_n_style_colon(0,3,param_4)" identifier (argument_list "(0,3,param_4)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "puVar8 = (undefined1 *)(uVar11 + 0x80);" (assignment_expression "puVar8 = (undefined1 *)(uVar11 + 0x80)" identifier = (cast_expression "(undefined1 *)(uVar11 + 0x80)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar11 + 0x80)" ( (binary_expression "uVar11 + 0x80" identifier + number_literal) )))) ;) }) (else_clause "else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }" else (compound_statement "{\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }" { (labeled_statement "LAB_000154bc:\n      uVar11 = local_34 & 0x7f;" statement_identifier : (expression_statement "uVar11 = local_34 & 0x7f;" (assignment_expression "uVar11 = local_34 & 0x7f" identifier = (binary_expression "local_34 & 0x7f" identifier & number_literal)) ;)) (if_statement "if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }" if (parenthesized_expression "('\0' < (char)((char)uVar11 + '\x01') >> 1)" ( (binary_expression "'\0' < (char)((char)uVar11 + '\x01') >> 1" (char_literal "'\0'" ' escape_sequence ') < (binary_expression "(char)((char)uVar11 + '\x01') >> 1" (cast_expression "(char)((char)uVar11 + '\x01')" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((char)uVar11 + '\x01')" ( (binary_expression "(char)uVar11 + '\x01'" (cast_expression "(char)uVar11" ( (type_descriptor "char" primitive_type) ) identifier) + (char_literal "'\x01'" ' escape_sequence ')) ))) >> number_literal)) )) (compound_statement "{\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }" { (if_statement "if (uVar11 == 0xd) goto LAB_00015410;" if (parenthesized_expression "(uVar11 == 0xd)" ( (binary_expression "uVar11 == 0xd" identifier == number_literal) )) (goto_statement "goto LAB_00015410;" goto statement_identifier ;)) (expression_statement "param_3 = auStack_30;" (assignment_expression "param_3 = auStack_30" identifier = identifier) ;) (expression_statement "iVar1 = sig2str(uVar11,param_3);" (assignment_expression "iVar1 = sig2str(uVar11,param_3)" identifier = (call_expression "sig2str(uVar11,param_3)" identifier (argument_list "(uVar11,param_3)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) goto LAB_0001562c;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001562c;" goto statement_identifier ;)) (goto_statement "goto LAB_000154f8;" goto statement_identifier ;) })) (expression_statement "puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);" (assignment_expression "puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18)" identifier = (cast_expression "(undefined1 *)((local_34 << 0x10) >> 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((local_34 << 0x10) >> 0x18)" ( (binary_expression "(local_34 << 0x10) >> 0x18" (parenthesized_expression "(local_34 << 0x10)" ( (binary_expression "local_34 << 0x10" identifier << number_literal) )) >> number_literal) )))) ;) (if_statement "if (uVar11 != 0) goto LAB_00015660;" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00015660;" goto statement_identifier ;)) (if_statement "if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;" if (parenthesized_expression "(puVar8 == (undefined1 *)0x0)" ( (binary_expression "puVar8 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00015410;" goto statement_identifier ;)) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2e68,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e68" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar5 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar5 = quotearg_n_style_colon(0,3,param_4)" identifier = (call_expression "quotearg_n_style_colon(0,3,param_4)" identifier (argument_list "(0,3,param_4)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "param_3 = puVar8;" (assignment_expression "param_3 = puVar8" identifier = identifier) ;) }))) (expression_statement "(*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));" (call_expression "(*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754))" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754))" ( identifier , number_literal , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(PTR_DAT_000302c8 + 0x754)" * (cast_expression "(undefined4 *)(PTR_DAT_000302c8 + 0x754)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000302c8 + 0x754)" ( (binary_expression "PTR_DAT_000302c8 + 0x754" identifier + number_literal) )))) ))) ;) }) (else_clause "else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }" else (compound_statement "{\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }" { (expression_statement "iVar1 = rpl_fclose();" (assignment_expression "iVar1 = rpl_fclose()" identifier = (call_expression "rpl_fclose()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_00030478)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_00030478)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" ( (pointer_expression "*(code *)PTR___errno_location_00030478" * (cast_expression "(code *)PTR___errno_location_00030478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }" if (parenthesized_expression "((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20))" ( (binary_expression "(*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)" (parenthesized_expression "(*(int *)(PTR_DAT_000302c8 + 0x754) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000302c8 + 0x754) == 0" (pointer_expression "*(int *)(PTR_DAT_000302c8 + 0x754)" * (cast_expression "(int *)(PTR_DAT_000302c8 + 0x754)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000302c8 + 0x754)" ( (binary_expression "PTR_DAT_000302c8 + 0x754" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(iVar1 != 0x20)" ( (binary_expression "iVar1 != 0x20" identifier != number_literal) ))) )) (compound_statement "{\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }" { (expression_statement "uVar3 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar3 = quotearg_n_style_colon(0,3,param_4)" identifier = (call_expression "quotearg_n_style_colon(0,3,param_4)" identifier (argument_list "(0,3,param_4)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "(*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);" (call_expression "(*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3)" ( number_literal , identifier , (binary_expression "PTR_DAT_000302d8 + -0x2e44" identifier + number_literal) , identifier ))) ;) })) })) (if_statement "if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }" if (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) (compound_statement "{\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }" { (labeled_statement "LAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);" statement_identifier : (expression_statement "iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744)" identifier = (pointer_expression "*(int *)(PTR_DAT_000302c8 + 0x744)" * (cast_expression "(int *)(PTR_DAT_000302c8 + 0x744)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000302c8 + 0x744)" ( (binary_expression "PTR_DAT_000302c8 + 0x744" identifier + number_literal) ))))) ;)) (if_statement "if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }" { (expression_statement "piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);" (assignment_expression "piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c)" identifier = (pointer_expression "*(int **)(PTR_DAT_000302c8 + 0x74c)" * (cast_expression "(int **)(PTR_DAT_000302c8 + 0x74c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000302c8 + 0x74c)" ( (binary_expression "PTR_DAT_000302c8 + 0x74c" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = piVar10;" (assignment_expression "piVar2 = piVar10" identifier = identifier) ;) (if_statement "if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }" if (parenthesized_expression "(param_2 != *piVar10)" ( (binary_expression "param_2 != *piVar10" identifier != (pointer_expression "*piVar10" * identifier)) )) (compound_statement "{\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);" do (compound_statement "{\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          }" { (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar7 == iVar1) goto LAB_00015408;" if (parenthesized_expression "(iVar7 == iVar1)" ( (binary_expression "iVar7 == iVar1" identifier == identifier) )) (goto_statement "goto LAB_00015408;" goto statement_identifier ;)) }) while (parenthesized_expression "(*piVar2 != param_2)" ( (binary_expression "*piVar2 != param_2" (pointer_expression "*piVar2" * identifier) != identifier) )) ;) })) (expression_statement "*(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;" (assignment_expression "*(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1" (pointer_expression "*(int *)(PTR_DAT_000302c8 + 0x744)" * (cast_expression "(int *)(PTR_DAT_000302c8 + 0x744)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000302c8 + 0x744)" ( (binary_expression "PTR_DAT_000302c8 + 0x744" identifier + number_literal) )))) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "*piVar2 = piVar10[iVar1 + -1];" (assignment_expression "*piVar2 = piVar10[iVar1 + -1]" (pointer_expression "*piVar2" * identifier) = (subscript_expression "piVar10[iVar1 + -1]" identifier [ (binary_expression "iVar1 + -1" identifier + number_literal) ])) ;) })) })) (labeled_statement "LAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;" statement_identifier : (expression_statement "pcVar14 = (code *)PTR_waitpid_000304dc;" (assignment_expression "pcVar14 = (code *)PTR_waitpid_000304dc" identifier = (cast_expression "(code *)PTR_waitpid_000304dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (if_statement "if (0 < (int)param_3) goto LAB_0001549c;" if (parenthesized_expression "(0 < (int)param_3)" ( (binary_expression "0 < (int)param_3" number_literal < (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0001549c;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }" statement_identifier : (if_statement "if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar15)" ( (binary_expression "local_1c == *(int *)puVar15" identifier == (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar15;\n  }" { (return_statement "return *(int *)puVar15;" return (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_000304f4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000304f4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000304f4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000304f4" * (cast_expression "(code *)PTR___stack_chk_fail_000304f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);" (assignment_expression "iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2e40,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e40" identifier + number_literal) , number_literal )))) ;)) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (expression_statement "puVar15 = PTR_error_000304c8;" (assignment_expression "puVar15 = PTR_error_000304c8" identifier = identifier) ;) (expression_statement "(*(code *)PTR_error_000304c8)();" (call_expression "(*(code *)PTR_error_000304c8)()" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }" { (expression_statement "iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);" (assignment_expression "iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c)" identifier = (pointer_expression "*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c)" * (cast_expression "(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x4c)" ( (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x4c" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_0001572c;" goto statement_identifier ;) })) (expression_statement "iVar7 = *(int *)(puVar15 + 0x1ac34);" (assignment_expression "iVar7 = *(int *)(puVar15 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = iVar1;" (assignment_expression "iVar12 = iVar1" identifier = identifier) ;) (if_statement "if (iVar9 == 0) goto LAB_000157ac;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000157ac;" goto statement_identifier ;)) (do_statement "do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );" do (compound_statement "{\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  }" { (expression_statement "iVar13 = *(int *)(puVar15 + 0x1ac34);" (assignment_expression "iVar13 = *(int *)(puVar15 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(puVar15 + 0x1ac34);" (assignment_expression "iVar1 = *(int *)(puVar15 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) ))))) ;) (expression_statement "FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));" (call_expression "FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c))" identifier (argument_list "(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c))" ( number_literal , (pointer_expression "*(undefined4 *)(iVar1 + 0x4c)" * (cast_expression "(undefined4 *)(iVar1 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar7 + 0x750)" * (cast_expression "(undefined4 *)(iVar7 + 0x750)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x750)" ( (binary_expression "iVar7 + 0x750" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar13 + 0x63c)" * (cast_expression "(undefined4 *)(iVar13 + 0x63c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x63c)" ( (binary_expression "iVar13 + 0x63c" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000145e0();" (call_expression "FUN_000145e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));" (assignment_expression "iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c))" identifier = (call_expression "FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c))" identifier (argument_list "(*(undefined4 *)(iVar13 + 0x63c))" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x63c)" * (cast_expression "(undefined4 *)(iVar13 + 0x63c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x63c)" ( (binary_expression "iVar13 + 0x63c" identifier + number_literal) )))) )))) ;) (expression_statement "*(int *)(iVar1 + 0x4c) = iVar7;" (assignment_expression "*(int *)(iVar1 + 0x4c) = iVar7" (pointer_expression "*(int *)(iVar1 + 0x4c)" * (cast_expression "(int *)(iVar1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = iVar12;" (assignment_expression "iVar1 = iVar12" identifier = identifier) ;) (if_statement "if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }" { (expression_statement "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);" (assignment_expression "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7)" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x1ade4))(iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x1ade4))(iVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x1ade4))" ( (pointer_expression "**(code **)(puVar15 + 0x1ade4)" * (pointer_expression "*(code **)(puVar15 + 0x1ade4)" * (cast_expression "(code **)(puVar15 + 0x1ade4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x1ade4)" ( (binary_expression "puVar15 + 0x1ade4" identifier + number_literal) ))))) )) (argument_list "(iVar7)" ( identifier ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar13 + 0x63c);" (assignment_expression "uVar3 = *(undefined4 *)(iVar13 + 0x63c)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0x63c)" * (cast_expression "(undefined4 *)(iVar13 + 0x63c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x63c)" ( (binary_expression "iVar13 + 0x63c" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *piVar2;" (assignment_expression "iVar12 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) }) (else_clause "else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }" else (compound_statement "{\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }" { (labeled_statement "LAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);" statement_identifier : (expression_statement "iVar7 = full_write(iVar7,iVar9,iVar1);" (assignment_expression "iVar7 = full_write(iVar7,iVar9,iVar1)" identifier = (call_expression "full_write(iVar7,iVar9,iVar1)" identifier (argument_list "(iVar7,iVar9,iVar1)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (iVar7 == iVar1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar7 == iVar1)" ( (binary_expression "iVar7 == iVar1" identifier == identifier) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();" (assignment_expression "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))()" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x1ade4))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x1ade4))()" (parenthesized_expression "(**(code **)(puVar15 + 0x1ade4))" ( (pointer_expression "**(code **)(puVar15 + 0x1ade4)" * (pointer_expression "*(code **)(puVar15 + 0x1ade4)" * (cast_expression "(code **)(puVar15 + 0x1ade4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x1ade4)" ( (binary_expression "puVar15 + 0x1ade4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar12 = *piVar2;" (assignment_expression "iVar12 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }" if (parenthesized_expression "((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20))" ( (binary_expression "(*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)" (parenthesized_expression "(*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0)" ( (binary_expression "*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0" (pointer_expression "*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754)" * (cast_expression "(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x754)" ( (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x754" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar12 == 0x20)" ( (binary_expression "iVar12 == 0x20" identifier == number_literal) ))) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);" (assignment_expression "uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c)" * (cast_expression "(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x63c)" ( (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x63c" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) )))) + number_literal) ))))) ;) }))) (expression_statement "uVar3 = quotearg_n_style_colon(0,3,uVar3);" (assignment_expression "uVar3 = quotearg_n_style_colon(0,3,uVar3)" identifier = (call_expression "quotearg_n_style_colon(0,3,uVar3)" identifier (argument_list "(0,3,uVar3)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;" (assignment_expression "iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44" identifier = (binary_expression "*(int *)(puVar15 + 0x1ac44) + -0x2e44" (pointer_expression "*(int *)(puVar15 + 0x1ac44)" * (cast_expression "(int *)(puVar15 + 0x1ac44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac44)" ( (binary_expression "puVar15 + 0x1ac44" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);" (assignment_expression "iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3)" identifier = (call_expression "(**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3)" (parenthesized_expression "(**(code **)(puVar15 + 0x1ae34))" ( (pointer_expression "**(code **)(puVar15 + 0x1ae34)" * (pointer_expression "*(code **)(puVar15 + 0x1ae34)" * (cast_expression "(code **)(puVar15 + 0x1ae34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x1ae34)" ( (binary_expression "puVar15 + 0x1ae34" identifier + number_literal) ))))) )) (argument_list "(1,iVar12,iVar1,uVar3)" ( number_literal , identifier , identifier , identifier )))) ;) (labeled_statement "LAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }" statement_identifier : (if_statement "if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }" if (parenthesized_expression "((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       )" ( (binary_expression "(iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')" ( (comma_expression "iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0'" (assignment_expression "iVar7 = *(int *)(puVar15 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) ))))) , (binary_expression "*(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0'" (pointer_expression "*(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581)" * (cast_expression "(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x581)" ( (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x581" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void closeout(FILE *fp,int fd,pid_t pid,char *name)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint *puVar8;\n  size_t count;\n  size_t sVar9;\n  size_t *psVar10;\n  int iVar11;\n  void *buf;\n  int *piVar12;\n  uint signum;\n  code *pcVar13;\n  undefined *puVar14;\n  int wstatus;\n  char signame [19];\n  \n  puVar14 = PTR___stack_chk_guard_00030510;\n  iVar1 = *(int *)PTR___stack_chk_guard_00030510;\n  if (fp == (FILE *)0x0) {\n    if (fd < 0) goto LAB_00015408;\n    iVar2 = (*(code *)PTR_close_0003040c)(fd);\n    if (-1 < iVar2) goto LAB_000153c0;\n    puVar5 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar6 = *puVar5;\n    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n    pcVar13 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar6,PTR_DAT_000302d8 + -0x2e44,pcVar4);\nLAB_0001549c:\n    wstatus = 0;\n    iVar2 = (*pcVar13)(pid,&wstatus,0);\n    if (iVar2 == -1) {\n      puVar8 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      signum = *puVar8;\n      if (signum == 10) goto LAB_000154bc;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,signum,uVar6);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum);\nLAB_000154f8:\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pcVar4 = (char *)(signum + 0x80);\n    }\n    else {\nLAB_000154bc:\n      signum = wstatus & 0x7f;\n      if ('\0' < (char)((char)signum + '\x01') >> 1) {\n        if (signum == 0xd) goto LAB_00015410;\n        pid = (pid_t)signame;\n        iVar2 = sig2str(signum,(char *)pid);\n        if (iVar2 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18);\n      if (signum != 0) goto LAB_00015660;\n      if (pcVar4 == (char *)0x0) goto LAB_00015410;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pid = (pid_t)pcVar4;\n    }\n    (*(code *)PTR_error_000304c8)\n              (pcVar4,0,uVar6,pcVar7,pid,*(undefined4 *)(PTR_data_start_000302c8 + 0x754));\n  }\n  else {\n    iVar2 = rpl_fclose(fp);\n    if (iVar2 != 0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar2 = *piVar3;\n      if ((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)) {\n        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);\n      }\n    }\n    if (-1 < fd) {\nLAB_000153c0:\n      iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);\n      if (iVar2 != 0) {\n        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);\n        piVar3 = piVar12;\n        if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }\n        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;\n        *piVar3 = piVar12[iVar2 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar13 = (code *)PTR_waitpid_000304dc;\n    if (0 < pid) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (iVar1 == *(int *)puVar14) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  count = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  buf = (void *)0x0;\n  iVar1 = 1;\n  puVar14 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar1 == 0) {\n    iVar1 = *(int *)(*(int *)(puVar14 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar1 = *(int *)(puVar14 + 0x1ac34);\n  sVar9 = count;\n  if (buf == (void *)0x0) goto LAB_000157ac;\n  do {\n    iVar2 = *(int *)(puVar14 + 0x1ac34);\n    iVar11 = *(int *)(puVar14 + 0x1ac34);\n    closeout((FILE *)0x0,*(int *)(iVar11 + 0x4c),*(pid_t *)(iVar1 + 0x750),*(char **)(iVar2 + 0x63c)\n            );\n    next_file_name();\n    iVar1 = create(*(char **)(iVar2 + 0x63c));\n    *(int *)(iVar11 + 0x4c) = iVar1;\n    count = sVar9;\n    if (iVar1 < 0) {\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      pcVar4 = *(char **)(iVar2 + 0x63c);\n      sVar9 = *psVar10;\n    }\n    else {\nLAB_0001572c:\n      sVar9 = full_write(iVar1,buf,count);\n      if (sVar9 == count) {\n        return;\n      }\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      sVar9 = *psVar10;\n      if ((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)) {\n        return;\n      }\n      pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c);\n    }\n    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,pcVar4);\n    count = *(int *)(puVar14 + 0x1ac44) - 0x2e44;\n    iVar1 = (**(code **)(puVar14 + 0x1ae34))(1,sVar9,count,pcVar4);\nLAB_000157ac:\n    if ((count == 0) &&\n       (iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void closeout(FILE *fp,int fd,pid_t pid,char *name)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint *puVar8;\n  size_t count;\n  size_t sVar9;\n  size_t *psVar10;\n  int iVar11;\n  void *buf;\n  int *piVar12;\n  uint signum;\n  code *pcVar13;\n  undefined *puVar14;\n  int wstatus;\n  char signame [19];\n  \n  puVar14 = PTR___stack_chk_guard_00030510;\n  iVar1 = *(int *)PTR___stack_chk_guard_00030510;\n  if (fp == (FILE *)0x0) {\n    if (fd < 0) goto LAB_00015408;\n    iVar2 = (*(code *)PTR_close_0003040c)(fd);\n    if (-1 < iVar2) goto LAB_000153c0;\n    puVar5 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar6 = *puVar5;\n    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n    pcVar13 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar6,PTR_DAT_000302d8 + -0x2e44,pcVar4);\nLAB_0001549c:\n    wstatus = 0;\n    iVar2 = (*pcVar13)(pid,&wstatus,0);\n    if (iVar2 == -1) {\n      puVar8 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      signum = *puVar8;\n      if (signum == 10) goto LAB_000154bc;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,signum,uVar6);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum);\nLAB_000154f8:\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pcVar4 = (char *)(signum + 0x80);\n    }\n    else {\nLAB_000154bc:\n      signum = wstatus & 0x7f;\n      if ('\0' < (char)((char)signum + '\x01') >> 1) {\n        if (signum == 0xd) goto LAB_00015410;\n        pid = (pid_t)signame;\n        iVar2 = sig2str(signum,(char *)pid);\n        if (iVar2 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18);\n      if (signum != 0) goto LAB_00015660;\n      if (pcVar4 == (char *)0x0) goto LAB_00015410;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pid = (pid_t)pcVar4;\n    }\n    (*(code *)PTR_error_000304c8)\n              (pcVar4,0,uVar6,pcVar7,pid,*(undefined4 *)(PTR_data_start_000302c8 + 0x754));\n  }\n  else {\n    iVar2 = rpl_fclose(fp);\n    if (iVar2 != 0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar2 = *piVar3;\n      if ((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)) {\n        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);\n      }\n    }\n    if (-1 < fd) {\nLAB_000153c0:\n      iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);\n      if (iVar2 != 0) {\n        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);\n        piVar3 = piVar12;\n        if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }\n        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;\n        *piVar3 = piVar12[iVar2 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar13 = (code *)PTR_waitpid_000304dc;\n    if (0 < pid) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (iVar1 == *(int *)puVar14) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  count = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  buf = (void *)0x0;\n  iVar1 = 1;\n  puVar14 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar1 == 0) {\n    iVar1 = *(int *)(*(int *)(puVar14 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar1 = *(int *)(puVar14 + 0x1ac34);\n  sVar9 = count;\n  if (buf == (void *)0x0) goto LAB_000157ac;\n  do {\n    iVar2 = *(int *)(puVar14 + 0x1ac34);\n    iVar11 = *(int *)(puVar14 + 0x1ac34);\n    closeout((FILE *)0x0,*(int *)(iVar11 + 0x4c),*(pid_t *)(iVar1 + 0x750),*(char **)(iVar2 + 0x63c)\n            );\n    next_file_name();\n    iVar1 = create(*(char **)(iVar2 + 0x63c));\n    *(int *)(iVar11 + 0x4c) = iVar1;\n    count = sVar9;\n    if (iVar1 < 0) {\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      pcVar4 = *(char **)(iVar2 + 0x63c);\n      sVar9 = *psVar10;\n    }\n    else {\nLAB_0001572c:\n      sVar9 = full_write(iVar1,buf,count);\n      if (sVar9 == count) {\n        return;\n      }\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      sVar9 = *psVar10;\n      if ((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)) {\n        return;\n      }\n      pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c);\n    }\n    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,pcVar4);\n    count = *(int *)(puVar14 + 0x1ac44) - 0x2e44;\n    iVar1 = (**(code **)(puVar14 + 0x1ae34))(1,sVar9,count,pcVar4);\nLAB_000157ac:\n    if ((count == 0) &&\n       (iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "closeout(FILE *fp,int fd,pid_t pid,char *name)" identifier (parameter_list "(FILE *fp,int fd,pid_t pid,char *name)" ( (parameter_declaration "FILE *fp" type_identifier (pointer_declarator "*fp" * identifier)) , (parameter_declaration "int fd" primitive_type identifier) , (parameter_declaration "pid_t pid" type_identifier identifier) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint *puVar8;\n  size_t count;\n  size_t sVar9;\n  size_t *psVar10;\n  int iVar11;\n  void *buf;\n  int *piVar12;\n  uint signum;\n  code *pcVar13;\n  undefined *puVar14;\n  int wstatus;\n  char signame [19];\n  \n  puVar14 = PTR___stack_chk_guard_00030510;\n  iVar1 = *(int *)PTR___stack_chk_guard_00030510;\n  if (fp == (FILE *)0x0) {\n    if (fd < 0) goto LAB_00015408;\n    iVar2 = (*(code *)PTR_close_0003040c)(fd);\n    if (-1 < iVar2) goto LAB_000153c0;\n    puVar5 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar6 = *puVar5;\n    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n    pcVar13 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar6,PTR_DAT_000302d8 + -0x2e44,pcVar4);\nLAB_0001549c:\n    wstatus = 0;\n    iVar2 = (*pcVar13)(pid,&wstatus,0);\n    if (iVar2 == -1) {\n      puVar8 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      signum = *puVar8;\n      if (signum == 10) goto LAB_000154bc;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,signum,uVar6);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum);\nLAB_000154f8:\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pcVar4 = (char *)(signum + 0x80);\n    }\n    else {\nLAB_000154bc:\n      signum = wstatus & 0x7f;\n      if ('\0' < (char)((char)signum + '\x01') >> 1) {\n        if (signum == 0xd) goto LAB_00015410;\n        pid = (pid_t)signame;\n        iVar2 = sig2str(signum,(char *)pid);\n        if (iVar2 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18);\n      if (signum != 0) goto LAB_00015660;\n      if (pcVar4 == (char *)0x0) goto LAB_00015410;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pid = (pid_t)pcVar4;\n    }\n    (*(code *)PTR_error_000304c8)\n              (pcVar4,0,uVar6,pcVar7,pid,*(undefined4 *)(PTR_data_start_000302c8 + 0x754));\n  }\n  else {\n    iVar2 = rpl_fclose(fp);\n    if (iVar2 != 0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar2 = *piVar3;\n      if ((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)) {\n        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);\n      }\n    }\n    if (-1 < fd) {\nLAB_000153c0:\n      iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);\n      if (iVar2 != 0) {\n        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);\n        piVar3 = piVar12;\n        if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }\n        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;\n        *piVar3 = piVar12[iVar2 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar13 = (code *)PTR_waitpid_000304dc;\n    if (0 < pid) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (iVar1 == *(int *)puVar14) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  count = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  buf = (void *)0x0;\n  iVar1 = 1;\n  puVar14 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar1 == 0) {\n    iVar1 = *(int *)(*(int *)(puVar14 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar1 = *(int *)(puVar14 + 0x1ac34);\n  sVar9 = count;\n  if (buf == (void *)0x0) goto LAB_000157ac;\n  do {\n    iVar2 = *(int *)(puVar14 + 0x1ac34);\n    iVar11 = *(int *)(puVar14 + 0x1ac34);\n    closeout((FILE *)0x0,*(int *)(iVar11 + 0x4c),*(pid_t *)(iVar1 + 0x750),*(char **)(iVar2 + 0x63c)\n            );\n    next_file_name();\n    iVar1 = create(*(char **)(iVar2 + 0x63c));\n    *(int *)(iVar11 + 0x4c) = iVar1;\n    count = sVar9;\n    if (iVar1 < 0) {\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      pcVar4 = *(char **)(iVar2 + 0x63c);\n      sVar9 = *psVar10;\n    }\n    else {\nLAB_0001572c:\n      sVar9 = full_write(iVar1,buf,count);\n      if (sVar9 == count) {\n        return;\n      }\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      sVar9 = *psVar10;\n      if ((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)) {\n        return;\n      }\n      pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c);\n    }\n    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,pcVar4);\n    count = *(int *)(puVar14 + 0x1ac44) - 0x2e44;\n    iVar1 = (**(code **)(puVar14 + 0x1ae34))(1,sVar9,count,pcVar4);\nLAB_000157ac:\n    if ((count == 0) &&\n       (iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "size_t count;" primitive_type identifier ;) (declaration "size_t sVar9;" primitive_type identifier ;) (declaration "size_t *psVar10;" primitive_type (pointer_declarator "*psVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "void *buf;" primitive_type (pointer_declarator "*buf" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "uint signum;" type_identifier identifier ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int wstatus;" primitive_type identifier ;) (declaration "char signame [19];" primitive_type (array_declarator "signame [19]" identifier [ number_literal ]) ;) (expression_statement "puVar14 = PTR___stack_chk_guard_00030510;" (assignment_expression "puVar14 = PTR___stack_chk_guard_00030510" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_00030510;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_00030510" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00030510" * (cast_expression "(int *)PTR___stack_chk_guard_00030510" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (fp == (FILE *)0x0) {\n    if (fd < 0) goto LAB_00015408;\n    iVar2 = (*(code *)PTR_close_0003040c)(fd);\n    if (-1 < iVar2) goto LAB_000153c0;\n    puVar5 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar6 = *puVar5;\n    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n    pcVar13 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar6,PTR_DAT_000302d8 + -0x2e44,pcVar4);\nLAB_0001549c:\n    wstatus = 0;\n    iVar2 = (*pcVar13)(pid,&wstatus,0);\n    if (iVar2 == -1) {\n      puVar8 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      signum = *puVar8;\n      if (signum == 10) goto LAB_000154bc;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,signum,uVar6);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum);\nLAB_000154f8:\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pcVar4 = (char *)(signum + 0x80);\n    }\n    else {\nLAB_000154bc:\n      signum = wstatus & 0x7f;\n      if ('\0' < (char)((char)signum + '\x01') >> 1) {\n        if (signum == 0xd) goto LAB_00015410;\n        pid = (pid_t)signame;\n        iVar2 = sig2str(signum,(char *)pid);\n        if (iVar2 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18);\n      if (signum != 0) goto LAB_00015660;\n      if (pcVar4 == (char *)0x0) goto LAB_00015410;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pid = (pid_t)pcVar4;\n    }\n    (*(code *)PTR_error_000304c8)\n              (pcVar4,0,uVar6,pcVar7,pid,*(undefined4 *)(PTR_data_start_000302c8 + 0x754));\n  }\n  else {\n    iVar2 = rpl_fclose(fp);\n    if (iVar2 != 0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar2 = *piVar3;\n      if ((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)) {\n        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);\n      }\n    }\n    if (-1 < fd) {\nLAB_000153c0:\n      iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);\n      if (iVar2 != 0) {\n        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);\n        piVar3 = piVar12;\n        if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }\n        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;\n        *piVar3 = piVar12[iVar2 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar13 = (code *)PTR_waitpid_000304dc;\n    if (0 < pid) goto LAB_0001549c;\n  }" if (parenthesized_expression "(fp == (FILE *)0x0)" ( (binary_expression "fp == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (fd < 0) goto LAB_00015408;\n    iVar2 = (*(code *)PTR_close_0003040c)(fd);\n    if (-1 < iVar2) goto LAB_000153c0;\n    puVar5 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar6 = *puVar5;\n    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n    pcVar13 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar6,PTR_DAT_000302d8 + -0x2e44,pcVar4);\nLAB_0001549c:\n    wstatus = 0;\n    iVar2 = (*pcVar13)(pid,&wstatus,0);\n    if (iVar2 == -1) {\n      puVar8 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      signum = *puVar8;\n      if (signum == 10) goto LAB_000154bc;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,signum,uVar6);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum);\nLAB_000154f8:\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pcVar4 = (char *)(signum + 0x80);\n    }\n    else {\nLAB_000154bc:\n      signum = wstatus & 0x7f;\n      if ('\0' < (char)((char)signum + '\x01') >> 1) {\n        if (signum == 0xd) goto LAB_00015410;\n        pid = (pid_t)signame;\n        iVar2 = sig2str(signum,(char *)pid);\n        if (iVar2 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18);\n      if (signum != 0) goto LAB_00015660;\n      if (pcVar4 == (char *)0x0) goto LAB_00015410;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pid = (pid_t)pcVar4;\n    }\n    (*(code *)PTR_error_000304c8)\n              (pcVar4,0,uVar6,pcVar7,pid,*(undefined4 *)(PTR_data_start_000302c8 + 0x754));\n  }" { (if_statement "if (fd < 0) goto LAB_00015408;" if (parenthesized_expression "(fd < 0)" ( (binary_expression "fd < 0" identifier < number_literal) )) (goto_statement "goto LAB_00015408;" goto statement_identifier ;)) (expression_statement "iVar2 = (*(code *)PTR_close_0003040c)(fd);" (assignment_expression "iVar2 = (*(code *)PTR_close_0003040c)(fd)" identifier = (call_expression "(*(code *)PTR_close_0003040c)(fd)" (parenthesized_expression "(*(code *)PTR_close_0003040c)" ( (pointer_expression "*(code *)PTR_close_0003040c" * (cast_expression "(code *)PTR_close_0003040c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fd)" ( identifier )))) ;) (if_statement "if (-1 < iVar2) goto LAB_000153c0;" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (goto_statement "goto LAB_000153c0;" goto statement_identifier ;)) (expression_statement "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)PTR___errno_location_00030478)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00030478)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" ( (pointer_expression "*(code *)PTR___errno_location_00030478" * (cast_expression "(code *)PTR___errno_location_00030478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar6 = *puVar5;" (assignment_expression "uVar6 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);" (assignment_expression "pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name)" identifier = (call_expression "quotearg_n_style_colon(0,shell_escape_quoting_style,name)" identifier (argument_list "(0,shell_escape_quoting_style,name)" ( number_literal , identifier , identifier )))) ;) (expression_statement "pcVar13 = (code *)PTR_error_000304c8;" (assignment_expression "pcVar13 = (code *)PTR_error_000304c8" identifier = (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)PTR_error_000304c8)(1,uVar6,PTR_DAT_000302d8 + -0x2e44,pcVar4);" (call_expression "(*(code *)PTR_error_000304c8)(1,uVar6,PTR_DAT_000302d8 + -0x2e44,pcVar4)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,uVar6,PTR_DAT_000302d8 + -0x2e44,pcVar4)" ( number_literal , identifier , (binary_expression "PTR_DAT_000302d8 + -0x2e44" identifier + number_literal) , identifier ))) ;) (labeled_statement "LAB_0001549c:\n    wstatus = 0;" statement_identifier : (expression_statement "wstatus = 0;" (assignment_expression "wstatus = 0" identifier = number_literal) ;)) (expression_statement "iVar2 = (*pcVar13)(pid,&wstatus,0);" (assignment_expression "iVar2 = (*pcVar13)(pid,&wstatus,0)" identifier = (call_expression "(*pcVar13)(pid,&wstatus,0)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(pid,&wstatus,0)" ( identifier , (pointer_expression "&wstatus" & identifier) , number_literal )))) ;) (if_statement "if (iVar2 == -1) {\n      puVar8 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      signum = *puVar8;\n      if (signum == 10) goto LAB_000154bc;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,signum,uVar6);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum);\nLAB_000154f8:\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pcVar4 = (char *)(signum + 0x80);\n    }\n    else {\nLAB_000154bc:\n      signum = wstatus & 0x7f;\n      if ('\0' < (char)((char)signum + '\x01') >> 1) {\n        if (signum == 0xd) goto LAB_00015410;\n        pid = (pid_t)signame;\n        iVar2 = sig2str(signum,(char *)pid);\n        if (iVar2 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18);\n      if (signum != 0) goto LAB_00015660;\n      if (pcVar4 == (char *)0x0) goto LAB_00015410;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pid = (pid_t)pcVar4;\n    }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n      puVar8 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      signum = *puVar8;\n      if (signum == 10) goto LAB_000154bc;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,signum,uVar6);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum);\nLAB_000154f8:\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pcVar4 = (char *)(signum + 0x80);\n    }" { (expression_statement "puVar8 = (uint *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "puVar8 = (uint *)(*(code *)PTR___errno_location_00030478)()" identifier = (cast_expression "(uint *)(*(code *)PTR___errno_location_00030478)()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" ( (pointer_expression "*(code *)PTR___errno_location_00030478" * (cast_expression "(code *)PTR___errno_location_00030478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "signum = *puVar8;" (assignment_expression "signum = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (if_statement "if (signum == 10) goto LAB_000154bc;" if (parenthesized_expression "(signum == 10)" ( (binary_expression "signum == 10" identifier == number_literal) )) (goto_statement "goto LAB_000154bc;" goto statement_identifier ;)) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2eb4,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2eb4" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_000304c8)(1,signum,uVar6);" (call_expression "(*(code *)PTR_error_000304c8)(1,signum,uVar6)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,signum,uVar6)" ( number_literal , identifier , identifier ))) ;) (labeled_statement "LAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum);" statement_identifier : (expression_statement "(*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum);" (call_expression "(*(code *)PTR___sprintf_chk_000303f8)(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000303f8)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000303f8" * (cast_expression "(code *)PTR___sprintf_chk_000303f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pid,1,0x13,PTR_DAT_000302d8 + -0x2e98,signum)" ( identifier , number_literal , number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e98" identifier + number_literal) , identifier ))) ;)) (labeled_statement "LAB_000154f8:\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);" statement_identifier : (expression_statement "uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2e94,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e94" identifier + number_literal) , number_literal )))) ;)) (expression_statement "pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);" (assignment_expression "pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name)" identifier = (call_expression "quotearg_n_style_colon(0,shell_escape_quoting_style,name)" identifier (argument_list "(0,shell_escape_quoting_style,name)" ( number_literal , identifier , identifier )))) ;) (expression_statement "pcVar4 = (char *)(signum + 0x80);" (assignment_expression "pcVar4 = (char *)(signum + 0x80)" identifier = (cast_expression "(char *)(signum + 0x80)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(signum + 0x80)" ( (binary_expression "signum + 0x80" identifier + number_literal) )))) ;) }) (else_clause "else {\nLAB_000154bc:\n      signum = wstatus & 0x7f;\n      if ('\0' < (char)((char)signum + '\x01') >> 1) {\n        if (signum == 0xd) goto LAB_00015410;\n        pid = (pid_t)signame;\n        iVar2 = sig2str(signum,(char *)pid);\n        if (iVar2 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18);\n      if (signum != 0) goto LAB_00015660;\n      if (pcVar4 == (char *)0x0) goto LAB_00015410;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pid = (pid_t)pcVar4;\n    }" else (compound_statement "{\nLAB_000154bc:\n      signum = wstatus & 0x7f;\n      if ('\0' < (char)((char)signum + '\x01') >> 1) {\n        if (signum == 0xd) goto LAB_00015410;\n        pid = (pid_t)signame;\n        iVar2 = sig2str(signum,(char *)pid);\n        if (iVar2 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18);\n      if (signum != 0) goto LAB_00015660;\n      if (pcVar4 == (char *)0x0) goto LAB_00015410;\n      uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n      pid = (pid_t)pcVar4;\n    }" { (labeled_statement "LAB_000154bc:\n      signum = wstatus & 0x7f;" statement_identifier : (expression_statement "signum = wstatus & 0x7f;" (assignment_expression "signum = wstatus & 0x7f" identifier = (binary_expression "wstatus & 0x7f" identifier & number_literal)) ;)) (if_statement "if ('\0' < (char)((char)signum + '\x01') >> 1) {\n        if (signum == 0xd) goto LAB_00015410;\n        pid = (pid_t)signame;\n        iVar2 = sig2str(signum,(char *)pid);\n        if (iVar2 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }" if (parenthesized_expression "('\0' < (char)((char)signum + '\x01') >> 1)" ( (binary_expression "'\0' < (char)((char)signum + '\x01') >> 1" (char_literal "'\0'" ' escape_sequence ') < (binary_expression "(char)((char)signum + '\x01') >> 1" (cast_expression "(char)((char)signum + '\x01')" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((char)signum + '\x01')" ( (binary_expression "(char)signum + '\x01'" (cast_expression "(char)signum" ( (type_descriptor "char" primitive_type) ) identifier) + (char_literal "'\x01'" ' escape_sequence ')) ))) >> number_literal)) )) (compound_statement "{\n        if (signum == 0xd) goto LAB_00015410;\n        pid = (pid_t)signame;\n        iVar2 = sig2str(signum,(char *)pid);\n        if (iVar2 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }" { (if_statement "if (signum == 0xd) goto LAB_00015410;" if (parenthesized_expression "(signum == 0xd)" ( (binary_expression "signum == 0xd" identifier == number_literal) )) (goto_statement "goto LAB_00015410;" goto statement_identifier ;)) (expression_statement "pid = (pid_t)signame;" (assignment_expression "pid = (pid_t)signame" identifier = (cast_expression "(pid_t)signame" ( (type_descriptor "pid_t" type_identifier) ) identifier)) ;) (expression_statement "iVar2 = sig2str(signum,(char *)pid);" (assignment_expression "iVar2 = sig2str(signum,(char *)pid)" identifier = (call_expression "sig2str(signum,(char *)pid)" identifier (argument_list "(signum,(char *)pid)" ( identifier , (cast_expression "(char *)pid" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar2 != 0) goto LAB_0001562c;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001562c;" goto statement_identifier ;)) (goto_statement "goto LAB_000154f8;" goto statement_identifier ;) })) (expression_statement "pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18);" (assignment_expression "pcVar4 = (char *)((uint)(wstatus << 0x10) >> 0x18)" identifier = (cast_expression "(char *)((uint)(wstatus << 0x10) >> 0x18)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(wstatus << 0x10) >> 0x18)" ( (binary_expression "(uint)(wstatus << 0x10) >> 0x18" (call_expression "(uint)(wstatus << 0x10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(wstatus << 0x10)" ( (binary_expression "wstatus << 0x10" identifier << number_literal) ))) >> number_literal) )))) ;) (if_statement "if (signum != 0) goto LAB_00015660;" if (parenthesized_expression "(signum != 0)" ( (binary_expression "signum != 0" identifier != number_literal) )) (goto_statement "goto LAB_00015660;" goto statement_identifier ;)) (if_statement "if (pcVar4 == (char *)0x0) goto LAB_00015410;" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00015410;" goto statement_identifier ;)) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2e68,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e68" identifier + number_literal) , number_literal )))) ;) (expression_statement "pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);" (assignment_expression "pcVar7 = quotearg_n_style_colon(0,shell_escape_quoting_style,name)" identifier = (call_expression "quotearg_n_style_colon(0,shell_escape_quoting_style,name)" identifier (argument_list "(0,shell_escape_quoting_style,name)" ( number_literal , identifier , identifier )))) ;) (expression_statement "pid = (pid_t)pcVar4;" (assignment_expression "pid = (pid_t)pcVar4" identifier = (cast_expression "(pid_t)pcVar4" ( (type_descriptor "pid_t" type_identifier) ) identifier)) ;) }))) (expression_statement "(*(code *)PTR_error_000304c8)\n              (pcVar4,0,uVar6,pcVar7,pid,*(undefined4 *)(PTR_data_start_000302c8 + 0x754));" (call_expression "(*(code *)PTR_error_000304c8)\n              (pcVar4,0,uVar6,pcVar7,pid,*(undefined4 *)(PTR_data_start_000302c8 + 0x754))" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,0,uVar6,pcVar7,pid,*(undefined4 *)(PTR_data_start_000302c8 + 0x754))" ( identifier , number_literal , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(PTR_data_start_000302c8 + 0x754)" * (cast_expression "(undefined4 *)(PTR_data_start_000302c8 + 0x754)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_000302c8 + 0x754)" ( (binary_expression "PTR_data_start_000302c8 + 0x754" identifier + number_literal) )))) ))) ;) }) (else_clause "else {\n    iVar2 = rpl_fclose(fp);\n    if (iVar2 != 0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar2 = *piVar3;\n      if ((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)) {\n        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);\n      }\n    }\n    if (-1 < fd) {\nLAB_000153c0:\n      iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);\n      if (iVar2 != 0) {\n        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);\n        piVar3 = piVar12;\n        if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }\n        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;\n        *piVar3 = piVar12[iVar2 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar13 = (code *)PTR_waitpid_000304dc;\n    if (0 < pid) goto LAB_0001549c;\n  }" else (compound_statement "{\n    iVar2 = rpl_fclose(fp);\n    if (iVar2 != 0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar2 = *piVar3;\n      if ((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)) {\n        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);\n      }\n    }\n    if (-1 < fd) {\nLAB_000153c0:\n      iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);\n      if (iVar2 != 0) {\n        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);\n        piVar3 = piVar12;\n        if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }\n        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;\n        *piVar3 = piVar12[iVar2 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar13 = (code *)PTR_waitpid_000304dc;\n    if (0 < pid) goto LAB_0001549c;\n  }" { (expression_statement "iVar2 = rpl_fclose(fp);" (assignment_expression "iVar2 = rpl_fclose(fp)" identifier = (call_expression "rpl_fclose(fp)" identifier (argument_list "(fp)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar2 = *piVar3;\n      if ((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)) {\n        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar3 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar2 = *piVar3;\n      if ((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)) {\n        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);\n      }\n    }" { (expression_statement "piVar3 = (int *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___errno_location_00030478)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_00030478)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" ( (pointer_expression "*(code *)PTR___errno_location_00030478" * (cast_expression "(code *)PTR___errno_location_00030478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if ((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)) {\n        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);\n      }" if (parenthesized_expression "((*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20))" ( (binary_expression "(*(int *)(PTR_data_start_000302c8 + 0x754) == 0) || (iVar2 != 0x20)" (parenthesized_expression "(*(int *)(PTR_data_start_000302c8 + 0x754) == 0)" ( (binary_expression "*(int *)(PTR_data_start_000302c8 + 0x754) == 0" (pointer_expression "*(int *)(PTR_data_start_000302c8 + 0x754)" * (cast_expression "(int *)(PTR_data_start_000302c8 + 0x754)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_000302c8 + 0x754)" ( (binary_expression "PTR_data_start_000302c8 + 0x754" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(iVar2 != 0x20)" ( (binary_expression "iVar2 != 0x20" identifier != number_literal) ))) )) (compound_statement "{\n        pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);\n        (*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);\n      }" { (expression_statement "pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name);" (assignment_expression "pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,name)" identifier = (call_expression "quotearg_n_style_colon(0,shell_escape_quoting_style,name)" identifier (argument_list "(0,shell_escape_quoting_style,name)" ( number_literal , identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4);" (call_expression "(*(code *)PTR_error_000304c8)(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,iVar2,PTR_DAT_000302d8 + -0x2e44,pcVar4)" ( number_literal , identifier , (binary_expression "PTR_DAT_000302d8 + -0x2e44" identifier + number_literal) , identifier ))) ;) })) })) (if_statement "if (-1 < fd) {\nLAB_000153c0:\n      iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);\n      if (iVar2 != 0) {\n        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);\n        piVar3 = piVar12;\n        if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }\n        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;\n        *piVar3 = piVar12[iVar2 + -1];\n      }\n    }" if (parenthesized_expression "(-1 < fd)" ( (binary_expression "-1 < fd" number_literal < identifier) )) (compound_statement "{\nLAB_000153c0:\n      iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);\n      if (iVar2 != 0) {\n        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);\n        piVar3 = piVar12;\n        if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }\n        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;\n        *piVar3 = piVar12[iVar2 + -1];\n      }\n    }" { (labeled_statement "LAB_000153c0:\n      iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);" statement_identifier : (expression_statement "iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744);" (assignment_expression "iVar2 = *(int *)(PTR_data_start_000302c8 + 0x744)" identifier = (pointer_expression "*(int *)(PTR_data_start_000302c8 + 0x744)" * (cast_expression "(int *)(PTR_data_start_000302c8 + 0x744)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_000302c8 + 0x744)" ( (binary_expression "PTR_data_start_000302c8 + 0x744" identifier + number_literal) ))))) ;)) (if_statement "if (iVar2 != 0) {\n        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);\n        piVar3 = piVar12;\n        if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }\n        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;\n        *piVar3 = piVar12[iVar2 + -1];\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);\n        piVar3 = piVar12;\n        if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }\n        *(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;\n        *piVar3 = piVar12[iVar2 + -1];\n      }" { (expression_statement "piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c);" (assignment_expression "piVar12 = *(int **)(PTR_data_start_000302c8 + 0x74c)" identifier = (pointer_expression "*(int **)(PTR_data_start_000302c8 + 0x74c)" * (cast_expression "(int **)(PTR_data_start_000302c8 + 0x74c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_data_start_000302c8 + 0x74c)" ( (binary_expression "PTR_data_start_000302c8 + 0x74c" identifier + number_literal) ))))) ;) (expression_statement "piVar3 = piVar12;" (assignment_expression "piVar3 = piVar12" identifier = identifier) ;) (if_statement "if (fd != *piVar12) {\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }" if (parenthesized_expression "(fd != *piVar12)" ( (binary_expression "fd != *piVar12" identifier != (pointer_expression "*piVar12" * identifier)) )) (compound_statement "{\n          iVar11 = 0;\n          do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);\n        }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          } while (*piVar3 != fd);" do (compound_statement "{\n            piVar3 = piVar3 + 1;\n            iVar11 = iVar11 + 1;\n            if (iVar11 == iVar2) goto LAB_00015408;\n          }" { (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (if_statement "if (iVar11 == iVar2) goto LAB_00015408;" if (parenthesized_expression "(iVar11 == iVar2)" ( (binary_expression "iVar11 == iVar2" identifier == identifier) )) (goto_statement "goto LAB_00015408;" goto statement_identifier ;)) }) while (parenthesized_expression "(*piVar3 != fd)" ( (binary_expression "*piVar3 != fd" (pointer_expression "*piVar3" * identifier) != identifier) )) ;) })) (expression_statement "*(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1;" (assignment_expression "*(int *)(PTR_data_start_000302c8 + 0x744) = iVar2 + -1" (pointer_expression "*(int *)(PTR_data_start_000302c8 + 0x744)" * (cast_expression "(int *)(PTR_data_start_000302c8 + 0x744)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_000302c8 + 0x744)" ( (binary_expression "PTR_data_start_000302c8 + 0x744" identifier + number_literal) )))) = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "*piVar3 = piVar12[iVar2 + -1];" (assignment_expression "*piVar3 = piVar12[iVar2 + -1]" (pointer_expression "*piVar3" * identifier) = (subscript_expression "piVar12[iVar2 + -1]" identifier [ (binary_expression "iVar2 + -1" identifier + number_literal) ])) ;) })) })) (labeled_statement "LAB_00015408:\n    pcVar13 = (code *)PTR_waitpid_000304dc;" statement_identifier : (expression_statement "pcVar13 = (code *)PTR_waitpid_000304dc;" (assignment_expression "pcVar13 = (code *)PTR_waitpid_000304dc" identifier = (cast_expression "(code *)PTR_waitpid_000304dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (if_statement "if (0 < pid) goto LAB_0001549c;" if (parenthesized_expression "(0 < pid)" ( (binary_expression "0 < pid" number_literal < identifier) )) (goto_statement "goto LAB_0001549c;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00015410:\n  if (iVar1 == *(int *)puVar14) {\n    return;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)puVar14) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar14)" ( (binary_expression "iVar1 == *(int *)puVar14" identifier == (pointer_expression "*(int *)puVar14" * (cast_expression "(int *)puVar14" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_000304f4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000304f4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000304f4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000304f4" * (cast_expression "(code *)PTR___stack_chk_fail_000304f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_00015660:\n  count = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);" statement_identifier : (expression_statement "count = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);" (assignment_expression "count = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2e40,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e40" identifier + number_literal) , number_literal )))) ;)) (expression_statement "buf = (void *)0x0;" (assignment_expression "buf = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "puVar14 = PTR_error_000304c8;" (assignment_expression "puVar14 = PTR_error_000304c8" identifier = identifier) ;) (expression_statement "(*(code *)PTR_error_000304c8)();" (call_expression "(*(code *)PTR_error_000304c8)()" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = *(int *)(*(int *)(puVar14 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(*(int *)(puVar14 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }" { (expression_statement "iVar1 = *(int *)(*(int *)(puVar14 + 0x1ac34) + 0x4c);" (assignment_expression "iVar1 = *(int *)(*(int *)(puVar14 + 0x1ac34) + 0x4c)" identifier = (pointer_expression "*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x4c)" * (cast_expression "(int *)(*(int *)(puVar14 + 0x1ac34) + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + 0x1ac34) + 0x4c)" ( (binary_expression "*(int *)(puVar14 + 0x1ac34) + 0x4c" (pointer_expression "*(int *)(puVar14 + 0x1ac34)" * (cast_expression "(int *)(puVar14 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x1ac34)" ( (binary_expression "puVar14 + 0x1ac34" identifier + number_literal) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_0001572c;" goto statement_identifier ;) })) (expression_statement "iVar1 = *(int *)(puVar14 + 0x1ac34);" (assignment_expression "iVar1 = *(int *)(puVar14 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar14 + 0x1ac34)" * (cast_expression "(int *)(puVar14 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x1ac34)" ( (binary_expression "puVar14 + 0x1ac34" identifier + number_literal) ))))) ;) (expression_statement "sVar9 = count;" (assignment_expression "sVar9 = count" identifier = identifier) ;) (if_statement "if (buf == (void *)0x0) goto LAB_000157ac;" if (parenthesized_expression "(buf == (void *)0x0)" ( (binary_expression "buf == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000157ac;" goto statement_identifier ;)) (do_statement "do {\n    iVar2 = *(int *)(puVar14 + 0x1ac34);\n    iVar11 = *(int *)(puVar14 + 0x1ac34);\n    closeout((FILE *)0x0,*(int *)(iVar11 + 0x4c),*(pid_t *)(iVar1 + 0x750),*(char **)(iVar2 + 0x63c)\n            );\n    next_file_name();\n    iVar1 = create(*(char **)(iVar2 + 0x63c));\n    *(int *)(iVar11 + 0x4c) = iVar1;\n    count = sVar9;\n    if (iVar1 < 0) {\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      pcVar4 = *(char **)(iVar2 + 0x63c);\n      sVar9 = *psVar10;\n    }\n    else {\nLAB_0001572c:\n      sVar9 = full_write(iVar1,buf,count);\n      if (sVar9 == count) {\n        return;\n      }\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      sVar9 = *psVar10;\n      if ((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)) {\n        return;\n      }\n      pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c);\n    }\n    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,pcVar4);\n    count = *(int *)(puVar14 + 0x1ac44) - 0x2e44;\n    iVar1 = (**(code **)(puVar14 + 0x1ae34))(1,sVar9,count,pcVar4);\nLAB_000157ac:\n    if ((count == 0) &&\n       (iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    iVar2 = *(int *)(puVar14 + 0x1ac34);\n    iVar11 = *(int *)(puVar14 + 0x1ac34);\n    closeout((FILE *)0x0,*(int *)(iVar11 + 0x4c),*(pid_t *)(iVar1 + 0x750),*(char **)(iVar2 + 0x63c)\n            );\n    next_file_name();\n    iVar1 = create(*(char **)(iVar2 + 0x63c));\n    *(int *)(iVar11 + 0x4c) = iVar1;\n    count = sVar9;\n    if (iVar1 < 0) {\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      pcVar4 = *(char **)(iVar2 + 0x63c);\n      sVar9 = *psVar10;\n    }\n    else {\nLAB_0001572c:\n      sVar9 = full_write(iVar1,buf,count);\n      if (sVar9 == count) {\n        return;\n      }\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      sVar9 = *psVar10;\n      if ((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)) {\n        return;\n      }\n      pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c);\n    }\n    pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,pcVar4);\n    count = *(int *)(puVar14 + 0x1ac44) - 0x2e44;\n    iVar1 = (**(code **)(puVar14 + 0x1ae34))(1,sVar9,count,pcVar4);\nLAB_000157ac:\n    if ((count == 0) &&\n       (iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return;\n    }\n  }" { (expression_statement "iVar2 = *(int *)(puVar14 + 0x1ac34);" (assignment_expression "iVar2 = *(int *)(puVar14 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar14 + 0x1ac34)" * (cast_expression "(int *)(puVar14 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x1ac34)" ( (binary_expression "puVar14 + 0x1ac34" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(puVar14 + 0x1ac34);" (assignment_expression "iVar11 = *(int *)(puVar14 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar14 + 0x1ac34)" * (cast_expression "(int *)(puVar14 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x1ac34)" ( (binary_expression "puVar14 + 0x1ac34" identifier + number_literal) ))))) ;) (expression_statement "closeout((FILE *)0x0,*(int *)(iVar11 + 0x4c),*(pid_t *)(iVar1 + 0x750),*(char **)(iVar2 + 0x63c)\n            );" (call_expression "closeout((FILE *)0x0,*(int *)(iVar11 + 0x4c),*(pid_t *)(iVar1 + 0x750),*(char **)(iVar2 + 0x63c)\n            )" identifier (argument_list "((FILE *)0x0,*(int *)(iVar11 + 0x4c),*(pid_t *)(iVar1 + 0x750),*(char **)(iVar2 + 0x63c)\n            )" ( (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (pointer_expression "*(int *)(iVar11 + 0x4c)" * (cast_expression "(int *)(iVar11 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x4c)" ( (binary_expression "iVar11 + 0x4c" identifier + number_literal) )))) , (pointer_expression "*(pid_t *)(iVar1 + 0x750)" * (cast_expression "(pid_t *)(iVar1 + 0x750)" ( (type_descriptor "pid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x750)" ( (binary_expression "iVar1 + 0x750" identifier + number_literal) )))) , (pointer_expression "*(char **)(iVar2 + 0x63c)" * (cast_expression "(char **)(iVar2 + 0x63c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x63c)" ( (binary_expression "iVar2 + 0x63c" identifier + number_literal) )))) ))) ;) (expression_statement "next_file_name();" (call_expression "next_file_name()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = create(*(char **)(iVar2 + 0x63c));" (assignment_expression "iVar1 = create(*(char **)(iVar2 + 0x63c))" identifier = (call_expression "create(*(char **)(iVar2 + 0x63c))" identifier (argument_list "(*(char **)(iVar2 + 0x63c))" ( (pointer_expression "*(char **)(iVar2 + 0x63c)" * (cast_expression "(char **)(iVar2 + 0x63c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x63c)" ( (binary_expression "iVar2 + 0x63c" identifier + number_literal) )))) )))) ;) (expression_statement "*(int *)(iVar11 + 0x4c) = iVar1;" (assignment_expression "*(int *)(iVar11 + 0x4c) = iVar1" (pointer_expression "*(int *)(iVar11 + 0x4c)" * (cast_expression "(int *)(iVar11 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x4c)" ( (binary_expression "iVar11 + 0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "count = sVar9;" (assignment_expression "count = sVar9" identifier = identifier) ;) (if_statement "if (iVar1 < 0) {\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      pcVar4 = *(char **)(iVar2 + 0x63c);\n      sVar9 = *psVar10;\n    }\n    else {\nLAB_0001572c:\n      sVar9 = full_write(iVar1,buf,count);\n      if (sVar9 == count) {\n        return;\n      }\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      sVar9 = *psVar10;\n      if ((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)) {\n        return;\n      }\n      pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c);\n    }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      pcVar4 = *(char **)(iVar2 + 0x63c);\n      sVar9 = *psVar10;\n    }" { (expression_statement "psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();" (assignment_expression "psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))()" identifier = (cast_expression "(size_t *)(**(code **)(puVar14 + 0x1ade4))()" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar14 + 0x1ade4))()" (parenthesized_expression "(**(code **)(puVar14 + 0x1ade4))" ( (pointer_expression "**(code **)(puVar14 + 0x1ade4)" * (pointer_expression "*(code **)(puVar14 + 0x1ade4)" * (cast_expression "(code **)(puVar14 + 0x1ade4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x1ade4)" ( (binary_expression "puVar14 + 0x1ade4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "pcVar4 = *(char **)(iVar2 + 0x63c);" (assignment_expression "pcVar4 = *(char **)(iVar2 + 0x63c)" identifier = (pointer_expression "*(char **)(iVar2 + 0x63c)" * (cast_expression "(char **)(iVar2 + 0x63c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x63c)" ( (binary_expression "iVar2 + 0x63c" identifier + number_literal) ))))) ;) (expression_statement "sVar9 = *psVar10;" (assignment_expression "sVar9 = *psVar10" identifier = (pointer_expression "*psVar10" * identifier)) ;) }) (else_clause "else {\nLAB_0001572c:\n      sVar9 = full_write(iVar1,buf,count);\n      if (sVar9 == count) {\n        return;\n      }\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      sVar9 = *psVar10;\n      if ((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)) {\n        return;\n      }\n      pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c);\n    }" else (compound_statement "{\nLAB_0001572c:\n      sVar9 = full_write(iVar1,buf,count);\n      if (sVar9 == count) {\n        return;\n      }\n      psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();\n      sVar9 = *psVar10;\n      if ((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)) {\n        return;\n      }\n      pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c);\n    }" { (labeled_statement "LAB_0001572c:\n      sVar9 = full_write(iVar1,buf,count);" statement_identifier : (expression_statement "sVar9 = full_write(iVar1,buf,count);" (assignment_expression "sVar9 = full_write(iVar1,buf,count)" identifier = (call_expression "full_write(iVar1,buf,count)" identifier (argument_list "(iVar1,buf,count)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (sVar9 == count) {\n        return;\n      }" if (parenthesized_expression "(sVar9 == count)" ( (binary_expression "sVar9 == count" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))();" (assignment_expression "psVar10 = (size_t *)(**(code **)(puVar14 + 0x1ade4))()" identifier = (cast_expression "(size_t *)(**(code **)(puVar14 + 0x1ade4))()" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar14 + 0x1ade4))()" (parenthesized_expression "(**(code **)(puVar14 + 0x1ade4))" ( (pointer_expression "**(code **)(puVar14 + 0x1ade4)" * (pointer_expression "*(code **)(puVar14 + 0x1ade4)" * (cast_expression "(code **)(puVar14 + 0x1ade4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x1ade4)" ( (binary_expression "puVar14 + 0x1ade4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "sVar9 = *psVar10;" (assignment_expression "sVar9 = *psVar10" identifier = (pointer_expression "*psVar10" * identifier)) ;) (if_statement "if ((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)) {\n        return;\n      }" if (parenthesized_expression "((*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20))" ( (binary_expression "(*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0) && (sVar9 == 0x20)" (parenthesized_expression "(*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0)" ( (binary_expression "*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754) != 0" (pointer_expression "*(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754)" * (cast_expression "(int *)(*(int *)(puVar14 + 0x1ac34) + 0x754)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + 0x1ac34) + 0x754)" ( (binary_expression "*(int *)(puVar14 + 0x1ac34) + 0x754" (pointer_expression "*(int *)(puVar14 + 0x1ac34)" * (cast_expression "(int *)(puVar14 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x1ac34)" ( (binary_expression "puVar14 + 0x1ac34" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(sVar9 == 0x20)" ( (binary_expression "sVar9 == 0x20" identifier == number_literal) ))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c);" (assignment_expression "pcVar4 = *(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c)" identifier = (pointer_expression "*(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c)" * (cast_expression "(char **)(*(int *)(puVar14 + 0x1ac34) + 0x63c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar14 + 0x1ac34) + 0x63c)" ( (binary_expression "*(int *)(puVar14 + 0x1ac34) + 0x63c" (pointer_expression "*(int *)(puVar14 + 0x1ac34)" * (cast_expression "(int *)(puVar14 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x1ac34)" ( (binary_expression "puVar14 + 0x1ac34" identifier + number_literal) )))) + number_literal) ))))) ;) }))) (expression_statement "pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,pcVar4);" (assignment_expression "pcVar4 = quotearg_n_style_colon(0,shell_escape_quoting_style,pcVar4)" identifier = (call_expression "quotearg_n_style_colon(0,shell_escape_quoting_style,pcVar4)" identifier (argument_list "(0,shell_escape_quoting_style,pcVar4)" ( number_literal , identifier , identifier )))) ;) (expression_statement "count = *(int *)(puVar14 + 0x1ac44) - 0x2e44;" (assignment_expression "count = *(int *)(puVar14 + 0x1ac44) - 0x2e44" identifier = (binary_expression "*(int *)(puVar14 + 0x1ac44) - 0x2e44" (pointer_expression "*(int *)(puVar14 + 0x1ac44)" * (cast_expression "(int *)(puVar14 + 0x1ac44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x1ac44)" ( (binary_expression "puVar14 + 0x1ac44" identifier + number_literal) )))) - number_literal)) ;) (expression_statement "iVar1 = (**(code **)(puVar14 + 0x1ae34))(1,sVar9,count,pcVar4);" (assignment_expression "iVar1 = (**(code **)(puVar14 + 0x1ae34))(1,sVar9,count,pcVar4)" identifier = (call_expression "(**(code **)(puVar14 + 0x1ae34))(1,sVar9,count,pcVar4)" (parenthesized_expression "(**(code **)(puVar14 + 0x1ae34))" ( (pointer_expression "**(code **)(puVar14 + 0x1ae34)" * (pointer_expression "*(code **)(puVar14 + 0x1ae34)" * (cast_expression "(code **)(puVar14 + 0x1ae34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0x1ae34)" ( (binary_expression "puVar14 + 0x1ae34" identifier + number_literal) ))))) )) (argument_list "(1,sVar9,count,pcVar4)" ( number_literal , identifier , identifier , identifier )))) ;) (labeled_statement "LAB_000157ac:\n    if ((count == 0) &&\n       (iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return;\n    }" statement_identifier : (if_statement "if ((count == 0) &&\n       (iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return;\n    }" if (parenthesized_expression "((count == 0) &&\n       (iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')\n       )" ( (binary_expression "(count == 0) &&\n       (iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')" (parenthesized_expression "(count == 0)" ( (binary_expression "count == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0')" ( (comma_expression "iVar1 = *(int *)(puVar14 + 0x1ac34), *(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0'" (assignment_expression "iVar1 = *(int *)(puVar14 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar14 + 0x1ac34)" * (cast_expression "(int *)(puVar14 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x1ac34)" ( (binary_expression "puVar14 + 0x1ac34" identifier + number_literal) ))))) , (binary_expression "*(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581) != '\0'" (pointer_expression "*(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581)" * (cast_expression "(char *)(*(int *)(puVar14 + 0x1ac34) + 0x581)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + 0x1ac34) + 0x581)" ( (binary_expression "*(int *)(puVar14 + 0x1ac34) + 0x581" (pointer_expression "*(int *)(puVar14 + 0x1ac34)" * (cast_expression "(int *)(puVar14 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0x1ac34)" ( (binary_expression "puVar14 + 0x1ac34" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "int FUN_000152fc(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  code *pcVar14;\n  undefined *puVar15;\n  uint local_34;\n  undefined1 auStack_30 [20];\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00030510;\n  local_1c = *(int *)PTR___stack_chk_guard_00030510;\n  if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  iVar9 = 0;\n  iVar7 = 1;\n  puVar15 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar7 = *(int *)(puVar15 + 0x1ac34);\n  iVar12 = iVar1;\n  if (iVar9 == 0) goto LAB_000157ac;\n  do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );\n}\n\n" (function_definition "int FUN_000152fc(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  code *pcVar14;\n  undefined *puVar15;\n  uint local_34;\n  undefined1 auStack_30 [20];\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00030510;\n  local_1c = *(int *)PTR___stack_chk_guard_00030510;\n  if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  iVar9 = 0;\n  iVar7 = 1;\n  puVar15 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar7 = *(int *)(puVar15 + 0x1ac34);\n  iVar12 = iVar1;\n  if (iVar9 == 0) goto LAB_000157ac;\n  do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_000152fc(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  code *pcVar14;\n  undefined *puVar15;\n  uint local_34;\n  undefined1 auStack_30 [20];\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00030510;\n  local_1c = *(int *)PTR___stack_chk_guard_00030510;\n  if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  iVar9 = 0;\n  iVar7 = 1;\n  puVar15 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar7 = *(int *)(puVar15 + 0x1ac34);\n  iVar12 = iVar1;\n  if (iVar9 == 0) goto LAB_000157ac;\n  do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "undefined1 auStack_30 [20];" type_identifier (array_declarator "auStack_30 [20]" identifier [ number_literal ]) ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar15 = PTR___stack_chk_guard_00030510;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00030510" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00030510;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00030510" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00030510" * (cast_expression "(int *)PTR___stack_chk_guard_00030510" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }" { (if_statement "if (param_2 < 0) goto LAB_00015408;" if (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) (goto_statement "goto LAB_00015408;" goto statement_identifier ;)) (expression_statement "iVar1 = (*(code *)PTR_close_0003040c)(param_2);" (assignment_expression "iVar1 = (*(code *)PTR_close_0003040c)(param_2)" identifier = (call_expression "(*(code *)PTR_close_0003040c)(param_2)" (parenthesized_expression "(*(code *)PTR_close_0003040c)" ( (pointer_expression "*(code *)PTR_close_0003040c" * (cast_expression "(code *)PTR_close_0003040c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (-1 < iVar1) goto LAB_000153c0;" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (goto_statement "goto LAB_000153c0;" goto statement_identifier ;)) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00030478)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" ( (pointer_expression "*(code *)PTR___errno_location_00030478" * (cast_expression "(code *)PTR___errno_location_00030478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = *puVar4;" (assignment_expression "uVar5 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar3 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar3 = quotearg_n_style_colon(0,3,param_4)" identifier = (call_expression "quotearg_n_style_colon(0,3,param_4)" identifier (argument_list "(0,3,param_4)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "pcVar14 = (code *)PTR_error_000304c8;" (assignment_expression "pcVar14 = (code *)PTR_error_000304c8" identifier = (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);" (call_expression "(*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3)" ( number_literal , identifier , (binary_expression "PTR_DAT_000302d8 + -0x2e44" identifier + number_literal) , identifier ))) ;) (labeled_statement "LAB_0001549c:\n    local_34 = 0;" statement_identifier : (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;)) (expression_statement "iVar1 = (*pcVar14)(param_3,&local_34,0);" (assignment_expression "iVar1 = (*pcVar14)(param_3,&local_34,0)" identifier = (call_expression "(*pcVar14)(param_3,&local_34,0)" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "(param_3,&local_34,0)" ( identifier , (pointer_expression "&local_34" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }" { (expression_statement "puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)()" identifier = (cast_expression "(uint *)(*(code *)PTR___errno_location_00030478)()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" ( (pointer_expression "*(code *)PTR___errno_location_00030478" * (cast_expression "(code *)PTR___errno_location_00030478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (if_statement "if (uVar11 == 10) goto LAB_000154bc;" if (parenthesized_expression "(uVar11 == 10)" ( (binary_expression "uVar11 == 10" identifier == number_literal) )) (goto_statement "goto LAB_000154bc;" goto statement_identifier ;)) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2eb4,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2eb4" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_000304c8)(1,uVar11,uVar3);" (call_expression "(*(code *)PTR_error_000304c8)(1,uVar11,uVar3)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,uVar11,uVar3)" ( number_literal , identifier , identifier ))) ;) (labeled_statement "LAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);" statement_identifier : (expression_statement "(*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);" (call_expression "(*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000303f8)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000303f8" * (cast_expression "(code *)PTR___sprintf_chk_000303f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11)" ( identifier , number_literal , number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e98" identifier + number_literal) , identifier ))) ;)) (labeled_statement "LAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);" statement_identifier : (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2e94,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e94" identifier + number_literal) , number_literal )))) ;)) (expression_statement "uVar5 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar5 = quotearg_n_style_colon(0,3,param_4)" identifier = (call_expression "quotearg_n_style_colon(0,3,param_4)" identifier (argument_list "(0,3,param_4)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "puVar8 = (undefined1 *)(uVar11 + 0x80);" (assignment_expression "puVar8 = (undefined1 *)(uVar11 + 0x80)" identifier = (cast_expression "(undefined1 *)(uVar11 + 0x80)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar11 + 0x80)" ( (binary_expression "uVar11 + 0x80" identifier + number_literal) )))) ;) }) (else_clause "else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }" else (compound_statement "{\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }" { (labeled_statement "LAB_000154bc:\n      uVar11 = local_34 & 0x7f;" statement_identifier : (expression_statement "uVar11 = local_34 & 0x7f;" (assignment_expression "uVar11 = local_34 & 0x7f" identifier = (binary_expression "local_34 & 0x7f" identifier & number_literal)) ;)) (if_statement "if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }" if (parenthesized_expression "('\0' < (char)((char)uVar11 + '\x01') >> 1)" ( (binary_expression "'\0' < (char)((char)uVar11 + '\x01') >> 1" (char_literal "'\0'" ' escape_sequence ') < (binary_expression "(char)((char)uVar11 + '\x01') >> 1" (cast_expression "(char)((char)uVar11 + '\x01')" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((char)uVar11 + '\x01')" ( (binary_expression "(char)uVar11 + '\x01'" (cast_expression "(char)uVar11" ( (type_descriptor "char" primitive_type) ) identifier) + (char_literal "'\x01'" ' escape_sequence ')) ))) >> number_literal)) )) (compound_statement "{\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }" { (if_statement "if (uVar11 == 0xd) goto LAB_00015410;" if (parenthesized_expression "(uVar11 == 0xd)" ( (binary_expression "uVar11 == 0xd" identifier == number_literal) )) (goto_statement "goto LAB_00015410;" goto statement_identifier ;)) (expression_statement "param_3 = auStack_30;" (assignment_expression "param_3 = auStack_30" identifier = identifier) ;) (expression_statement "iVar1 = sig2str(uVar11,param_3);" (assignment_expression "iVar1 = sig2str(uVar11,param_3)" identifier = (call_expression "sig2str(uVar11,param_3)" identifier (argument_list "(uVar11,param_3)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) goto LAB_0001562c;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001562c;" goto statement_identifier ;)) (goto_statement "goto LAB_000154f8;" goto statement_identifier ;) })) (expression_statement "puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);" (assignment_expression "puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18)" identifier = (cast_expression "(undefined1 *)((local_34 << 0x10) >> 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((local_34 << 0x10) >> 0x18)" ( (binary_expression "(local_34 << 0x10) >> 0x18" (parenthesized_expression "(local_34 << 0x10)" ( (binary_expression "local_34 << 0x10" identifier << number_literal) )) >> number_literal) )))) ;) (if_statement "if (uVar11 != 0) goto LAB_00015660;" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00015660;" goto statement_identifier ;)) (if_statement "if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;" if (parenthesized_expression "(puVar8 == (undefined1 *)0x0)" ( (binary_expression "puVar8 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00015410;" goto statement_identifier ;)) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2e68,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e68" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar5 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar5 = quotearg_n_style_colon(0,3,param_4)" identifier = (call_expression "quotearg_n_style_colon(0,3,param_4)" identifier (argument_list "(0,3,param_4)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "param_3 = puVar8;" (assignment_expression "param_3 = puVar8" identifier = identifier) ;) }))) (expression_statement "(*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));" (call_expression "(*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754))" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754))" ( identifier , number_literal , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(PTR_DAT_000302c8 + 0x754)" * (cast_expression "(undefined4 *)(PTR_DAT_000302c8 + 0x754)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000302c8 + 0x754)" ( (binary_expression "PTR_DAT_000302c8 + 0x754" identifier + number_literal) )))) ))) ;) }) (else_clause "else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }" else (compound_statement "{\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }" { (expression_statement "iVar1 = rpl_fclose();" (assignment_expression "iVar1 = rpl_fclose()" identifier = (call_expression "rpl_fclose()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_00030478)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_00030478)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" ( (pointer_expression "*(code *)PTR___errno_location_00030478" * (cast_expression "(code *)PTR___errno_location_00030478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }" if (parenthesized_expression "((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20))" ( (binary_expression "(*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)" (parenthesized_expression "(*(int *)(PTR_DAT_000302c8 + 0x754) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000302c8 + 0x754) == 0" (pointer_expression "*(int *)(PTR_DAT_000302c8 + 0x754)" * (cast_expression "(int *)(PTR_DAT_000302c8 + 0x754)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000302c8 + 0x754)" ( (binary_expression "PTR_DAT_000302c8 + 0x754" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(iVar1 != 0x20)" ( (binary_expression "iVar1 != 0x20" identifier != number_literal) ))) )) (compound_statement "{\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }" { (expression_statement "uVar3 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar3 = quotearg_n_style_colon(0,3,param_4)" identifier = (call_expression "quotearg_n_style_colon(0,3,param_4)" identifier (argument_list "(0,3,param_4)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "(*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);" (call_expression "(*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3)" ( number_literal , identifier , (binary_expression "PTR_DAT_000302d8 + -0x2e44" identifier + number_literal) , identifier ))) ;) })) })) (if_statement "if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }" if (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) (compound_statement "{\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }" { (labeled_statement "LAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);" statement_identifier : (expression_statement "iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744)" identifier = (pointer_expression "*(int *)(PTR_DAT_000302c8 + 0x744)" * (cast_expression "(int *)(PTR_DAT_000302c8 + 0x744)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000302c8 + 0x744)" ( (binary_expression "PTR_DAT_000302c8 + 0x744" identifier + number_literal) ))))) ;)) (if_statement "if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }" { (expression_statement "piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);" (assignment_expression "piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c)" identifier = (pointer_expression "*(int **)(PTR_DAT_000302c8 + 0x74c)" * (cast_expression "(int **)(PTR_DAT_000302c8 + 0x74c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000302c8 + 0x74c)" ( (binary_expression "PTR_DAT_000302c8 + 0x74c" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = piVar10;" (assignment_expression "piVar2 = piVar10" identifier = identifier) ;) (if_statement "if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }" if (parenthesized_expression "(param_2 != *piVar10)" ( (binary_expression "param_2 != *piVar10" identifier != (pointer_expression "*piVar10" * identifier)) )) (compound_statement "{\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);" do (compound_statement "{\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          }" { (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar7 == iVar1) goto LAB_00015408;" if (parenthesized_expression "(iVar7 == iVar1)" ( (binary_expression "iVar7 == iVar1" identifier == identifier) )) (goto_statement "goto LAB_00015408;" goto statement_identifier ;)) }) while (parenthesized_expression "(*piVar2 != param_2)" ( (binary_expression "*piVar2 != param_2" (pointer_expression "*piVar2" * identifier) != identifier) )) ;) })) (expression_statement "*(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;" (assignment_expression "*(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1" (pointer_expression "*(int *)(PTR_DAT_000302c8 + 0x744)" * (cast_expression "(int *)(PTR_DAT_000302c8 + 0x744)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000302c8 + 0x744)" ( (binary_expression "PTR_DAT_000302c8 + 0x744" identifier + number_literal) )))) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "*piVar2 = piVar10[iVar1 + -1];" (assignment_expression "*piVar2 = piVar10[iVar1 + -1]" (pointer_expression "*piVar2" * identifier) = (subscript_expression "piVar10[iVar1 + -1]" identifier [ (binary_expression "iVar1 + -1" identifier + number_literal) ])) ;) })) })) (labeled_statement "LAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;" statement_identifier : (expression_statement "pcVar14 = (code *)PTR_waitpid_000304dc;" (assignment_expression "pcVar14 = (code *)PTR_waitpid_000304dc" identifier = (cast_expression "(code *)PTR_waitpid_000304dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (if_statement "if (0 < (int)param_3) goto LAB_0001549c;" if (parenthesized_expression "(0 < (int)param_3)" ( (binary_expression "0 < (int)param_3" number_literal < (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0001549c;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }" statement_identifier : (if_statement "if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar15)" ( (binary_expression "local_1c == *(int *)puVar15" identifier == (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar15;\n  }" { (return_statement "return *(int *)puVar15;" return (pointer_expression "*(int *)puVar15" * (cast_expression "(int *)puVar15" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_000304f4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000304f4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000304f4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000304f4" * (cast_expression "(code *)PTR___stack_chk_fail_000304f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);" (assignment_expression "iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" ( (pointer_expression "*(code *)PTR_dcgettext_000304f8" * (cast_expression "(code *)PTR_dcgettext_000304f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_000302d8 + -0x2e40,5)" ( number_literal , (binary_expression "PTR_DAT_000302d8 + -0x2e40" identifier + number_literal) , number_literal )))) ;)) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (expression_statement "puVar15 = PTR_error_000304c8;" (assignment_expression "puVar15 = PTR_error_000304c8" identifier = identifier) ;) (expression_statement "(*(code *)PTR_error_000304c8)();" (call_expression "(*(code *)PTR_error_000304c8)()" (parenthesized_expression "(*(code *)PTR_error_000304c8)" ( (pointer_expression "*(code *)PTR_error_000304c8" * (cast_expression "(code *)PTR_error_000304c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }" { (expression_statement "iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);" (assignment_expression "iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c)" identifier = (pointer_expression "*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c)" * (cast_expression "(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x4c)" ( (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x4c" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_0001572c;" goto statement_identifier ;) })) (expression_statement "iVar7 = *(int *)(puVar15 + 0x1ac34);" (assignment_expression "iVar7 = *(int *)(puVar15 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = iVar1;" (assignment_expression "iVar12 = iVar1" identifier = identifier) ;) (if_statement "if (iVar9 == 0) goto LAB_000157ac;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000157ac;" goto statement_identifier ;)) (do_statement "do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );" do (compound_statement "{\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  }" { (expression_statement "iVar13 = *(int *)(puVar15 + 0x1ac34);" (assignment_expression "iVar13 = *(int *)(puVar15 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(puVar15 + 0x1ac34);" (assignment_expression "iVar1 = *(int *)(puVar15 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) ))))) ;) (expression_statement "FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));" (call_expression "FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c))" identifier (argument_list "(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c))" ( number_literal , (pointer_expression "*(undefined4 *)(iVar1 + 0x4c)" * (cast_expression "(undefined4 *)(iVar1 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar7 + 0x750)" * (cast_expression "(undefined4 *)(iVar7 + 0x750)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x750)" ( (binary_expression "iVar7 + 0x750" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar13 + 0x63c)" * (cast_expression "(undefined4 *)(iVar13 + 0x63c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x63c)" ( (binary_expression "iVar13 + 0x63c" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000145e0();" (call_expression "FUN_000145e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));" (assignment_expression "iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c))" identifier = (call_expression "FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c))" identifier (argument_list "(*(undefined4 *)(iVar13 + 0x63c))" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x63c)" * (cast_expression "(undefined4 *)(iVar13 + 0x63c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x63c)" ( (binary_expression "iVar13 + 0x63c" identifier + number_literal) )))) )))) ;) (expression_statement "*(int *)(iVar1 + 0x4c) = iVar7;" (assignment_expression "*(int *)(iVar1 + 0x4c) = iVar7" (pointer_expression "*(int *)(iVar1 + 0x4c)" * (cast_expression "(int *)(iVar1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = iVar12;" (assignment_expression "iVar1 = iVar12" identifier = identifier) ;) (if_statement "if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }" { (expression_statement "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);" (assignment_expression "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7)" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x1ade4))(iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x1ade4))(iVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x1ade4))" ( (pointer_expression "**(code **)(puVar15 + 0x1ade4)" * (pointer_expression "*(code **)(puVar15 + 0x1ade4)" * (cast_expression "(code **)(puVar15 + 0x1ade4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x1ade4)" ( (binary_expression "puVar15 + 0x1ade4" identifier + number_literal) ))))) )) (argument_list "(iVar7)" ( identifier ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar13 + 0x63c);" (assignment_expression "uVar3 = *(undefined4 *)(iVar13 + 0x63c)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0x63c)" * (cast_expression "(undefined4 *)(iVar13 + 0x63c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x63c)" ( (binary_expression "iVar13 + 0x63c" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *piVar2;" (assignment_expression "iVar12 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) }) (else_clause "else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }" else (compound_statement "{\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }" { (labeled_statement "LAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);" statement_identifier : (expression_statement "iVar7 = full_write(iVar7,iVar9,iVar1);" (assignment_expression "iVar7 = full_write(iVar7,iVar9,iVar1)" identifier = (call_expression "full_write(iVar7,iVar9,iVar1)" identifier (argument_list "(iVar7,iVar9,iVar1)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (iVar7 == iVar1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar7 == iVar1)" ( (binary_expression "iVar7 == iVar1" identifier == identifier) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();" (assignment_expression "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))()" identifier = (cast_expression "(int *)(**(code **)(puVar15 + 0x1ade4))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar15 + 0x1ade4))()" (parenthesized_expression "(**(code **)(puVar15 + 0x1ade4))" ( (pointer_expression "**(code **)(puVar15 + 0x1ade4)" * (pointer_expression "*(code **)(puVar15 + 0x1ade4)" * (cast_expression "(code **)(puVar15 + 0x1ade4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x1ade4)" ( (binary_expression "puVar15 + 0x1ade4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar12 = *piVar2;" (assignment_expression "iVar12 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (if_statement "if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }" if (parenthesized_expression "((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20))" ( (binary_expression "(*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)" (parenthesized_expression "(*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0)" ( (binary_expression "*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0" (pointer_expression "*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754)" * (cast_expression "(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x754)" ( (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x754" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar12 == 0x20)" ( (binary_expression "iVar12 == 0x20" identifier == number_literal) ))) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);" (assignment_expression "uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c)" * (cast_expression "(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x63c)" ( (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x63c" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) )))) + number_literal) ))))) ;) }))) (expression_statement "uVar3 = quotearg_n_style_colon(0,3,uVar3);" (assignment_expression "uVar3 = quotearg_n_style_colon(0,3,uVar3)" identifier = (call_expression "quotearg_n_style_colon(0,3,uVar3)" identifier (argument_list "(0,3,uVar3)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;" (assignment_expression "iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44" identifier = (binary_expression "*(int *)(puVar15 + 0x1ac44) + -0x2e44" (pointer_expression "*(int *)(puVar15 + 0x1ac44)" * (cast_expression "(int *)(puVar15 + 0x1ac44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac44)" ( (binary_expression "puVar15 + 0x1ac44" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);" (assignment_expression "iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3)" identifier = (call_expression "(**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3)" (parenthesized_expression "(**(code **)(puVar15 + 0x1ae34))" ( (pointer_expression "**(code **)(puVar15 + 0x1ae34)" * (pointer_expression "*(code **)(puVar15 + 0x1ae34)" * (cast_expression "(code **)(puVar15 + 0x1ae34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x1ae34)" ( (binary_expression "puVar15 + 0x1ae34" identifier + number_literal) ))))) )) (argument_list "(1,iVar12,iVar1,uVar3)" ( number_literal , identifier , identifier , identifier )))) ;) (labeled_statement "LAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }" statement_identifier : (if_statement "if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }" if (parenthesized_expression "((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       )" ( (binary_expression "(iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')" ( (comma_expression "iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0'" (assignment_expression "iVar7 = *(int *)(puVar15 + 0x1ac34)" identifier = (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) ))))) , (binary_expression "*(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0'" (pointer_expression "*(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581)" * (cast_expression "(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x581)" ( (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x581" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" * (cast_expression "(int *)(puVar15 + 0x1ac34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x1ac34)" ( (binary_expression "puVar15 + 0x1ac34" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (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 ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression & 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 ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 ))) ;) (labeled_statement statement_identifier : (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) , IDENT ))) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression (char_literal ' escape_sequence ') < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (char_literal ' escape_sequence ')) ))) >> LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT << LIT) )) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , 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 ( IDENT , LIT , IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (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 ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != IDENT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (goto_statement goto statement_identifier ;)) }))) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }))) (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 = (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 = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (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 , IDENT )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence '))) ))) )) (compound_statement { (return_statement return LIT ;) }))) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "int FUN_000152fc(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  code *pcVar14;\n  undefined *puVar15;\n  uint local_34;\n  undefined1 auStack_30 [20];\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00030510;\n  local_1c = *(int *)PTR___stack_chk_guard_00030510;\n  if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  iVar9 = 0;\n  iVar7 = 1;\n  puVar15 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar7 = *(int *)(puVar15 + 0x1ac34);\n  iVar12 = iVar1;\n  if (iVar9 == 0) goto LAB_000157ac;\n  do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );\n}" (primitive_type "int") (function_declarator "FUN_000152fc(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)" (identifier "FUN_000152fc") (parameter_list "(int param_1,int param_2,undefined1 *param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined1 *param_3" (type_identifier "undefined1") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  code *pcVar14;\n  undefined *puVar15;\n  uint local_34;\n  undefined1 auStack_30 [20];\n  int local_1c;\n  \n  puVar15 = PTR___stack_chk_guard_00030510;\n  local_1c = *(int *)PTR___stack_chk_guard_00030510;\n  if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }\nLAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }\n  (*(code *)PTR___stack_chk_fail_000304f4)();\nLAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);\n  iVar9 = 0;\n  iVar7 = 1;\n  puVar15 = PTR_error_000304c8;\n  (*(code *)PTR_error_000304c8)();\n  if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }\n  iVar7 = *(int *)(puVar15 + 0x1ac34);\n  iVar12 = iVar1;\n  if (iVar9 == 0) goto LAB_000157ac;\n  do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "code *pcVar14;" (type_identifier "code") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (declaration "undefined *puVar15;" (type_identifier "undefined") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "uint local_34;" (type_identifier "uint") (identifier "local_34") (; ";")) (declaration "undefined1 auStack_30 [20];" (type_identifier "undefined1") (array_declarator "auStack_30 [20]" (identifier "auStack_30") ([ "[") (number_literal "20") (] "]")) (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (expression_statement "puVar15 = PTR___stack_chk_guard_00030510;" (assignment_expression "puVar15 = PTR___stack_chk_guard_00030510" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_guard_00030510")) (; ";")) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00030510;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00030510" (identifier "local_1c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00030510" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00030510" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00030510")))) (; ";")) (if_statement "if (param_1 == 0) {\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }\n  else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_2 < 0) goto LAB_00015408;\n    iVar1 = (*(code *)PTR_close_0003040c)(param_2);\n    if (-1 < iVar1) goto LAB_000153c0;\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();\n    uVar5 = *puVar4;\n    uVar3 = quotearg_n_style_colon(0,3,param_4);\n    pcVar14 = (code *)PTR_error_000304c8;\n    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);\nLAB_0001549c:\n    local_34 = 0;\n    iVar1 = (*pcVar14)(param_3,&local_34,0);\n    if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }\n    (*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));\n  }" ({ "{") (if_statement "if (param_2 < 0) goto LAB_00015408;" (if "if") (parenthesized_expression "(param_2 < 0)" (( "(") (binary_expression "param_2 < 0" (identifier "param_2") (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_00015408;" (goto "goto") (statement_identifier "LAB_00015408") (; ";"))) (expression_statement "iVar1 = (*(code *)PTR_close_0003040c)(param_2);" (assignment_expression "iVar1 = (*(code *)PTR_close_0003040c)(param_2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_close_0003040c)(param_2)" (parenthesized_expression "(*(code *)PTR_close_0003040c)" (( "(") (pointer_expression "*(code *)PTR_close_0003040c" (* "*") (cast_expression "(code *)PTR_close_0003040c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_0003040c"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (-1 < iVar1) goto LAB_000153c0;" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (goto_statement "goto LAB_000153c0;" (goto "goto") (statement_identifier "LAB_000153c0") (; ";"))) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)()" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00030478)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" (( "(") (pointer_expression "*(code *)PTR___errno_location_00030478" (* "*") (cast_expression "(code *)PTR___errno_location_00030478" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_00030478"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar5 = *puVar4;" (assignment_expression "uVar5 = *puVar4" (identifier "uVar5") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "uVar3 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar3 = quotearg_n_style_colon(0,3,param_4)" (identifier "uVar3") (= "=") (call_expression "quotearg_n_style_colon(0,3,param_4)" (identifier "quotearg_n_style_colon") (argument_list "(0,3,param_4)" (( "(") (number_literal "0") (, ",") (number_literal "3") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "pcVar14 = (code *)PTR_error_000304c8;" (assignment_expression "pcVar14 = (code *)PTR_error_000304c8" (identifier "pcVar14") (= "=") (cast_expression "(code *)PTR_error_000304c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_000304c8"))) (; ";")) (expression_statement "(*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);" (call_expression "(*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" (( "(") (pointer_expression "*(code *)PTR_error_000304c8" (* "*") (cast_expression "(code *)PTR_error_000304c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_000304c8"))) () ")")) (argument_list "(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3)" (( "(") (number_literal "1") (, ",") (identifier "uVar5") (, ",") (binary_expression "PTR_DAT_000302d8 + -0x2e44" (identifier "PTR_DAT_000302d8") (+ "+") (number_literal "-0x2e44")) (, ",") (identifier "uVar3") () ")"))) (; ";")) (labeled_statement "LAB_0001549c:\n    local_34 = 0;" (statement_identifier "LAB_0001549c") (: ":") (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";"))) (expression_statement "iVar1 = (*pcVar14)(param_3,&local_34,0);" (assignment_expression "iVar1 = (*pcVar14)(param_3,&local_34,0)" (identifier "iVar1") (= "=") (call_expression "(*pcVar14)(param_3,&local_34,0)" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "(param_3,&local_34,0)" (( "(") (identifier "param_3") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 == -1) {\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }\n    else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }" (if "if") (parenthesized_expression "(iVar1 == -1)" (( "(") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();\n      uVar11 = *puVar6;\n      if (uVar11 == 10) goto LAB_000154bc;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);\n      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);\nLAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);\nLAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      puVar8 = (undefined1 *)(uVar11 + 0x80);\n    }" ({ "{") (expression_statement "puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)()" (identifier "puVar6") (= "=") (cast_expression "(uint *)(*(code *)PTR___errno_location_00030478)()" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" (( "(") (pointer_expression "*(code *)PTR___errno_location_00030478" (* "*") (cast_expression "(code *)PTR___errno_location_00030478" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_00030478"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" (identifier "uVar11") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (if_statement "if (uVar11 == 10) goto LAB_000154bc;" (if "if") (parenthesized_expression "(uVar11 == 10)" (( "(") (binary_expression "uVar11 == 10" (identifier "uVar11") (== "==") (number_literal "10")) () ")")) (goto_statement "goto LAB_000154bc;" (goto "goto") (statement_identifier "LAB_000154bc") (; ";"))) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000304f8" (* "*") (cast_expression "(code *)PTR_dcgettext_000304f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000304f8"))) () ")")) (argument_list "(0,PTR_DAT_000302d8 + -0x2eb4,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_000302d8 + -0x2eb4" (identifier "PTR_DAT_000302d8") (+ "+") (number_literal "-0x2eb4")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_000304c8)(1,uVar11,uVar3);" (call_expression "(*(code *)PTR_error_000304c8)(1,uVar11,uVar3)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" (( "(") (pointer_expression "*(code *)PTR_error_000304c8" (* "*") (cast_expression "(code *)PTR_error_000304c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_000304c8"))) () ")")) (argument_list "(1,uVar11,uVar3)" (( "(") (number_literal "1") (, ",") (identifier "uVar11") (, ",") (identifier "uVar3") () ")"))) (; ";")) (labeled_statement "LAB_0001562c:\n      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);" (statement_identifier "LAB_0001562c") (: ":") (expression_statement "(*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);" (call_expression "(*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000303f8)" (( "(") (pointer_expression "*(code *)PTR___sprintf_chk_000303f8" (* "*") (cast_expression "(code *)PTR___sprintf_chk_000303f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___sprintf_chk_000303f8"))) () ")")) (argument_list "(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11)" (( "(") (identifier "param_3") (, ",") (number_literal "1") (, ",") (number_literal "0x13") (, ",") (binary_expression "PTR_DAT_000302d8 + -0x2e98" (identifier "PTR_DAT_000302d8") (+ "+") (number_literal "-0x2e98")) (, ",") (identifier "uVar11") () ")"))) (; ";"))) (labeled_statement "LAB_000154f8:\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);" (statement_identifier "LAB_000154f8") (: ":") (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000304f8" (* "*") (cast_expression "(code *)PTR_dcgettext_000304f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000304f8"))) () ")")) (argument_list "(0,PTR_DAT_000302d8 + -0x2e94,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_000302d8 + -0x2e94" (identifier "PTR_DAT_000302d8") (+ "+") (number_literal "-0x2e94")) (, ",") (number_literal "5") () ")")))) (; ";"))) (expression_statement "uVar5 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar5 = quotearg_n_style_colon(0,3,param_4)" (identifier "uVar5") (= "=") (call_expression "quotearg_n_style_colon(0,3,param_4)" (identifier "quotearg_n_style_colon") (argument_list "(0,3,param_4)" (( "(") (number_literal "0") (, ",") (number_literal "3") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "puVar8 = (undefined1 *)(uVar11 + 0x80);" (assignment_expression "puVar8 = (undefined1 *)(uVar11 + 0x80)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(uVar11 + 0x80)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar11 + 0x80)" (( "(") (binary_expression "uVar11 + 0x80" (identifier "uVar11") (+ "+") (number_literal "0x80")) () ")")))) (; ";")) (} "}")) (else_clause "else {\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }" (else "else") (compound_statement "{\nLAB_000154bc:\n      uVar11 = local_34 & 0x7f;\n      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }\n      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);\n      if (uVar11 != 0) goto LAB_00015660;\n      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;\n      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);\n      uVar5 = quotearg_n_style_colon(0,3,param_4);\n      param_3 = puVar8;\n    }" ({ "{") (labeled_statement "LAB_000154bc:\n      uVar11 = local_34 & 0x7f;" (statement_identifier "LAB_000154bc") (: ":") (expression_statement "uVar11 = local_34 & 0x7f;" (assignment_expression "uVar11 = local_34 & 0x7f" (identifier "uVar11") (= "=") (binary_expression "local_34 & 0x7f" (identifier "local_34") (& "&") (number_literal "0x7f"))) (; ";"))) (if_statement "if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }" (if "if") (parenthesized_expression "('\0' < (char)((char)uVar11 + '\x01') >> 1)" (( "(") (binary_expression "'\0' < (char)((char)uVar11 + '\x01') >> 1" (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")) (< "<") (binary_expression "(char)((char)uVar11 + '\x01') >> 1" (cast_expression "(char)((char)uVar11 + '\x01')" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((char)uVar11 + '\x01')" (( "(") (binary_expression "(char)uVar11 + '\x01'" (cast_expression "(char)uVar11" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar11")) (+ "+") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")"))) (>> ">>") (number_literal "1"))) () ")")) (compound_statement "{\n        if (uVar11 == 0xd) goto LAB_00015410;\n        param_3 = auStack_30;\n        iVar1 = sig2str(uVar11,param_3);\n        if (iVar1 != 0) goto LAB_0001562c;\n        goto LAB_000154f8;\n      }" ({ "{") (if_statement "if (uVar11 == 0xd) goto LAB_00015410;" (if "if") (parenthesized_expression "(uVar11 == 0xd)" (( "(") (binary_expression "uVar11 == 0xd" (identifier "uVar11") (== "==") (number_literal "0xd")) () ")")) (goto_statement "goto LAB_00015410;" (goto "goto") (statement_identifier "LAB_00015410") (; ";"))) (expression_statement "param_3 = auStack_30;" (assignment_expression "param_3 = auStack_30" (identifier "param_3") (= "=") (identifier "auStack_30")) (; ";")) (expression_statement "iVar1 = sig2str(uVar11,param_3);" (assignment_expression "iVar1 = sig2str(uVar11,param_3)" (identifier "iVar1") (= "=") (call_expression "sig2str(uVar11,param_3)" (identifier "sig2str") (argument_list "(uVar11,param_3)" (( "(") (identifier "uVar11") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) goto LAB_0001562c;" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001562c;" (goto "goto") (statement_identifier "LAB_0001562c") (; ";"))) (goto_statement "goto LAB_000154f8;" (goto "goto") (statement_identifier "LAB_000154f8") (; ";")) (} "}"))) (expression_statement "puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);" (assignment_expression "puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)((local_34 << 0x10) >> 0x18)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((local_34 << 0x10) >> 0x18)" (( "(") (binary_expression "(local_34 << 0x10) >> 0x18" (parenthesized_expression "(local_34 << 0x10)" (( "(") (binary_expression "local_34 << 0x10" (identifier "local_34") (<< "<<") (number_literal "0x10")) () ")")) (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (if_statement "if (uVar11 != 0) goto LAB_00015660;" (if "if") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00015660;" (goto "goto") (statement_identifier "LAB_00015660") (; ";"))) (if_statement "if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;" (if "if") (parenthesized_expression "(puVar8 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar8 == (undefined1 *)0x0" (identifier "puVar8") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00015410;" (goto "goto") (statement_identifier "LAB_00015410") (; ";"))) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000304f8" (* "*") (cast_expression "(code *)PTR_dcgettext_000304f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000304f8"))) () ")")) (argument_list "(0,PTR_DAT_000302d8 + -0x2e68,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_000302d8 + -0x2e68" (identifier "PTR_DAT_000302d8") (+ "+") (number_literal "-0x2e68")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "uVar5 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar5 = quotearg_n_style_colon(0,3,param_4)" (identifier "uVar5") (= "=") (call_expression "quotearg_n_style_colon(0,3,param_4)" (identifier "quotearg_n_style_colon") (argument_list "(0,3,param_4)" (( "(") (number_literal "0") (, ",") (number_literal "3") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "param_3 = puVar8;" (assignment_expression "param_3 = puVar8" (identifier "param_3") (= "=") (identifier "puVar8")) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));" (call_expression "(*(code *)PTR_error_000304c8)\n              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754))" (parenthesized_expression "(*(code *)PTR_error_000304c8)" (( "(") (pointer_expression "*(code *)PTR_error_000304c8" (* "*") (cast_expression "(code *)PTR_error_000304c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_000304c8"))) () ")")) (argument_list "(puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754))" (( "(") (identifier "puVar8") (, ",") (number_literal "0") (, ",") (identifier "uVar3") (, ",") (identifier "uVar5") (, ",") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(PTR_DAT_000302c8 + 0x754)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_000302c8 + 0x754)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000302c8 + 0x754)" (( "(") (binary_expression "PTR_DAT_000302c8 + 0x754" (identifier "PTR_DAT_000302c8") (+ "+") (number_literal "0x754")) () ")")))) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }" (else "else") (compound_statement "{\n    iVar1 = rpl_fclose();\n    if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }\n    if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }\nLAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;\n    if (0 < (int)param_3) goto LAB_0001549c;\n  }" ({ "{") (expression_statement "iVar1 = rpl_fclose();" (assignment_expression "iVar1 = rpl_fclose()" (identifier "iVar1") (= "=") (call_expression "rpl_fclose()" (identifier "rpl_fclose") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();\n      iVar1 = *piVar2;\n      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }\n    }" ({ "{") (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_00030478)()" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR___errno_location_00030478)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_00030478)()" (parenthesized_expression "(*(code *)PTR___errno_location_00030478)" (( "(") (pointer_expression "*(code *)PTR___errno_location_00030478" (* "*") (cast_expression "(code *)PTR___errno_location_00030478" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_00030478"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (if_statement "if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }" (if "if") (parenthesized_expression "((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20))" (( "(") (binary_expression "(*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)" (parenthesized_expression "(*(int *)(PTR_DAT_000302c8 + 0x754) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000302c8 + 0x754) == 0" (pointer_expression "*(int *)(PTR_DAT_000302c8 + 0x754)" (* "*") (cast_expression "(int *)(PTR_DAT_000302c8 + 0x754)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000302c8 + 0x754)" (( "(") (binary_expression "PTR_DAT_000302c8 + 0x754" (identifier "PTR_DAT_000302c8") (+ "+") (number_literal "0x754")) () ")")))) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar1 != 0x20)" (( "(") (binary_expression "iVar1 != 0x20" (identifier "iVar1") (!= "!=") (number_literal "0x20")) () ")"))) () ")")) (compound_statement "{\n        uVar3 = quotearg_n_style_colon(0,3,param_4);\n        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);\n      }" ({ "{") (expression_statement "uVar3 = quotearg_n_style_colon(0,3,param_4);" (assignment_expression "uVar3 = quotearg_n_style_colon(0,3,param_4)" (identifier "uVar3") (= "=") (call_expression "quotearg_n_style_colon(0,3,param_4)" (identifier "quotearg_n_style_colon") (argument_list "(0,3,param_4)" (( "(") (number_literal "0") (, ",") (number_literal "3") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);" (call_expression "(*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3)" (parenthesized_expression "(*(code *)PTR_error_000304c8)" (( "(") (pointer_expression "*(code *)PTR_error_000304c8" (* "*") (cast_expression "(code *)PTR_error_000304c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_000304c8"))) () ")")) (argument_list "(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3)" (( "(") (number_literal "1") (, ",") (identifier "iVar1") (, ",") (binary_expression "PTR_DAT_000302d8 + -0x2e44" (identifier "PTR_DAT_000302d8") (+ "+") (number_literal "-0x2e44")) (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (-1 < param_2) {\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }" (if "if") (parenthesized_expression "(-1 < param_2)" (( "(") (binary_expression "-1 < param_2" (number_literal "-1") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\nLAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);\n      if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }\n    }" ({ "{") (labeled_statement "LAB_000153c0:\n      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);" (statement_identifier "LAB_000153c0") (: ":") (expression_statement "iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(PTR_DAT_000302c8 + 0x744)" (* "*") (cast_expression "(int *)(PTR_DAT_000302c8 + 0x744)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000302c8 + 0x744)" (( "(") (binary_expression "PTR_DAT_000302c8 + 0x744" (identifier "PTR_DAT_000302c8") (+ "+") (number_literal "0x744")) () ")"))))) (; ";"))) (if_statement "if (iVar1 != 0) {\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);\n        piVar2 = piVar10;\n        if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }\n        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;\n        *piVar2 = piVar10[iVar1 + -1];\n      }" ({ "{") (expression_statement "piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);" (assignment_expression "piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c)" (identifier "piVar10") (= "=") (pointer_expression "*(int **)(PTR_DAT_000302c8 + 0x74c)" (* "*") (cast_expression "(int **)(PTR_DAT_000302c8 + 0x74c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_000302c8 + 0x74c)" (( "(") (binary_expression "PTR_DAT_000302c8 + 0x74c" (identifier "PTR_DAT_000302c8") (+ "+") (number_literal "0x74c")) () ")"))))) (; ";")) (expression_statement "piVar2 = piVar10;" (assignment_expression "piVar2 = piVar10" (identifier "piVar2") (= "=") (identifier "piVar10")) (; ";")) (if_statement "if (param_2 != *piVar10) {\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }" (if "if") (parenthesized_expression "(param_2 != *piVar10)" (( "(") (binary_expression "param_2 != *piVar10" (identifier "param_2") (!= "!=") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) () ")")) (compound_statement "{\n          iVar7 = 0;\n          do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);\n        }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          } while (*piVar2 != param_2);" (do "do") (compound_statement "{\n            piVar2 = piVar2 + 1;\n            iVar7 = iVar7 + 1;\n            if (iVar7 == iVar1) goto LAB_00015408;\n          }" ({ "{") (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar7 == iVar1) goto LAB_00015408;" (if "if") (parenthesized_expression "(iVar7 == iVar1)" (( "(") (binary_expression "iVar7 == iVar1" (identifier "iVar7") (== "==") (identifier "iVar1")) () ")")) (goto_statement "goto LAB_00015408;" (goto "goto") (statement_identifier "LAB_00015408") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(*piVar2 != param_2)" (( "(") (binary_expression "*piVar2 != param_2" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (identifier "param_2")) () ")")) (; ";")) (} "}"))) (expression_statement "*(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;" (assignment_expression "*(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1" (pointer_expression "*(int *)(PTR_DAT_000302c8 + 0x744)" (* "*") (cast_expression "(int *)(PTR_DAT_000302c8 + 0x744)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000302c8 + 0x744)" (( "(") (binary_expression "PTR_DAT_000302c8 + 0x744" (identifier "PTR_DAT_000302c8") (+ "+") (number_literal "0x744")) () ")")))) (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*piVar2 = piVar10[iVar1 + -1];" (assignment_expression "*piVar2 = piVar10[iVar1 + -1]" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (subscript_expression "piVar10[iVar1 + -1]" (identifier "piVar10") ([ "[") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1")) (] "]"))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00015408:\n    pcVar14 = (code *)PTR_waitpid_000304dc;" (statement_identifier "LAB_00015408") (: ":") (expression_statement "pcVar14 = (code *)PTR_waitpid_000304dc;" (assignment_expression "pcVar14 = (code *)PTR_waitpid_000304dc" (identifier "pcVar14") (= "=") (cast_expression "(code *)PTR_waitpid_000304dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_waitpid_000304dc"))) (; ";"))) (if_statement "if (0 < (int)param_3) goto LAB_0001549c;" (if "if") (parenthesized_expression "(0 < (int)param_3)" (( "(") (binary_expression "0 < (int)param_3" (number_literal "0") (< "<") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3"))) () ")")) (goto_statement "goto LAB_0001549c;" (goto "goto") (statement_identifier "LAB_0001549c") (; ";"))) (} "}")))) (labeled_statement "LAB_00015410:\n  if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }" (statement_identifier "LAB_00015410") (: ":") (if_statement "if (local_1c == *(int *)puVar15) {\n    return *(int *)puVar15;\n  }" (if "if") (parenthesized_expression "(local_1c == *(int *)puVar15)" (( "(") (binary_expression "local_1c == *(int *)puVar15" (identifier "local_1c") (== "==") (pointer_expression "*(int *)puVar15" (* "*") (cast_expression "(int *)puVar15" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar15")))) () ")")) (compound_statement "{\n    return *(int *)puVar15;\n  }" ({ "{") (return_statement "return *(int *)puVar15;" (return "return") (pointer_expression "*(int *)puVar15" (* "*") (cast_expression "(int *)puVar15" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar15"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___stack_chk_fail_000304f4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000304f4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000304f4)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000304f4" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000304f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000304f4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_00015660:\n  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);" (statement_identifier "LAB_00015660") (: ":") (expression_statement "iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);" (assignment_expression "iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000304f8)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000304f8" (* "*") (cast_expression "(code *)PTR_dcgettext_000304f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000304f8"))) () ")")) (argument_list "(0,PTR_DAT_000302d8 + -0x2e40,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_000302d8 + -0x2e40" (identifier "PTR_DAT_000302d8") (+ "+") (number_literal "-0x2e40")) (, ",") (number_literal "5") () ")")))) (; ";"))) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" (identifier "iVar7") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar15 = PTR_error_000304c8;" (assignment_expression "puVar15 = PTR_error_000304c8" (identifier "puVar15") (= "=") (identifier "PTR_error_000304c8")) (; ";")) (expression_statement "(*(code *)PTR_error_000304c8)();" (call_expression "(*(code *)PTR_error_000304c8)()" (parenthesized_expression "(*(code *)PTR_error_000304c8)" (( "(") (pointer_expression "*(code *)PTR_error_000304c8" (* "*") (cast_expression "(code *)PTR_error_000304c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_000304c8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar7 == 0) {\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);\n    goto LAB_0001572c;\n  }" ({ "{") (expression_statement "iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);" (assignment_expression "iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c)" (* "*") (cast_expression "(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x4c)" (( "(") (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x4c" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" (* "*") (cast_expression "(int *)(puVar15 + 0x1ac34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1ac34)" (( "(") (binary_expression "puVar15 + 0x1ac34" (identifier "puVar15") (+ "+") (number_literal "0x1ac34")) () ")")))) (+ "+") (number_literal "0x4c")) () ")"))))) (; ";")) (goto_statement "goto LAB_0001572c;" (goto "goto") (statement_identifier "LAB_0001572c") (; ";")) (} "}"))) (expression_statement "iVar7 = *(int *)(puVar15 + 0x1ac34);" (assignment_expression "iVar7 = *(int *)(puVar15 + 0x1ac34)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(puVar15 + 0x1ac34)" (* "*") (cast_expression "(int *)(puVar15 + 0x1ac34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1ac34)" (( "(") (binary_expression "puVar15 + 0x1ac34" (identifier "puVar15") (+ "+") (number_literal "0x1ac34")) () ")"))))) (; ";")) (expression_statement "iVar12 = iVar1;" (assignment_expression "iVar12 = iVar1" (identifier "iVar12") (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (iVar9 == 0) goto LAB_000157ac;" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000157ac;" (goto "goto") (statement_identifier "LAB_000157ac") (; ";"))) (do_statement "do {\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    iVar13 = *(int *)(puVar15 + 0x1ac34);\n    iVar1 = *(int *)(puVar15 + 0x1ac34);\n    FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));\n    FUN_000145e0();\n    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));\n    *(int *)(iVar1 + 0x4c) = iVar7;\n    iVar1 = iVar12;\n    if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }\n    uVar3 = quotearg_n_style_colon(0,3,uVar3);\n    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;\n    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);\nLAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }\n  }" ({ "{") (expression_statement "iVar13 = *(int *)(puVar15 + 0x1ac34);" (assignment_expression "iVar13 = *(int *)(puVar15 + 0x1ac34)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(puVar15 + 0x1ac34)" (* "*") (cast_expression "(int *)(puVar15 + 0x1ac34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1ac34)" (( "(") (binary_expression "puVar15 + 0x1ac34" (identifier "puVar15") (+ "+") (number_literal "0x1ac34")) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(puVar15 + 0x1ac34);" (assignment_expression "iVar1 = *(int *)(puVar15 + 0x1ac34)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(puVar15 + 0x1ac34)" (* "*") (cast_expression "(int *)(puVar15 + 0x1ac34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1ac34)" (( "(") (binary_expression "puVar15 + 0x1ac34" (identifier "puVar15") (+ "+") (number_literal "0x1ac34")) () ")"))))) (; ";")) (expression_statement "FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c));" (call_expression "FUN_000152fc(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c))" (identifier "FUN_000152fc") (argument_list "(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),\n                 *(undefined4 *)(iVar13 + 0x63c))" (( "(") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x4c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x4c)" (( "(") (binary_expression "iVar1 + 0x4c" (identifier "iVar1") (+ "+") (number_literal "0x4c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar7 + 0x750)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x750)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x750)" (( "(") (binary_expression "iVar7 + 0x750" (identifier "iVar7") (+ "+") (number_literal "0x750")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar13 + 0x63c)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x63c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x63c)" (( "(") (binary_expression "iVar13 + 0x63c" (identifier "iVar13") (+ "+") (number_literal "0x63c")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_000145e0();" (call_expression "FUN_000145e0()" (identifier "FUN_000145e0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));" (assignment_expression "iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c))" (identifier "iVar7") (= "=") (call_expression "FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c))" (identifier "FUN_000149ec") (argument_list "(*(undefined4 *)(iVar13 + 0x63c))" (( "(") (pointer_expression "*(undefined4 *)(iVar13 + 0x63c)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x63c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x63c)" (( "(") (binary_expression "iVar13 + 0x63c" (identifier "iVar13") (+ "+") (number_literal "0x63c")) () ")")))) () ")")))) (; ";")) (expression_statement "*(int *)(iVar1 + 0x4c) = iVar7;" (assignment_expression "*(int *)(iVar1 + 0x4c) = iVar7" (pointer_expression "*(int *)(iVar1 + 0x4c)" (* "*") (cast_expression "(int *)(iVar1 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x4c)" (( "(") (binary_expression "iVar1 + 0x4c" (identifier "iVar1") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "iVar1 = iVar12;" (assignment_expression "iVar1 = iVar12" (identifier "iVar1") (= "=") (identifier "iVar12")) (; ";")) (if_statement "if (iVar7 < 0) {\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }\n    else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);\n      uVar3 = *(undefined4 *)(iVar13 + 0x63c);\n      iVar12 = *piVar2;\n    }" ({ "{") (expression_statement "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);" (assignment_expression "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7)" (identifier "piVar2") (= "=") (cast_expression "(int *)(**(code **)(puVar15 + 0x1ade4))(iVar7)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar15 + 0x1ade4))(iVar7)" (parenthesized_expression "(**(code **)(puVar15 + 0x1ade4))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x1ade4)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x1ade4)" (* "*") (cast_expression "(code **)(puVar15 + 0x1ade4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x1ade4)" (( "(") (binary_expression "puVar15 + 0x1ade4" (identifier "puVar15") (+ "+") (number_literal "0x1ade4")) () ")"))))) () ")")) (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar13 + 0x63c);" (assignment_expression "uVar3 = *(undefined4 *)(iVar13 + 0x63c)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar13 + 0x63c)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x63c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x63c)" (( "(") (binary_expression "iVar13 + 0x63c" (identifier "iVar13") (+ "+") (number_literal "0x63c")) () ")"))))) (; ";")) (expression_statement "iVar12 = *piVar2;" (assignment_expression "iVar12 = *piVar2" (identifier "iVar12") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (} "}")) (else_clause "else {\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }" (else "else") (compound_statement "{\nLAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);\n      if (iVar7 == iVar1) {\n        return 1;\n      }\n      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();\n      iVar12 = *piVar2;\n      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }\n      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);\n    }" ({ "{") (labeled_statement "LAB_0001572c:\n      iVar7 = full_write(iVar7,iVar9,iVar1);" (statement_identifier "LAB_0001572c") (: ":") (expression_statement "iVar7 = full_write(iVar7,iVar9,iVar1);" (assignment_expression "iVar7 = full_write(iVar7,iVar9,iVar1)" (identifier "iVar7") (= "=") (call_expression "full_write(iVar7,iVar9,iVar1)" (identifier "full_write") (argument_list "(iVar7,iVar9,iVar1)" (( "(") (identifier "iVar7") (, ",") (identifier "iVar9") (, ",") (identifier "iVar1") () ")")))) (; ";"))) (if_statement "if (iVar7 == iVar1) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar7 == iVar1)" (( "(") (binary_expression "iVar7 == iVar1" (identifier "iVar7") (== "==") (identifier "iVar1")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();" (assignment_expression "piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))()" (identifier "piVar2") (= "=") (cast_expression "(int *)(**(code **)(puVar15 + 0x1ade4))()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar15 + 0x1ade4))()" (parenthesized_expression "(**(code **)(puVar15 + 0x1ade4))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x1ade4)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x1ade4)" (* "*") (cast_expression "(code **)(puVar15 + 0x1ade4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x1ade4)" (( "(") (binary_expression "puVar15 + 0x1ade4" (identifier "puVar15") (+ "+") (number_literal "0x1ade4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar12 = *piVar2;" (assignment_expression "iVar12 = *piVar2" (identifier "iVar12") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (if_statement "if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {\n        return 0;\n      }" (if "if") (parenthesized_expression "((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20))" (( "(") (binary_expression "(*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)" (parenthesized_expression "(*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0" (pointer_expression "*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754)" (* "*") (cast_expression "(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x754)" (( "(") (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x754" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" (* "*") (cast_expression "(int *)(puVar15 + 0x1ac34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1ac34)" (( "(") (binary_expression "puVar15 + 0x1ac34" (identifier "puVar15") (+ "+") (number_literal "0x1ac34")) () ")")))) (+ "+") (number_literal "0x754")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar12 == 0x20)" (( "(") (binary_expression "iVar12 == 0x20" (identifier "iVar12") (== "==") (number_literal "0x20")) () ")"))) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);" (assignment_expression "uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x63c)" (( "(") (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x63c" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" (* "*") (cast_expression "(int *)(puVar15 + 0x1ac34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1ac34)" (( "(") (binary_expression "puVar15 + 0x1ac34" (identifier "puVar15") (+ "+") (number_literal "0x1ac34")) () ")")))) (+ "+") (number_literal "0x63c")) () ")"))))) (; ";")) (} "}")))) (expression_statement "uVar3 = quotearg_n_style_colon(0,3,uVar3);" (assignment_expression "uVar3 = quotearg_n_style_colon(0,3,uVar3)" (identifier "uVar3") (= "=") (call_expression "quotearg_n_style_colon(0,3,uVar3)" (identifier "quotearg_n_style_colon") (argument_list "(0,3,uVar3)" (( "(") (number_literal "0") (, ",") (number_literal "3") (, ",") (identifier "uVar3") () ")")))) (; ";")) (expression_statement "iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;" (assignment_expression "iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44" (identifier "iVar1") (= "=") (binary_expression "*(int *)(puVar15 + 0x1ac44) + -0x2e44" (pointer_expression "*(int *)(puVar15 + 0x1ac44)" (* "*") (cast_expression "(int *)(puVar15 + 0x1ac44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1ac44)" (( "(") (binary_expression "puVar15 + 0x1ac44" (identifier "puVar15") (+ "+") (number_literal "0x1ac44")) () ")")))) (+ "+") (number_literal "-0x2e44"))) (; ";")) (expression_statement "iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);" (assignment_expression "iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3)" (identifier "iVar7") (= "=") (call_expression "(**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3)" (parenthesized_expression "(**(code **)(puVar15 + 0x1ae34))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x1ae34)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x1ae34)" (* "*") (cast_expression "(code **)(puVar15 + 0x1ae34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x1ae34)" (( "(") (binary_expression "puVar15 + 0x1ae34" (identifier "puVar15") (+ "+") (number_literal "0x1ae34")) () ")"))))) () ")")) (argument_list "(1,iVar12,iVar1,uVar3)" (( "(") (number_literal "1") (, ",") (identifier "iVar12") (, ",") (identifier "iVar1") (, ",") (identifier "uVar3") () ")")))) (; ";")) (labeled_statement "LAB_000157ac:\n    if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }" (statement_identifier "LAB_000157ac") (: ":") (if_statement "if ((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       ) {\n      return 1;\n    }" (if "if") (parenthesized_expression "((iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')\n       )" (( "(") (binary_expression "(iVar1 == 0) &&\n       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')" (( "(") (comma_expression "iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0'" (assignment_expression "iVar7 = *(int *)(puVar15 + 0x1ac34)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(puVar15 + 0x1ac34)" (* "*") (cast_expression "(int *)(puVar15 + 0x1ac34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1ac34)" (( "(") (binary_expression "puVar15 + 0x1ac34" (identifier "puVar15") (+ "+") (number_literal "0x1ac34")) () ")"))))) (, ",") (binary_expression "*(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0'" (pointer_expression "*(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581)" (* "*") (cast_expression "(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar15 + 0x1ac34) + 0x581)" (( "(") (binary_expression "*(int *)(puVar15 + 0x1ac34) + 0x581" (pointer_expression "*(int *)(puVar15 + 0x1ac34)" (* "*") (cast_expression "(int *)(puVar15 + 0x1ac34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar15 + 0x1ac34)" (( "(") (binary_expression "puVar15 + 0x1ac34" (identifier "puVar15") (+ "+") (number_literal "0x1ac34")) () ")")))) (+ "+") (number_literal "0x581")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

void function_1(type_1 *var_1,int var_2,type_2 var_14,char *name)

{
  int var_15;
  int var_3;
  int *var_12;
  char *var_9;
  type_3 *puVar5;
  type_3 uVar6;
  char *pcVar7;
  type_4 *puVar8;
  size_t var_22;
  size_t var_21;
  size_t *psVar10;
  int var_13;
  void *var_17;
  int *piVar12;
  type_4 var_6;
  type_5 *pcVar13;
  type_6 *var_16;
  int var_7;
  char signame [19];
  
  var_16 = PTR___stack_chk_guard_00030510;
  var_15 = *(int *)PTR___stack_chk_guard_00030510;
  if (var_1 == (type_1 *)0x0) {
    if (var_2 < 0) goto LAB_00015408;
    var_3 = (*(type_5 *)PTR_close_0003040c)(var_2);
    if (-1 < var_3) goto LAB_000153c0;
    puVar5 = (type_3 *)(*(type_5 *)PTR___errno_location_00030478)();
    uVar6 = *puVar5;
    var_9 = var_4(0,shell_escape_quoting_style,name);
    pcVar13 = (type_5 *)PTR_error_000304c8;
    (*(type_5 *)PTR_error_000304c8)(1,uVar6,var_5 + -0x2e44,var_9);
LAB_0001549c:
    var_7 = 0;
    var_3 = (*pcVar13)(var_14,&var_7,0);
    if (var_3 == -1) {
      puVar8 = (type_4 *)(*(type_5 *)PTR___errno_location_00030478)();
      var_6 = *puVar8;
      if (var_6 == 10) goto LAB_000154bc;
      uVar6 = (*(type_5 *)PTR_dcgettext_000304f8)(0,var_5 + -0x2eb4,5);
      (*(type_5 *)PTR_error_000304c8)(1,var_6,uVar6);
LAB_0001562c:
      (*(type_5 *)PTR___sprintf_chk_000303f8)(var_14,1,0x13,var_5 + -0x2e98,var_6);
LAB_000154f8:
      uVar6 = (*(type_5 *)PTR_dcgettext_000304f8)(0,var_5 + -0x2e94,5);
      pcVar7 = var_4(0,shell_escape_quoting_style,name);
      var_9 = (char *)(var_6 + 0x80);
    }
    else {
LAB_000154bc:
      var_6 = var_7 & 0x7f;
      if ('\0' < (char)((char)var_6 + '\x01') >> 1) {
        if (var_6 == 0xd) goto LAB_00015410;
        var_14 = (type_2)signame;
        var_3 = var_8(var_6,(char *)var_14);
        if (var_3 != 0) goto LAB_0001562c;
        goto LAB_000154f8;
      }
      var_9 = (char *)((type_4)(var_7 << 0x10) >> 0x18);
      if (var_6 != 0) goto LAB_00015660;
      if (var_9 == (char *)0x0) goto LAB_00015410;
      uVar6 = (*(type_5 *)PTR_dcgettext_000304f8)(0,var_5 + -0x2e68,5);
      pcVar7 = var_4(0,shell_escape_quoting_style,name);
      var_14 = (type_2)var_9;
    }
    (*(type_5 *)PTR_error_000304c8)
              (var_9,0,uVar6,pcVar7,var_14,*(type_3 *)(var_10 + 0x754));
  }
  else {
    var_3 = var_11(var_1);
    if (var_3 != 0) {
      var_12 = (int *)(*(type_5 *)PTR___errno_location_00030478)();
      var_3 = *var_12;
      if ((*(int *)(var_10 + 0x754) == 0) || (var_3 != 0x20)) {
        var_9 = var_4(0,shell_escape_quoting_style,name);
        (*(type_5 *)PTR_error_000304c8)(1,var_3,var_5 + -0x2e44,var_9);
      }
    }
    if (-1 < var_2) {
LAB_000153c0:
      var_3 = *(int *)(var_10 + 0x744);
      if (var_3 != 0) {
        piVar12 = *(int **)(var_10 + 0x74c);
        var_12 = piVar12;
        if (var_2 != *piVar12) {
          var_13 = 0;
          do {
            var_12 = var_12 + 1;
            var_13 = var_13 + 1;
            if (var_13 == var_3) goto LAB_00015408;
          } while (*var_12 != var_2);
        }
        *(int *)(var_10 + 0x744) = var_3 + -1;
        *var_12 = piVar12[var_3 + -1];
      }
    }
LAB_00015408:
    pcVar13 = (type_5 *)PTR_waitpid_000304dc;
    if (0 < var_14) goto LAB_0001549c;
  }
LAB_00015410:
  if (var_15 == *(int *)var_16) {
    return;
  }
  (*(type_5 *)PTR___stack_chk_fail_000304f4)();
LAB_00015660:
  var_22 = (*(type_5 *)PTR_dcgettext_000304f8)(0,var_5 + -0x2e40,5);
  var_17 = (void *)0x0;
  var_15 = 1;
  var_16 = PTR_error_000304c8;
  (*(type_5 *)PTR_error_000304c8)();
  if (var_15 == 0) {
    var_15 = *(int *)(*(int *)(var_16 + 0x1ac34) + 0x4c);
    goto LAB_0001572c;
  }
  var_15 = *(int *)(var_16 + 0x1ac34);
  var_21 = var_22;
  if (var_17 == (void *)0x0) goto LAB_000157ac;
  do {
    var_3 = *(int *)(var_16 + 0x1ac34);
    var_13 = *(int *)(var_16 + 0x1ac34);
    function_1((type_1 *)0x0,*(int *)(var_13 + 0x4c),*(type_2 *)(var_15 + 0x750),*(char **)(var_3 + 0x63c)
            );
    var_18();
    var_15 = var_19(*(char **)(var_3 + 0x63c));
    *(int *)(var_13 + 0x4c) = var_15;
    var_22 = var_21;
    if (var_15 < 0) {
      psVar10 = (size_t *)(**(type_5 **)(var_16 + 0x1ade4))();
      var_9 = *(char **)(var_3 + 0x63c);
      var_21 = *psVar10;
    }
    else {
LAB_0001572c:
      var_21 = var_20(var_15,var_17,var_22);
      if (var_21 == var_22) {
        return;
      }
      psVar10 = (size_t *)(**(type_5 **)(var_16 + 0x1ade4))();
      var_21 = *psVar10;
      if ((*(int *)(*(int *)(var_16 + 0x1ac34) + 0x754) != 0) && (var_21 == 0x20)) {
        return;
      }
      var_9 = *(char **)(*(int *)(var_16 + 0x1ac34) + 0x63c);
    }
    var_9 = var_4(0,shell_escape_quoting_style,var_9);
    var_22 = *(int *)(var_16 + 0x1ac44) - 0x2e44;
    var_15 = (**(type_5 **)(var_16 + 0x1ae34))(1,var_21,var_22,var_9);
LAB_000157ac:
    if ((var_22 == 0) &&
       (var_15 = *(int *)(var_16 + 0x1ac34), *(char *)(*(int *)(var_16 + 0x1ac34) + 0x581) != '\0')
       ) {
      return;
    }
  } while( true );
}


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

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

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  uint *puVar6;
  int iVar7;
  undefined1 *puVar8;
  int iVar9;
  int *piVar10;
  uint uVar11;
  int iVar12;
  int iVar13;
  code *pcVar14;
  undefined *puVar15;
  uint local_34;
  undefined1 auStack_30 [20];
  int local_1c;
  
  puVar15 = PTR___stack_chk_guard_00030510;
  local_1c = *(int *)PTR___stack_chk_guard_00030510;
  if (param_1 == 0) {
    if (param_2 < 0) goto LAB_00015408;
    iVar1 = (*(code *)PTR_close_0003040c)(param_2);
    if (-1 < iVar1) goto LAB_000153c0;
    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_00030478)();
    uVar5 = *puVar4;
    uVar3 = quotearg_n_style_colon(0,3,param_4);
    pcVar14 = (code *)PTR_error_000304c8;
    (*(code *)PTR_error_000304c8)(1,uVar5,PTR_DAT_000302d8 + -0x2e44,uVar3);
LAB_0001549c:
    local_34 = 0;
    iVar1 = (*pcVar14)(param_3,&local_34,0);
    if (iVar1 == -1) {
      puVar6 = (uint *)(*(code *)PTR___errno_location_00030478)();
      uVar11 = *puVar6;
      if (uVar11 == 10) goto LAB_000154bc;
      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2eb4,5);
      (*(code *)PTR_error_000304c8)(1,uVar11,uVar3);
LAB_0001562c:
      (*(code *)PTR___sprintf_chk_000303f8)(param_3,1,0x13,PTR_DAT_000302d8 + -0x2e98,uVar11);
LAB_000154f8:
      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e94,5);
      uVar5 = quotearg_n_style_colon(0,3,param_4);
      puVar8 = (undefined1 *)(uVar11 + 0x80);
    }
    else {
LAB_000154bc:
      uVar11 = local_34 & 0x7f;
      if ('\0' < (char)((char)uVar11 + '\x01') >> 1) {
        if (uVar11 == 0xd) goto LAB_00015410;
        param_3 = auStack_30;
        iVar1 = sig2str(uVar11,param_3);
        if (iVar1 != 0) goto LAB_0001562c;
        goto LAB_000154f8;
      }
      puVar8 = (undefined1 *)((local_34 << 0x10) >> 0x18);
      if (uVar11 != 0) goto LAB_00015660;
      if (puVar8 == (undefined1 *)0x0) goto LAB_00015410;
      uVar3 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e68,5);
      uVar5 = quotearg_n_style_colon(0,3,param_4);
      param_3 = puVar8;
    }
    (*(code *)PTR_error_000304c8)
              (puVar8,0,uVar3,uVar5,param_3,*(undefined4 *)(PTR_DAT_000302c8 + 0x754));
  }
  else {
    iVar1 = rpl_fclose();
    if (iVar1 != 0) {
      piVar2 = (int *)(*(code *)PTR___errno_location_00030478)();
      iVar1 = *piVar2;
      if ((*(int *)(PTR_DAT_000302c8 + 0x754) == 0) || (iVar1 != 0x20)) {
        uVar3 = quotearg_n_style_colon(0,3,param_4);
        (*(code *)PTR_error_000304c8)(1,iVar1,PTR_DAT_000302d8 + -0x2e44,uVar3);
      }
    }
    if (-1 < param_2) {
LAB_000153c0:
      iVar1 = *(int *)(PTR_DAT_000302c8 + 0x744);
      if (iVar1 != 0) {
        piVar10 = *(int **)(PTR_DAT_000302c8 + 0x74c);
        piVar2 = piVar10;
        if (param_2 != *piVar10) {
          iVar7 = 0;
          do {
            piVar2 = piVar2 + 1;
            iVar7 = iVar7 + 1;
            if (iVar7 == iVar1) goto LAB_00015408;
          } while (*piVar2 != param_2);
        }
        *(int *)(PTR_DAT_000302c8 + 0x744) = iVar1 + -1;
        *piVar2 = piVar10[iVar1 + -1];
      }
    }
LAB_00015408:
    pcVar14 = (code *)PTR_waitpid_000304dc;
    if (0 < (int)param_3) goto LAB_0001549c;
  }
LAB_00015410:
  if (local_1c == *(int *)puVar15) {
    return *(int *)puVar15;
  }
  (*(code *)PTR___stack_chk_fail_000304f4)();
LAB_00015660:
  iVar1 = (*(code *)PTR_dcgettext_000304f8)(0,PTR_DAT_000302d8 + -0x2e40,5);
  iVar9 = 0;
  iVar7 = 1;
  puVar15 = PTR_error_000304c8;
  (*(code *)PTR_error_000304c8)();
  if (iVar7 == 0) {
    iVar7 = *(int *)(*(int *)(puVar15 + 0x1ac34) + 0x4c);
    goto LAB_0001572c;
  }
  iVar7 = *(int *)(puVar15 + 0x1ac34);
  iVar12 = iVar1;
  if (iVar9 == 0) goto LAB_000157ac;
  do {
    iVar13 = *(int *)(puVar15 + 0x1ac34);
    iVar1 = *(int *)(puVar15 + 0x1ac34);
    MASKED(0,*(undefined4 *)(iVar1 + 0x4c),*(undefined4 *)(iVar7 + 0x750),
                 *(undefined4 *)(iVar13 + 0x63c));
    FUN_000145e0();
    iVar7 = FUN_000149ec(*(undefined4 *)(iVar13 + 0x63c));
    *(int *)(iVar1 + 0x4c) = iVar7;
    iVar1 = iVar12;
    if (iVar7 < 0) {
      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))(iVar7);
      uVar3 = *(undefined4 *)(iVar13 + 0x63c);
      iVar12 = *piVar2;
    }
    else {
LAB_0001572c:
      iVar7 = full_write(iVar7,iVar9,iVar1);
      if (iVar7 == iVar1) {
        return 1;
      }
      piVar2 = (int *)(**(code **)(puVar15 + 0x1ade4))();
      iVar12 = *piVar2;
      if ((*(int *)(*(int *)(puVar15 + 0x1ac34) + 0x754) != 0) && (iVar12 == 0x20)) {
        return 0;
      }
      uVar3 = *(undefined4 *)(*(int *)(puVar15 + 0x1ac34) + 0x63c);
    }
    uVar3 = quotearg_n_style_colon(0,3,uVar3);
    iVar1 = *(int *)(puVar15 + 0x1ac44) + -0x2e44;
    iVar7 = (**(code **)(puVar15 + 0x1ae34))(1,iVar12,iVar1,uVar3);
LAB_000157ac:
    if ((iVar1 == 0) &&
       (iVar7 = *(int *)(puVar15 + 0x1ac34), *(char *)(*(int *)(puVar15 + 0x1ac34) + 0x581) != '\0')
       ) {
      return 1;
    }
  } while( true );
}

