
/* WARNING: Removing unreachable block (ram,0x000110d8) */
/* WARNING: Removing unreachable block (ram,0x000110ec) */
/* WARNING: Removing unreachable block (ram,0x000110e0) */
/* WARNING: Removing unreachable block (ram,0x000110e4) */
/* WARNING: Removing unreachable block (ram,0x00011320) */
/* WARNING: Removing unreachable block (ram,0x000113a0) */
/* WARNING: Removing unreachable block (ram,0x00010eb4) */
/* WARNING: Removing unreachable block (ram,0x000110a0) */
/* WARNING: Removing unreachable block (ram,0x000110b4) */
/* WARNING: Removing unreachable block (ram,0x000110a8) */
/* WARNING: Removing unreachable block (ram,0x000110ac) */
/* WARNING: Removing unreachable block (ram,0x00010e98) */
/* WARNING: Removing unreachable block (ram,0x00011044) */
/* WARNING: Removing unreachable block (ram,0x00010ea0) */
/* WARNING: Removing unreachable block (ram,0x00010ea4) */
/* WARNING: Removing unreachable block (ram,0x00011068) */
/* WARNING: Removing unreachable block (ram,0x0001107c) */
/* WARNING: Removing unreachable block (ram,0x00011070) */
/* WARNING: Removing unreachable block (ram,0x00011074) */
/* WARNING: Removing unreachable block (ram,0x00010ea8) */
/* WARNING: Removing unreachable block (ram,0x00010efc) */
/* WARNING: Removing unreachable block (ram,0x00011360) */
/* WARNING: Removing unreachable block (ram,0x00010fe0) */

int main(int argc,char **argv)

{
  bool bVar1;
  int iVar2;
  char **ppcVar3;
  EVP_PKEY_CTX *ctx;
  char **ppcVar4;
  int *piVar5;
  undefined4 *puVar6;
  int iVar7;
  char *fmt;
  int iVar8;
  undefined *puVar9;
  int k;
  EVP_PKEY_CTX *local_2c;
  
  local_2c = *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148;
  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);
  if (iVar2 == 0) {
    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);
  }
  puVar9 = PTR_000230f4;
  piVar5 = (int *)(PTR_000230f4 + 0x1b50);
  k = 0;
  ppcVar4 = argv;
  ppcVar3 = (char **)(*(code *)PTR_getopt_long_00023128)
                               (argc,argv,piVar5,PTR_DAT_000230e8 + 0x3010,&k);
  if (ppcVar3 != (char **)0xffffffff) {
    if (ppcVar3 + -0x12 < (char **)0x33) {
                    /* WARNING: Could not emulate address calculation at 0x00010c94 */
                    /* WARNING: Treating indirect jump as call */
      iVar2 = (*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))();
      return iVar2;
    }
    pr2serr(PTR_000230f4 + 0x1b84,ppcVar3);
    usage((uint)(iVar2 != 0));
    iVar2 = 1;
    ppcVar4 = ppcVar3;
    goto LAB_00010d44;
  }
  iVar7 = *(int *)PTR_optind_00023144;
  if (iVar7 < argc) {
    ppcVar3 = (char **)argv[iVar7];
    iVar7 = iVar7 + 1;
    *(int *)PTR_optind_00023144 = iVar7;
    puVar9 = PTR_optind_00023144;
    if (iVar7 < argc) {
      fmt = PTR_000230f4 + 0x1ba8;
      do {
        ppcVar4 = (char **)argv[iVar7];
        pr2serr(fmt,ppcVar4);
        iVar7 = *(int *)puVar9 + 1;
        *(int *)puVar9 = iVar7;
      } while (iVar7 < argc);
      usage((uint)(iVar2 != 0));
      iVar2 = 1;
      goto LAB_00010d44;
    }
    if (ppcVar3 != (char **)0x0) {
      bVar1 = iVar2 != 0;
      iVar2 = (*(code *)PTR_open64_00023120)(ppcVar3);
      if (iVar2 < 0) {
        pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);
        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);
        iVar2 = 1;
        ppcVar4 = ppcVar3;
      }
      else {
        k = 0;
        if (2 < bVar1) {
          pr2serr(PTR_000230f4 + 0x1ccc,0);
        }
        piVar5 = &k;
        ppcVar4 = (char **)0x2284;
        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);
        if ((int)ppcVar3 < 0) {
          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();
          piVar5 = (int *)*puVar6;
          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {
                    /* WARNING: Could not emulate address calculation at 0x00011158 */
                    /* WARNING: Treating indirect jump as call */
            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();
            return iVar2;
          }
          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);
          if (true < bVar1) {
            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);
            ppcVar4 = ppcVar3;
          }
          (*(code *)PTR_close_00023110)(iVar2);
          iVar2 = 1;
        }
        else {
          if (bVar1) {
            if (k == 0) {
              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);
            }
            else if (k == 1) {
              piVar5 = (int *)(PTR_000230f4 + 0x1aec);
              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);
              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);
            }
            else if (k == 4) {
              piVar5 = (int *)(PTR_000230f4 + 0x1b08);
              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);
              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);
            }
            else if (k == 2) {
              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);
              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);
              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);
            }
            else if (k == 3) {
              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);
            }
          }
          iVar2 = (*(code *)PTR_close_00023110)(iVar2);
          if (iVar2 < 0) {
            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);
            iVar2 = 1;
          }
          else {
            iVar2 = 0;
          }
        }
      }
      goto LAB_00010d44;
    }
  }
  pr2serr(PTR_000230f4 + 0x1bc8);
  iVar2 = 1;
LAB_00010d44:
  if (local_2c == *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148) {
    return iVar2;
  }
  ctx = local_2c;
  puVar9 = PTR___stack_chk_fail_00023140;
  (*(code *)PTR___stack_chk_fail_00023140)();
  iVar2 = _init(ctx);
  puVar6 = *(undefined4 **)(puVar9 + 0x11d2c);
  iVar8 = *(int *)(puVar9 + 0x11d2c) - (int)puVar6 >> 2;
  iVar7 = 0;
  if (iVar8 != 0) {
    do {
      iVar7 = iVar7 + 1;
      iVar2 = (*(code *)*puVar6)(ctx,ppcVar4,piVar5);
      puVar6 = puVar6 + 1;
    } while (iVar8 != iVar7);
  }
  return iVar2;
}



/* WARNING: Removing unreachable block (ram,0x000110d8) */
/* WARNING: Removing unreachable block (ram,0x000110ec) */
/* WARNING: Removing unreachable block (ram,0x000110e0) */
/* WARNING: Removing unreachable block (ram,0x000110e4) */
/* WARNING: Removing unreachable block (ram,0x00011320) */
/* WARNING: Removing unreachable block (ram,0x000113a0) */
/* WARNING: Removing unreachable block (ram,0x00010eb4) */
/* WARNING: Removing unreachable block (ram,0x000110a0) */
/* WARNING: Removing unreachable block (ram,0x000110b4) */
/* WARNING: Removing unreachable block (ram,0x000110a8) */
/* WARNING: Removing unreachable block (ram,0x000110ac) */
/* WARNING: Removing unreachable block (ram,0x00010e98) */
/* WARNING: Removing unreachable block (ram,0x00011044) */
/* WARNING: Removing unreachable block (ram,0x00010ea0) */
/* WARNING: Removing unreachable block (ram,0x00010ea4) */
/* WARNING: Removing unreachable block (ram,0x00011068) */
/* WARNING: Removing unreachable block (ram,0x0001107c) */
/* WARNING: Removing unreachable block (ram,0x00011070) */
/* WARNING: Removing unreachable block (ram,0x00011074) */
/* WARNING: Removing unreachable block (ram,0x00010ea8) */
/* WARNING: Removing unreachable block (ram,0x00010efc) */
/* WARNING: Removing unreachable block (ram,0x00011360) */
/* WARNING: Removing unreachable block (ram,0x00010fe0) */

undefined4 main(int param_1,undefined *param_2)

{
  bool bVar1;
  int iVar2;
  undefined *puVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined *puVar6;
  int *piVar7;
  undefined4 *puVar8;
  int iVar9;
  int iVar10;
  int local_30;
  int local_2c;
  
  local_2c = *(int *)PTR___stack_chk_guard_00023148;
  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);
  if (iVar2 == 0) {
    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);
  }
  puVar5 = PTR_000230f4;
  piVar7 = (int *)(PTR_000230f4 + 0x1b50);
  local_30 = 0;
  puVar6 = param_2;
  puVar3 = (undefined *)
           (*(code *)PTR_getopt_long_00023128)
                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);
  if (puVar3 != (undefined *)0xffffffff) {
    if (puVar3 + -0x48 < (undefined *)0x33) {
                    /* WARNING: Could not emulate address calculation at 0x00010c94 */
                    /* WARNING: Treating indirect jump as call */
      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();
      return uVar4;
    }
    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);
    FUN_00010b04(iVar2 != 0);
    uVar4 = 1;
    puVar6 = puVar3;
    goto LAB_00010d44;
  }
  iVar9 = *(int *)PTR_optind_00023144;
  if (iVar9 < param_1) {
    puVar3 = *(undefined **)(param_2 + iVar9 * 4);
    iVar9 = iVar9 + 1;
    *(int *)PTR_optind_00023144 = iVar9;
    puVar5 = PTR_optind_00023144;
    if (iVar9 < param_1) {
      puVar3 = PTR_000230f4 + 0x1ba8;
      do {
        puVar6 = *(undefined **)(param_2 + iVar9 * 4);
        FUN_00010a80(puVar3,puVar6);
        iVar9 = *(int *)puVar5 + 1;
        *(int *)puVar5 = iVar9;
      } while (iVar9 < param_1);
      FUN_00010b04(iVar2 != 0);
      uVar4 = 1;
      goto LAB_00010d44;
    }
    if (puVar3 != (undefined *)0x0) {
      bVar1 = iVar2 != 0;
      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);
      if (iVar2 < 0) {
        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);
        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);
        uVar4 = 1;
        puVar6 = puVar3;
      }
      else {
        local_30 = 0;
        if (2 < bVar1) {
          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);
        }
        piVar7 = &local_30;
        puVar6 = (undefined *)0x2284;
        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);
        if ((int)puVar5 < 0) {
          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();
          piVar7 = (int *)*puVar8;
          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {
                    /* WARNING: Could not emulate address calculation at 0x00011158 */
                    /* WARNING: Treating indirect jump as call */
            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()
            ;
            return uVar4;
          }
          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);
          if (true < bVar1) {
            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);
            puVar6 = puVar5;
          }
          (*(code *)PTR_close_00023110)(iVar2);
          uVar4 = 1;
        }
        else {
          if (bVar1) {
            if (local_30 == 0) {
              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);
            }
            else if (local_30 == 1) {
              piVar7 = (int *)(PTR_000230f4 + 0x1aec);
              puVar6 = PTR_000230f4 + 0x1edc;
              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);
            }
            else if (local_30 == 4) {
              piVar7 = (int *)(PTR_000230f4 + 0x1b08);
              puVar6 = PTR_000230f4 + 0x1f00;
              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);
            }
            else if (local_30 == 2) {
              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);
              puVar6 = PTR_000230f4 + 0x1f24;
              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);
            }
            else if (local_30 == 3) {
              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);
            }
          }
          iVar2 = (*(code *)PTR_close_00023110)(iVar2);
          if (iVar2 < 0) {
            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);
            uVar4 = 1;
          }
          else {
            uVar4 = 0;
          }
        }
      }
      goto LAB_00010d44;
    }
  }
  FUN_00010a80(PTR_000230f4 + 0x1bc8);
  uVar4 = 1;
LAB_00010d44:
  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {
    return uVar4;
  }
  iVar2 = local_2c;
  puVar5 = PTR___stack_chk_fail_00023140;
  (*(code *)PTR___stack_chk_fail_00023140)();
  uVar4 = _DT_INIT();
  puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);
  iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;
  iVar9 = 0;
  if (iVar10 != 0) {
    do {
      iVar9 = iVar9 + 1;
      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);
      puVar8 = puVar8 + 1;
    } while (iVar10 != iVar9);
  }
  return uVar4;
}


lui gp,0x2
addiu gp,gp,-0x5af0
addu gp,gp,t9
addiu sp,sp,-0x60
sw ra,0x5c(sp)
sw s8,0x58(sp)
sw s7,0x54(sp)
sw s6,0x50(sp)
sw s5,0x4c(sp)
sw s4,0x48(sp)
sw s3,0x44(sp)
sw s2,0x40(sp)
sw s1,0x3c(sp)
sw s0,0x38(sp)
sw gp,0x18(sp)
or s3,a0,zero
or s4,a1,zero
lw v0,-0x7f78(gp)
lw v0,0x0(v0)
sw v0,0x34(sp)
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1b28
lw t9,-0x7f8c(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x00010ca8
_or s6,v0,zero
or s7,zero,zero
sw zero,0x24(sp)
sw zero,0x2c(sp)
or s8,zero,zero
sw zero,0x28(sp)
sw zero,0x20(sp)
addiu s5,sp,0x30
lw s1,-0x7fd8(gp)
addiu s1,s1,0x3010
lw s0,-0x7fcc(gp)
addiu s0,s0,0x1b50
lw s2,-0x7fcc(gp)
addiu s2,s2,0x1fd0
sw zero,0x30(sp)
sw s5,0x10(sp)
or a3,s1,zero
or a2,s0,zero
or a1,s4,zero
or a0,s3,zero
lw t9,-0x7f98(gp)
jalr t9
_nop
lw gp,0x18(sp)
li v1,-0x1
beq v0,v1,0x00010df8
_addiu v1,v0,-0x48
sltiu a0,v1,0x33
beq a0,zero,0x00010da4
_sll v1,v1,0x2
addu v1,s2,v1
lw v1,0x0(v1)
addu v1,v1,gp
jr v1
_nop
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1b3c
lw t9,-0x7f8c(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x00010c20
_or s6,v0,zero
lw a0,0x34(sp)
lw v1,-0x7f78(gp)
lw v1,0x0(v1)
bne a0,v1,0x000113c4
_lw ra,0x5c(sp)
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
or a1,v0,zero
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1b84
lw t9,-0x7fcc(gp)
addiu t9,t9,0xa80
bal 0x00010a80
_nop
lw gp,0x18(sp)
sltu a0,zero,s6
lw t9,-0x7fcc(gp)
addiu t9,t9,0xb04
bal 0x00010b04
_nop
lw gp,0x18(sp)
b 0x00010d44
_li v0,0x1
lw v0,-0x7f7c(gp)
lw v0,0x0(v0)
slt v1,v0,s3
beq v1,zero,0x00010fbc
_sll v1,v0,0x2
addu v1,s4,v1
lw s0,0x0(v1)
addiu v0,v0,0x1
lw v1,-0x7f7c(gp)
sw v0,0x0(v1)
slt v1,v0,s3
bne v1,zero,0x00010f58
_lw s2,-0x7fcc(gp)
beq s0,zero,0x00010fc0
_lw a0,-0x7fcc(gp)
beq s6,zero,0x00010e4c
_lw v0,0x20(sp)
bne s7,zero,0x00010e50
_lw v1,0x24(sp)
li s7,0x1
lw v0,0x20(sp)
lw v1,0x24(sp)
addu v0,v0,v1
lw v1,0x28(sp)
addu v0,v0,v1
addu v0,v0,s8
slti v0,v0,0x2
beq v0,zero,0x00010fe0
_li a1,0x82
or a0,s0,zero
lw t9,-0x7fa0(gp)
jalr t9
_nop
lw gp,0x18(sp)
bltz v0,0x00011004
_or s1,v0,zero
sw zero,0x30(sp)
lw v0,0x20(sp)
beq v0,zero,0x00011060
_lw v0,0x24(sp)
bne s7,zero,0x00011044
_lw a0,-0x7fcc(gp)
li v0,0x1
sw v0,0x30(sp)
lw v0,0x2c(sp)
beq v0,zero,0x00010ec4
_slti v0,s7,0x3
lw v0,0x30(sp)
addiu v0,v0,0x100
sw v0,0x30(sp)
slti v0,s7,0x3
beq v0,zero,0x00011108
_lw a1,0x30(sp)
addiu a2,sp,0x30
li a1,0x2284
or a0,s1,zero
lw t9,-0x7f84(gp)
jalr t9
_nop
lw gp,0x18(sp)
bltz v0,0x0001112c
_or s0,v0,zero
lw v0,0x2c(sp)
beq v0,zero,0x00010f04
_lw v0,0x30(sp)
addiu v0,v0,-0x100
sw v0,0x30(sp)
beq s7,zero,0x000112c8
_or a0,s1,zero
lw v0,0x30(sp)
beq v0,zero,0x000112ac
_li v1,0x1
beq v0,v1,0x000112e8
_li v1,0x4
beq v0,v1,0x00011328
_li v1,0x2
beq v0,v1,0x00011368
_li v1,0x3
bne v0,v1,0x000112cc
_lw t9,-0x7fb0(gp)
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1f48
lw t9,-0x7f90(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x000112c8
_or a0,s1,zero
addiu s2,s2,0x1ba8
lw s1,-0x7fcc(gp)
addiu s1,s1,0xa80
lw s0,-0x7f7c(gp)
sll v0,v0,0x2
addu v0,s4,v0
lw a1,0x0(v0)
or a0,s2,zero
or t9,s1,zero
bal 0x00010a80
_nop
lw gp,0x18(sp)
lw v0,0x0(s0)
addiu v0,v0,0x1
slt v1,v0,s3
bne v1,zero,0x00010f68
_sw v0,0x0(s0)
sltu a0,zero,s6
lw t9,-0x7fcc(gp)
addiu t9,t9,0xb04
bal 0x00010b04
_nop
lw gp,0x18(sp)
b 0x00010d44
_li v0,0x1
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1bc8
lw t9,-0x7fcc(gp)
addiu t9,t9,0xa80
bal 0x00010a80
_nop
lw gp,0x18(sp)
b 0x00010d44
_li v0,0x1
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1bfc
lw t9,-0x7fcc(gp)
addiu t9,t9,0xa80
bal 0x00010a80
_nop
lw gp,0x18(sp)
b 0x00010d44
_li v0,0x1
or a1,s0,zero
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1c30
lw t9,-0x7fcc(gp)
addiu t9,t9,0xa80
bal 0x00010a80
_nop
lw gp,0x18(sp)
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1bf8
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x00010d44
_li v0,0x1
addiu a0,a0,0x1c4c
lw t9,-0x7f90(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x00010ea4
_li v0,0x1
beq v0,zero,0x00011098
_lw v0,0x28(sp)
bne s7,zero,0x0001107c
_lw a0,-0x7fcc(gp)
li v0,0x4
b 0x00010ea8
_sw v0,0x30(sp)
addiu a0,a0,0x1c6c
lw t9,-0x7f90(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x00011074
_li v0,0x4
beq v0,zero,0x000110d0
_nop
bne s7,zero,0x000110b4
_lw a0,-0x7fcc(gp)
li v0,0x2
b 0x00010ea8
_sw v0,0x30(sp)
addiu a0,a0,0x1c8c
lw t9,-0x7f90(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x000110ac
_li v0,0x2
beq s8,zero,0x00010eac
_lw v0,0x2c(sp)
bne s7,zero,0x000110ec
_lw a0,-0x7fcc(gp)
li v0,0x3
b 0x00010ea8
_sw v0,0x30(sp)
addiu a0,a0,0x1cac
lw t9,-0x7f90(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x000110e4
_li v0,0x3
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1ccc
lw t9,-0x7fcc(gp)
addiu t9,t9,0xa80
bal 0x00010a80
_nop
lw gp,0x18(sp)
b 0x00010ed0
_addiu a2,sp,0x30
lw t9,-0x7fa4(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw s2,0x0(v0)
addiu v0,s2,-0x1
sltiu v1,v0,0x16
beq v1,zero,0x00011244
_sll v1,v0,0x2
lw v0,-0x7fcc(gp)
addiu v0,v0,0x209c
addu v0,v0,v1
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1e54
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
slti s7,s7,0x2
beq s7,zero,0x00011284
_or a2,s2,zero
or a0,s1,zero
lw t9,-0x7fb0(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x00010d44
_li v0,0x1
or a1,s0,zero
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1e74
lw t9,-0x7fcc(gp)
addiu t9,t9,0xa80
bal 0x00010a80
_nop
lw gp,0x18(sp)
b 0x0001126c
_or a0,s1,zero
lw a0,-0x7fcc(gp)
addiu a0,a0,0x1eac
lw t9,-0x7f90(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,s1,zero
lw t9,-0x7fb0(gp)
jalr t9
_nop
lw gp,0x18(sp)
bltz v0,0x000113a8
_lw a0,-0x7fcc(gp)
b 0x00010d44
_or v0,zero,zero
lw v0,0x2c(sp)
bne v0,zero,0x00011320
_lw a2,-0x7fcc(gp)
lw a2,-0x7fcc(gp)
addiu a2,a2,0x1aec
lw a1,-0x7fcc(gp)
addiu a1,a1,0x1edc
li a0,0x1
lw t9,-0x7fa8(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x000112c8
_or a0,s1,zero
b 0x000112fc
_addiu a2,a2,0x1bf8
lw v0,0x2c(sp)
bne v0,zero,0x00011360
_lw a2,-0x7fcc(gp)
lw a2,-0x7fcc(gp)
addiu a2,a2,0x1b08
lw a1,-0x7fcc(gp)
addiu a1,a1,0x1f00
li a0,0x1
lw t9,-0x7fa8(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x000112c8
_or a0,s1,zero
b 0x0001133c
_addiu a2,a2,0x1bf8
lw v0,0x2c(sp)
bne v0,zero,0x000113a0
_lw a2,-0x7fcc(gp)
lw a2,-0x7fcc(gp)
addiu a2,a2,0x1b1c
lw a1,-0x7fcc(gp)
addiu a1,a1,0x1f24
li a0,0x1
lw t9,-0x7fa8(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x000112c8
_or a0,s1,zero
b 0x0001137c
_addiu a2,a2,0x1bf8
addiu a0,a0,0x1f68
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x00010d44
_li v0,0x1
lw t9,-0x7f80(gp)
jalr t9
_nop
(translation_unit "/* WARNING: Removing unreachable block (ram,0x000110d8) */\n/* WARNING: Removing unreachable block (ram,0x000110ec) */\n/* WARNING: Removing unreachable block (ram,0x000110e0) */\n/* WARNING: Removing unreachable block (ram,0x000110e4) */\n/* WARNING: Removing unreachable block (ram,0x00011320) */\n/* WARNING: Removing unreachable block (ram,0x000113a0) */\n/* WARNING: Removing unreachable block (ram,0x00010eb4) */\n/* WARNING: Removing unreachable block (ram,0x000110a0) */\n/* WARNING: Removing unreachable block (ram,0x000110b4) */\n/* WARNING: Removing unreachable block (ram,0x000110a8) */\n/* WARNING: Removing unreachable block (ram,0x000110ac) */\n/* WARNING: Removing unreachable block (ram,0x00010e98) */\n/* WARNING: Removing unreachable block (ram,0x00011044) */\n/* WARNING: Removing unreachable block (ram,0x00010ea0) */\n/* WARNING: Removing unreachable block (ram,0x00010ea4) */\n/* WARNING: Removing unreachable block (ram,0x00011068) */\n/* WARNING: Removing unreachable block (ram,0x0001107c) */\n/* WARNING: Removing unreachable block (ram,0x00011070) */\n/* WARNING: Removing unreachable block (ram,0x00011074) */\n/* WARNING: Removing unreachable block (ram,0x00010ea8) */\n/* WARNING: Removing unreachable block (ram,0x00010efc) */\n/* WARNING: Removing unreachable block (ram,0x00011360) */\n/* WARNING: Removing unreachable block (ram,0x00010fe0) */\n\nundefined4 main(int param_1,undefined *param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int local_30;\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar5 = PTR_000230f4;\n  piVar7 = (int *)(PTR_000230f4 + 0x1b50);\n  local_30 = 0;\n  puVar6 = param_2;\n  puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);\n  if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }\n  iVar9 = *(int *)PTR_optind_00023144;\n  if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  FUN_00010a80(PTR_000230f4 + 0x1bc8);\n  uVar4 = 1;\nLAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }\n  iVar2 = local_2c;\n  puVar5 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  uVar4 = _DT_INIT();\n  puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);\n  iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;\n  iVar9 = 0;\n  if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }\n  return uVar4;\n}\n\n" comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment (function_definition "undefined4 main(int param_1,undefined *param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int local_30;\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar5 = PTR_000230f4;\n  piVar7 = (int *)(PTR_000230f4 + 0x1b50);\n  local_30 = 0;\n  puVar6 = param_2;\n  puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);\n  if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }\n  iVar9 = *(int *)PTR_optind_00023144;\n  if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  FUN_00010a80(PTR_000230f4 + 0x1bc8);\n  uVar4 = 1;\nLAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }\n  iVar2 = local_2c;\n  puVar5 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  uVar4 = _DT_INIT();\n  puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);\n  iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;\n  iVar9 = 0;\n  if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }\n  return uVar4;\n}" type_identifier (function_declarator "main(int param_1,undefined *param_2)" identifier (parameter_list "(int param_1,undefined *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int local_30;\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar5 = PTR_000230f4;\n  piVar7 = (int *)(PTR_000230f4 + 0x1b50);\n  local_30 = 0;\n  puVar6 = param_2;\n  puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);\n  if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }\n  iVar9 = *(int *)PTR_optind_00023144;\n  if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  FUN_00010a80(PTR_000230f4 + 0x1bc8);\n  uVar4 = 1;\nLAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }\n  iVar2 = local_2c;\n  puVar5 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  uVar4 = _DT_INIT();\n  puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);\n  iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;\n  iVar9 = 0;\n  if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }\n  return uVar4;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_00023148;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_00023148" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00023148" * (cast_expression "(int *)PTR___stack_chk_guard_00023148" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28)" identifier = (call_expression "(*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28)" (parenthesized_expression "(*(code *)PTR_getenv_00023134)" ( (pointer_expression "*(code *)PTR_getenv_00023134" * (cast_expression "(code *)PTR_getenv_00023134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1b28)" ( (binary_expression "PTR_000230f4 + 0x1b28" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c)" identifier = (call_expression "(*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c)" (parenthesized_expression "(*(code *)PTR_getenv_00023134)" ( (pointer_expression "*(code *)PTR_getenv_00023134" * (cast_expression "(code *)PTR_getenv_00023134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1b3c)" ( (binary_expression "PTR_000230f4 + 0x1b3c" identifier + number_literal) )))) ;) })) (expression_statement "puVar5 = PTR_000230f4;" (assignment_expression "puVar5 = PTR_000230f4" identifier = identifier) ;) (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1b50);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1b50)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1b50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1b50)" ( (binary_expression "PTR_000230f4 + 0x1b50" identifier + number_literal) )))) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" identifier = identifier) ;) (expression_statement "puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);" (assignment_expression "puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" identifier = (cast_expression "(undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" (parenthesized_expression "(*(code *)PTR_getopt_long_00023128)" ( (pointer_expression "*(code *)PTR_getopt_long_00023128" * (cast_expression "(code *)PTR_getopt_long_00023128" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" ( identifier , identifier , identifier , (binary_expression "PTR_DAT_000230e8 + 0x3010" identifier + number_literal) , (pointer_expression "&local_30" & identifier) ))))) ;) (if_statement "if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }" if (parenthesized_expression "(puVar3 != (undefined *)0xffffffff)" ( (binary_expression "puVar3 != (undefined *)0xffffffff" identifier != (cast_expression "(undefined *)0xffffffff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }" { (if_statement "if (puVar3 + -0x48 < (undefined *)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }" if (parenthesized_expression "(puVar3 + -0x48 < (undefined *)0x33)" ( (binary_expression "puVar3 + -0x48 < (undefined *)0x33" (binary_expression "puVar3 + -0x48" identifier + number_literal) < (cast_expression "(undefined *)0x33" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }" { comment comment (expression_statement "uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();" (assignment_expression "uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0))" * (cast_expression "(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0))" ( (binary_expression "&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" * (cast_expression "(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" ( (binary_expression "puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0" (binary_expression "puVar5 + (int)(puVar3 + -0x48) * 4" identifier + (binary_expression "(int)(puVar3 + -0x48) * 4" (cast_expression "(int)(puVar3 + -0x48)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar3 + -0x48)" ( (binary_expression "puVar3 + -0x48" identifier + number_literal) ))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3)" identifier (argument_list "(PTR_000230f4 + 0x1b84,puVar3)" ( (binary_expression "PTR_000230f4 + 0x1b84" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_00010b04(iVar2 != 0);" (call_expression "FUN_00010b04(iVar2 != 0)" identifier (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;) (goto_statement "goto LAB_00010d44;" goto statement_identifier ;) })) (expression_statement "iVar9 = *(int *)PTR_optind_00023144;" (assignment_expression "iVar9 = *(int *)PTR_optind_00023144" identifier = (pointer_expression "*(int *)PTR_optind_00023144" * (cast_expression "(int *)PTR_optind_00023144" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }" if (parenthesized_expression "(iVar9 < param_1)" ( (binary_expression "iVar9 < param_1" identifier < identifier) )) (compound_statement "{\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }" { (expression_statement "puVar3 = *(undefined **)(param_2 + iVar9 * 4);" (assignment_expression "puVar3 = *(undefined **)(param_2 + iVar9 * 4)" identifier = (pointer_expression "*(undefined **)(param_2 + iVar9 * 4)" * (cast_expression "(undefined **)(param_2 + iVar9 * 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + iVar9 * 4)" ( (binary_expression "param_2 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)PTR_optind_00023144 = iVar9;" (assignment_expression "*(int *)PTR_optind_00023144 = iVar9" (pointer_expression "*(int *)PTR_optind_00023144" * (cast_expression "(int *)PTR_optind_00023144" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "puVar5 = PTR_optind_00023144;" (assignment_expression "puVar5 = PTR_optind_00023144" identifier = identifier) ;) (if_statement "if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }" if (parenthesized_expression "(iVar9 < param_1)" ( (binary_expression "iVar9 < param_1" identifier < identifier) )) (compound_statement "{\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }" { (expression_statement "puVar3 = PTR_000230f4 + 0x1ba8;" (assignment_expression "puVar3 = PTR_000230f4 + 0x1ba8" identifier = (binary_expression "PTR_000230f4 + 0x1ba8" identifier + number_literal)) ;) (do_statement "do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);" do (compound_statement "{\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      }" { (expression_statement "puVar6 = *(undefined **)(param_2 + iVar9 * 4);" (assignment_expression "puVar6 = *(undefined **)(param_2 + iVar9 * 4)" identifier = (pointer_expression "*(undefined **)(param_2 + iVar9 * 4)" * (cast_expression "(undefined **)(param_2 + iVar9 * 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + iVar9 * 4)" ( (binary_expression "param_2 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) (expression_statement "FUN_00010a80(puVar3,puVar6);" (call_expression "FUN_00010a80(puVar3,puVar6)" identifier (argument_list "(puVar3,puVar6)" ( identifier , identifier ))) ;) (expression_statement "iVar9 = *(int *)puVar5 + 1;" (assignment_expression "iVar9 = *(int *)puVar5 + 1" identifier = (binary_expression "*(int *)puVar5 + 1" (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) (expression_statement "*(int *)puVar5 = iVar9;" (assignment_expression "*(int *)puVar5 = iVar9" (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) }) while (parenthesized_expression "(iVar9 < param_1)" ( (binary_expression "iVar9 < param_1" identifier < identifier) )) ;) (expression_statement "FUN_00010b04(iVar2 != 0);" (call_expression "FUN_00010b04(iVar2 != 0)" identifier (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00010d44;" goto statement_identifier ;) })) (if_statement "if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }" if (parenthesized_expression "(puVar3 != (undefined *)0x0)" ( (binary_expression "puVar3 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }" { (expression_statement "bVar1 = iVar2 != 0;" (assignment_expression "bVar1 = iVar2 != 0" identifier = (binary_expression "iVar2 != 0" identifier != number_literal)) ;) (expression_statement "iVar2 = (*(code *)PTR_open64_00023120)(puVar3);" (assignment_expression "iVar2 = (*(code *)PTR_open64_00023120)(puVar3)" identifier = (call_expression "(*(code *)PTR_open64_00023120)(puVar3)" (parenthesized_expression "(*(code *)PTR_open64_00023120)" ( (pointer_expression "*(code *)PTR_open64_00023120" * (cast_expression "(code *)PTR_open64_00023120" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3)" ( identifier )))) ;) (if_statement "if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }" { (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3)" identifier (argument_list "(PTR_000230f4 + 0x1c30,puVar3)" ( (binary_expression "PTR_000230f4 + 0x1c30" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" ( (pointer_expression "*(code *)PTR_perror_00023138" * (cast_expression "(code *)PTR_perror_00023138" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1bf8)" ( (binary_expression "PTR_000230f4 + 0x1bf8" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;) }) (else_clause "else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }" else (compound_statement "{\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }" { (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }" if (parenthesized_expression "(2 < bVar1)" ( (binary_expression "2 < bVar1" number_literal < identifier) )) (compound_statement "{\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }" { (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1ccc,0);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1ccc,0)" identifier (argument_list "(PTR_000230f4 + 0x1ccc,0)" ( (binary_expression "PTR_000230f4 + 0x1ccc" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "piVar7 = &local_30;" (assignment_expression "piVar7 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;) (expression_statement "puVar6 = (undefined *)0x2284;" (assignment_expression "puVar6 = (undefined *)0x2284" identifier = (cast_expression "(undefined *)0x2284" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);" (assignment_expression "puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7)" identifier = (cast_expression "(undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7)" (parenthesized_expression "(*(code *)PTR_ioctl_0002313c)" ( (pointer_expression "*(code *)PTR_ioctl_0002313c" * (cast_expression "(code *)PTR_ioctl_0002313c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,0x2284,piVar7)" ( identifier , number_literal , identifier ))))) ;) (if_statement "if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }" if (parenthesized_expression "((int)puVar5 < 0)" ( (binary_expression "(int)puVar5 < 0" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }" { (expression_statement "puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();" (assignment_expression "puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0002311c)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002311c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002311c)" ( (pointer_expression "*(code *)PTR___errno_location_0002311c" * (cast_expression "(code *)PTR___errno_location_0002311c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "piVar7 = (int *)*puVar8;" (assignment_expression "piVar7 = (int *)*puVar8" identifier = (cast_expression "(int *)*puVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) ;) (if_statement "if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }" if (parenthesized_expression "((undefined *)((int)piVar7 + -1) < (undefined *)0x16)" ( (binary_expression "(undefined *)((int)piVar7 + -1) < (undefined *)0x16" (cast_expression "(undefined *)((int)piVar7 + -1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar7 + -1)" ( (binary_expression "(int)piVar7 + -1" (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) < (cast_expression "(undefined *)0x16" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }" { comment comment (expression_statement "uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;" (assignment_expression "uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c))" ( (binary_expression "&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" * (cast_expression "(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" ( (binary_expression "PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c" (binary_expression "PTR_000230f4 + ((int)piVar7 + -1) * 4" identifier + (binary_expression "((int)piVar7 + -1) * 4" (parenthesized_expression "((int)piVar7 + -1)" ( (binary_expression "(int)piVar7 + -1" (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" ( (pointer_expression "*(code *)PTR_perror_00023138" * (cast_expression "(code *)PTR_perror_00023138" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1e54)" ( (binary_expression "PTR_000230f4 + 0x1e54" identifier + number_literal) ))) ;) (if_statement "if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }" if (parenthesized_expression "(true < bVar1)" ( (binary_expression "true < bVar1" true < identifier) )) (compound_statement "{\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }" { (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7)" identifier (argument_list "(PTR_000230f4 + 0x1e74,puVar5,piVar7)" ( (binary_expression "PTR_000230f4 + 0x1e74" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_close_00023110)(iVar2);" (call_expression "(*(code *)PTR_close_00023110)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_00023110)" ( (pointer_expression "*(code *)PTR_close_00023110" * (cast_expression "(code *)PTR_close_00023110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }" else (compound_statement "{\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }" { (if_statement "if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }" { (if_statement "if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }" { (expression_statement "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);" (call_expression "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac)" (parenthesized_expression "(*(code *)PTR_puts_00023130)" ( (pointer_expression "*(code *)PTR_puts_00023130" * (cast_expression "(code *)PTR_puts_00023130" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1eac)" ( (binary_expression "PTR_000230f4 + 0x1eac" identifier + number_literal) ))) ;) }) (else_clause "else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }" { (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1aec);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1aec)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1aec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1aec)" ( (binary_expression "PTR_000230f4 + 0x1aec" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR_000230f4 + 0x1edc;" (assignment_expression "puVar6 = PTR_000230f4 + 0x1edc" identifier = (binary_expression "PTR_000230f4 + 0x1edc" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" ( (pointer_expression "*(code *)PTR___printf_chk_00023118" * (cast_expression "(code *)PTR___printf_chk_00023118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar6,piVar7)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(local_30 == 4)" ( (binary_expression "local_30 == 4" identifier == number_literal) )) (compound_statement "{\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }" { (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1b08);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1b08)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1b08)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1b08)" ( (binary_expression "PTR_000230f4 + 0x1b08" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR_000230f4 + 0x1f00;" (assignment_expression "puVar6 = PTR_000230f4 + 0x1f00" identifier = (binary_expression "PTR_000230f4 + 0x1f00" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" ( (pointer_expression "*(code *)PTR___printf_chk_00023118" * (cast_expression "(code *)PTR___printf_chk_00023118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar6,piVar7)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(local_30 == 2)" ( (binary_expression "local_30 == 2" identifier == number_literal) )) (compound_statement "{\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }" { (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1b1c);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1b1c)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1b1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1b1c)" ( (binary_expression "PTR_000230f4 + 0x1b1c" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR_000230f4 + 0x1f24;" (assignment_expression "puVar6 = PTR_000230f4 + 0x1f24" identifier = (binary_expression "PTR_000230f4 + 0x1f24" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" ( (pointer_expression "*(code *)PTR___printf_chk_00023118" * (cast_expression "(code *)PTR___printf_chk_00023118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar6,piVar7)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(local_30 == 3)" ( (binary_expression "local_30 == 3" identifier == number_literal) )) (compound_statement "{\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" { (expression_statement "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);" (call_expression "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48)" (parenthesized_expression "(*(code *)PTR_puts_00023130)" ( (pointer_expression "*(code *)PTR_puts_00023130" * (cast_expression "(code *)PTR_puts_00023130" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1f48)" ( (binary_expression "PTR_000230f4 + 0x1f48" identifier + number_literal) ))) ;) })))))))))) })) (expression_statement "iVar2 = (*(code *)PTR_close_00023110)(iVar2);" (assignment_expression "iVar2 = (*(code *)PTR_close_00023110)(iVar2)" identifier = (call_expression "(*(code *)PTR_close_00023110)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_00023110)" ( (pointer_expression "*(code *)PTR_close_00023110" * (cast_expression "(code *)PTR_close_00023110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }" { (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" ( (pointer_expression "*(code *)PTR_perror_00023138" * (cast_expression "(code *)PTR_perror_00023138" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1f68)" ( (binary_expression "PTR_000230f4 + 0x1f68" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            uVar4 = 0;\n          }" else (compound_statement "{\n            uVar4 = 0;\n          }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }))) }))) }))) (goto_statement "goto LAB_00010d44;" goto statement_identifier ;) })) })) (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1bc8);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1bc8)" identifier (argument_list "(PTR_000230f4 + 0x1bc8)" ( (binary_expression "PTR_000230f4 + 0x1bc8" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (labeled_statement "LAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }" if (parenthesized_expression "(local_2c == *(int *)PTR___stack_chk_guard_00023148)" ( (binary_expression "local_2c == *(int *)PTR___stack_chk_guard_00023148" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_00023148" * (cast_expression "(int *)PTR___stack_chk_guard_00023148" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) }))) (expression_statement "iVar2 = local_2c;" (assignment_expression "iVar2 = local_2c" identifier = identifier) ;) (expression_statement "puVar5 = PTR___stack_chk_fail_00023140;" (assignment_expression "puVar5 = PTR___stack_chk_fail_00023140" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00023140)();" (call_expression "(*(code *)PTR___stack_chk_fail_00023140)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00023140)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00023140" * (cast_expression "(code *)PTR___stack_chk_fail_00023140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = _DT_INIT();" (assignment_expression "uVar4 = _DT_INIT()" identifier = (call_expression "_DT_INIT()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);" (assignment_expression "puVar8 = *(undefined4 **)(puVar5 + 0x11d2c)" identifier = (pointer_expression "*(undefined4 **)(puVar5 + 0x11d2c)" * (cast_expression "(undefined4 **)(puVar5 + 0x11d2c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x11d2c)" ( (binary_expression "puVar5 + 0x11d2c" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;" (assignment_expression "iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2" identifier = (binary_expression "*(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2" (binary_expression "*(int *)(puVar5 + 0x11d2c) - (int)puVar8" (pointer_expression "*(int *)(puVar5 + 0x11d2c)" * (cast_expression "(int *)(puVar5 + 0x11d2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x11d2c)" ( (binary_expression "puVar5 + 0x11d2c" identifier + number_literal) )))) - (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (if_statement "if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }" { (do_statement "do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);" do (compound_statement "{\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    }" { (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);" (assignment_expression "uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7)" identifier = (call_expression "(*(code *)*puVar8)(iVar2,puVar6,piVar7)" (parenthesized_expression "(*(code *)*puVar8)" ( (pointer_expression "*(code *)*puVar8" * (cast_expression "(code *)*puVar8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) )) (argument_list "(iVar2,puVar6,piVar7)" ( identifier , identifier , identifier )))) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != iVar9)" ( (binary_expression "iVar10 != iVar9" identifier != identifier) )) ;) })) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x000110d8) */\n/* WARNING: Removing unreachable block (ram,0x000110ec) */\n/* WARNING: Removing unreachable block (ram,0x000110e0) */\n/* WARNING: Removing unreachable block (ram,0x000110e4) */\n/* WARNING: Removing unreachable block (ram,0x00011320) */\n/* WARNING: Removing unreachable block (ram,0x000113a0) */\n/* WARNING: Removing unreachable block (ram,0x00010eb4) */\n/* WARNING: Removing unreachable block (ram,0x000110a0) */\n/* WARNING: Removing unreachable block (ram,0x000110b4) */\n/* WARNING: Removing unreachable block (ram,0x000110a8) */\n/* WARNING: Removing unreachable block (ram,0x000110ac) */\n/* WARNING: Removing unreachable block (ram,0x00010e98) */\n/* WARNING: Removing unreachable block (ram,0x00011044) */\n/* WARNING: Removing unreachable block (ram,0x00010ea0) */\n/* WARNING: Removing unreachable block (ram,0x00010ea4) */\n/* WARNING: Removing unreachable block (ram,0x00011068) */\n/* WARNING: Removing unreachable block (ram,0x0001107c) */\n/* WARNING: Removing unreachable block (ram,0x00011070) */\n/* WARNING: Removing unreachable block (ram,0x00011074) */\n/* WARNING: Removing unreachable block (ram,0x00010ea8) */\n/* WARNING: Removing unreachable block (ram,0x00010efc) */\n/* WARNING: Removing unreachable block (ram,0x00011360) */\n/* WARNING: Removing unreachable block (ram,0x00010fe0) */\n\nint main(int argc,char **argv)\n\n{\n  bool bVar1;\n  int iVar2;\n  char **ppcVar3;\n  EVP_PKEY_CTX *ctx;\n  char **ppcVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  char *fmt;\n  int iVar8;\n  undefined *puVar9;\n  int k;\n  EVP_PKEY_CTX *local_2c;\n  \n  local_2c = *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar9 = PTR_000230f4;\n  piVar5 = (int *)(PTR_000230f4 + 0x1b50);\n  k = 0;\n  ppcVar4 = argv;\n  ppcVar3 = (char **)(*(code *)PTR_getopt_long_00023128)\n                               (argc,argv,piVar5,PTR_DAT_000230e8 + 0x3010,&k);\n  if (ppcVar3 != (char **)0xffffffff) {\n    if (ppcVar3 + -0x12 < (char **)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      iVar2 = (*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))();\n      return iVar2;\n    }\n    pr2serr(PTR_000230f4 + 0x1b84,ppcVar3);\n    usage((uint)(iVar2 != 0));\n    iVar2 = 1;\n    ppcVar4 = ppcVar3;\n    goto LAB_00010d44;\n  }\n  iVar7 = *(int *)PTR_optind_00023144;\n  if (iVar7 < argc) {\n    ppcVar3 = (char **)argv[iVar7];\n    iVar7 = iVar7 + 1;\n    *(int *)PTR_optind_00023144 = iVar7;\n    puVar9 = PTR_optind_00023144;\n    if (iVar7 < argc) {\n      fmt = PTR_000230f4 + 0x1ba8;\n      do {\n        ppcVar4 = (char **)argv[iVar7];\n        pr2serr(fmt,ppcVar4);\n        iVar7 = *(int *)puVar9 + 1;\n        *(int *)puVar9 = iVar7;\n      } while (iVar7 < argc);\n      usage((uint)(iVar2 != 0));\n      iVar2 = 1;\n      goto LAB_00010d44;\n    }\n    if (ppcVar3 != (char **)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(ppcVar3);\n      if (iVar2 < 0) {\n        pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        iVar2 = 1;\n        ppcVar4 = ppcVar3;\n      }\n      else {\n        k = 0;\n        if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar5 = &k;\n        ppcVar4 = (char **)0x2284;\n        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);\n        if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  pr2serr(PTR_000230f4 + 0x1bc8);\n  iVar2 = 1;\nLAB_00010d44:\n  if (local_2c == *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148) {\n    return iVar2;\n  }\n  ctx = local_2c;\n  puVar9 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  iVar2 = _init(ctx);\n  puVar6 = *(undefined4 **)(puVar9 + 0x11d2c);\n  iVar8 = *(int *)(puVar9 + 0x11d2c) - (int)puVar6 >> 2;\n  iVar7 = 0;\n  if (iVar8 != 0) {\n    do {\n      iVar7 = iVar7 + 1;\n      iVar2 = (*(code *)*puVar6)(ctx,ppcVar4,piVar5);\n      puVar6 = puVar6 + 1;\n    } while (iVar8 != iVar7);\n  }\n  return iVar2;\n}\n\n" comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment (function_definition "int main(int argc,char **argv)\n\n{\n  bool bVar1;\n  int iVar2;\n  char **ppcVar3;\n  EVP_PKEY_CTX *ctx;\n  char **ppcVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  char *fmt;\n  int iVar8;\n  undefined *puVar9;\n  int k;\n  EVP_PKEY_CTX *local_2c;\n  \n  local_2c = *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar9 = PTR_000230f4;\n  piVar5 = (int *)(PTR_000230f4 + 0x1b50);\n  k = 0;\n  ppcVar4 = argv;\n  ppcVar3 = (char **)(*(code *)PTR_getopt_long_00023128)\n                               (argc,argv,piVar5,PTR_DAT_000230e8 + 0x3010,&k);\n  if (ppcVar3 != (char **)0xffffffff) {\n    if (ppcVar3 + -0x12 < (char **)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      iVar2 = (*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))();\n      return iVar2;\n    }\n    pr2serr(PTR_000230f4 + 0x1b84,ppcVar3);\n    usage((uint)(iVar2 != 0));\n    iVar2 = 1;\n    ppcVar4 = ppcVar3;\n    goto LAB_00010d44;\n  }\n  iVar7 = *(int *)PTR_optind_00023144;\n  if (iVar7 < argc) {\n    ppcVar3 = (char **)argv[iVar7];\n    iVar7 = iVar7 + 1;\n    *(int *)PTR_optind_00023144 = iVar7;\n    puVar9 = PTR_optind_00023144;\n    if (iVar7 < argc) {\n      fmt = PTR_000230f4 + 0x1ba8;\n      do {\n        ppcVar4 = (char **)argv[iVar7];\n        pr2serr(fmt,ppcVar4);\n        iVar7 = *(int *)puVar9 + 1;\n        *(int *)puVar9 = iVar7;\n      } while (iVar7 < argc);\n      usage((uint)(iVar2 != 0));\n      iVar2 = 1;\n      goto LAB_00010d44;\n    }\n    if (ppcVar3 != (char **)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(ppcVar3);\n      if (iVar2 < 0) {\n        pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        iVar2 = 1;\n        ppcVar4 = ppcVar3;\n      }\n      else {\n        k = 0;\n        if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar5 = &k;\n        ppcVar4 = (char **)0x2284;\n        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);\n        if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  pr2serr(PTR_000230f4 + 0x1bc8);\n  iVar2 = 1;\nLAB_00010d44:\n  if (local_2c == *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148) {\n    return iVar2;\n  }\n  ctx = local_2c;\n  puVar9 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  iVar2 = _init(ctx);\n  puVar6 = *(undefined4 **)(puVar9 + 0x11d2c);\n  iVar8 = *(int *)(puVar9 + 0x11d2c) - (int)puVar6 >> 2;\n  iVar7 = 0;\n  if (iVar8 != 0) {\n    do {\n      iVar7 = iVar7 + 1;\n      iVar2 = (*(code *)*puVar6)(ctx,ppcVar4,piVar5);\n      puVar6 = puVar6 + 1;\n    } while (iVar8 != iVar7);\n  }\n  return iVar2;\n}" primitive_type (function_declarator "main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  char **ppcVar3;\n  EVP_PKEY_CTX *ctx;\n  char **ppcVar4;\n  int *piVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  char *fmt;\n  int iVar8;\n  undefined *puVar9;\n  int k;\n  EVP_PKEY_CTX *local_2c;\n  \n  local_2c = *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar9 = PTR_000230f4;\n  piVar5 = (int *)(PTR_000230f4 + 0x1b50);\n  k = 0;\n  ppcVar4 = argv;\n  ppcVar3 = (char **)(*(code *)PTR_getopt_long_00023128)\n                               (argc,argv,piVar5,PTR_DAT_000230e8 + 0x3010,&k);\n  if (ppcVar3 != (char **)0xffffffff) {\n    if (ppcVar3 + -0x12 < (char **)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      iVar2 = (*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))();\n      return iVar2;\n    }\n    pr2serr(PTR_000230f4 + 0x1b84,ppcVar3);\n    usage((uint)(iVar2 != 0));\n    iVar2 = 1;\n    ppcVar4 = ppcVar3;\n    goto LAB_00010d44;\n  }\n  iVar7 = *(int *)PTR_optind_00023144;\n  if (iVar7 < argc) {\n    ppcVar3 = (char **)argv[iVar7];\n    iVar7 = iVar7 + 1;\n    *(int *)PTR_optind_00023144 = iVar7;\n    puVar9 = PTR_optind_00023144;\n    if (iVar7 < argc) {\n      fmt = PTR_000230f4 + 0x1ba8;\n      do {\n        ppcVar4 = (char **)argv[iVar7];\n        pr2serr(fmt,ppcVar4);\n        iVar7 = *(int *)puVar9 + 1;\n        *(int *)puVar9 = iVar7;\n      } while (iVar7 < argc);\n      usage((uint)(iVar2 != 0));\n      iVar2 = 1;\n      goto LAB_00010d44;\n    }\n    if (ppcVar3 != (char **)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(ppcVar3);\n      if (iVar2 < 0) {\n        pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        iVar2 = 1;\n        ppcVar4 = ppcVar3;\n      }\n      else {\n        k = 0;\n        if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar5 = &k;\n        ppcVar4 = (char **)0x2284;\n        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);\n        if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  pr2serr(PTR_000230f4 + 0x1bc8);\n  iVar2 = 1;\nLAB_00010d44:\n  if (local_2c == *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148) {\n    return iVar2;\n  }\n  ctx = local_2c;\n  puVar9 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  iVar2 = _init(ctx);\n  puVar6 = *(undefined4 **)(puVar9 + 0x11d2c);\n  iVar8 = *(int *)(puVar9 + 0x11d2c) - (int)puVar6 >> 2;\n  iVar7 = 0;\n  if (iVar8 != 0) {\n    do {\n      iVar7 = iVar7 + 1;\n      iVar2 = (*(code *)*puVar6)(ctx,ppcVar4,piVar5);\n      puVar6 = puVar6 + 1;\n    } while (iVar8 != iVar7);\n  }\n  return iVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char **ppcVar3;" primitive_type (pointer_declarator "**ppcVar3" * (pointer_declarator "*ppcVar3" * identifier)) ;) (declaration "EVP_PKEY_CTX *ctx;" type_identifier (pointer_declarator "*ctx" * identifier) ;) (declaration "char **ppcVar4;" primitive_type (pointer_declarator "**ppcVar4" * (pointer_declarator "*ppcVar4" * identifier)) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int k;" primitive_type identifier ;) (declaration "EVP_PKEY_CTX *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "local_2c = *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148;" (assignment_expression "local_2c = *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148" identifier = (pointer_expression "*(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148" * (cast_expression "(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148" ( (type_descriptor "EVP_PKEY_CTX **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28)" identifier = (call_expression "(*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28)" (parenthesized_expression "(*(code *)PTR_getenv_00023134)" ( (pointer_expression "*(code *)PTR_getenv_00023134" * (cast_expression "(code *)PTR_getenv_00023134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1b28)" ( (binary_expression "PTR_000230f4 + 0x1b28" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c)" identifier = (call_expression "(*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c)" (parenthesized_expression "(*(code *)PTR_getenv_00023134)" ( (pointer_expression "*(code *)PTR_getenv_00023134" * (cast_expression "(code *)PTR_getenv_00023134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1b3c)" ( (binary_expression "PTR_000230f4 + 0x1b3c" identifier + number_literal) )))) ;) })) (expression_statement "puVar9 = PTR_000230f4;" (assignment_expression "puVar9 = PTR_000230f4" identifier = identifier) ;) (expression_statement "piVar5 = (int *)(PTR_000230f4 + 0x1b50);" (assignment_expression "piVar5 = (int *)(PTR_000230f4 + 0x1b50)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1b50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1b50)" ( (binary_expression "PTR_000230f4 + 0x1b50" identifier + number_literal) )))) ;) (expression_statement "k = 0;" (assignment_expression "k = 0" identifier = number_literal) ;) (expression_statement "ppcVar4 = argv;" (assignment_expression "ppcVar4 = argv" identifier = identifier) ;) (expression_statement "ppcVar3 = (char **)(*(code *)PTR_getopt_long_00023128)\n                               (argc,argv,piVar5,PTR_DAT_000230e8 + 0x3010,&k);" (assignment_expression "ppcVar3 = (char **)(*(code *)PTR_getopt_long_00023128)\n                               (argc,argv,piVar5,PTR_DAT_000230e8 + 0x3010,&k)" identifier = (cast_expression "(char **)(*(code *)PTR_getopt_long_00023128)\n                               (argc,argv,piVar5,PTR_DAT_000230e8 + 0x3010,&k)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(*(code *)PTR_getopt_long_00023128)\n                               (argc,argv,piVar5,PTR_DAT_000230e8 + 0x3010,&k)" (parenthesized_expression "(*(code *)PTR_getopt_long_00023128)" ( (pointer_expression "*(code *)PTR_getopt_long_00023128" * (cast_expression "(code *)PTR_getopt_long_00023128" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(argc,argv,piVar5,PTR_DAT_000230e8 + 0x3010,&k)" ( identifier , identifier , identifier , (binary_expression "PTR_DAT_000230e8 + 0x3010" identifier + number_literal) , (pointer_expression "&k" & identifier) ))))) ;) (if_statement "if (ppcVar3 != (char **)0xffffffff) {\n    if (ppcVar3 + -0x12 < (char **)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      iVar2 = (*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))();\n      return iVar2;\n    }\n    pr2serr(PTR_000230f4 + 0x1b84,ppcVar3);\n    usage((uint)(iVar2 != 0));\n    iVar2 = 1;\n    ppcVar4 = ppcVar3;\n    goto LAB_00010d44;\n  }" if (parenthesized_expression "(ppcVar3 != (char **)0xffffffff)" ( (binary_expression "ppcVar3 != (char **)0xffffffff" identifier != (cast_expression "(char **)0xffffffff" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    if (ppcVar3 + -0x12 < (char **)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      iVar2 = (*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))();\n      return iVar2;\n    }\n    pr2serr(PTR_000230f4 + 0x1b84,ppcVar3);\n    usage((uint)(iVar2 != 0));\n    iVar2 = 1;\n    ppcVar4 = ppcVar3;\n    goto LAB_00010d44;\n  }" { (if_statement "if (ppcVar3 + -0x12 < (char **)0x33) {\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      iVar2 = (*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))();\n      return iVar2;\n    }" if (parenthesized_expression "(ppcVar3 + -0x12 < (char **)0x33)" ( (binary_expression "ppcVar3 + -0x12 < (char **)0x33" (binary_expression "ppcVar3 + -0x12" identifier + number_literal) < (cast_expression "(char **)0x33" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00010c94 */\n                    /* WARNING: Treating indirect jump as call */\n      iVar2 = (*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))();\n      return iVar2;\n    }" { comment comment (expression_statement "iVar2 = (*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))();" (assignment_expression "iVar2 = (*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0))" * (cast_expression "(code *)(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0))" ( (binary_expression "&_gp + *(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)" * (cast_expression "(int *)(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0)" ( (binary_expression "puVar9 + (int)(ppcVar3 + -0x12) * 4 + 0x1fd0" (binary_expression "puVar9 + (int)(ppcVar3 + -0x12) * 4" identifier + (binary_expression "(int)(ppcVar3 + -0x12) * 4" (cast_expression "(int)(ppcVar3 + -0x12)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(ppcVar3 + -0x12)" ( (binary_expression "ppcVar3 + -0x12" identifier + number_literal) ))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "pr2serr(PTR_000230f4 + 0x1b84,ppcVar3);" (call_expression "pr2serr(PTR_000230f4 + 0x1b84,ppcVar3)" identifier (argument_list "(PTR_000230f4 + 0x1b84,ppcVar3)" ( (binary_expression "PTR_000230f4 + 0x1b84" identifier + number_literal) , identifier ))) ;) (expression_statement "usage((uint)(iVar2 != 0));" (call_expression "usage((uint)(iVar2 != 0))" identifier (argument_list "((uint)(iVar2 != 0))" ( (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) ))) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "ppcVar4 = ppcVar3;" (assignment_expression "ppcVar4 = ppcVar3" identifier = identifier) ;) (goto_statement "goto LAB_00010d44;" goto statement_identifier ;) })) (expression_statement "iVar7 = *(int *)PTR_optind_00023144;" (assignment_expression "iVar7 = *(int *)PTR_optind_00023144" identifier = (pointer_expression "*(int *)PTR_optind_00023144" * (cast_expression "(int *)PTR_optind_00023144" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar7 < argc) {\n    ppcVar3 = (char **)argv[iVar7];\n    iVar7 = iVar7 + 1;\n    *(int *)PTR_optind_00023144 = iVar7;\n    puVar9 = PTR_optind_00023144;\n    if (iVar7 < argc) {\n      fmt = PTR_000230f4 + 0x1ba8;\n      do {\n        ppcVar4 = (char **)argv[iVar7];\n        pr2serr(fmt,ppcVar4);\n        iVar7 = *(int *)puVar9 + 1;\n        *(int *)puVar9 = iVar7;\n      } while (iVar7 < argc);\n      usage((uint)(iVar2 != 0));\n      iVar2 = 1;\n      goto LAB_00010d44;\n    }\n    if (ppcVar3 != (char **)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(ppcVar3);\n      if (iVar2 < 0) {\n        pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        iVar2 = 1;\n        ppcVar4 = ppcVar3;\n      }\n      else {\n        k = 0;\n        if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar5 = &k;\n        ppcVar4 = (char **)0x2284;\n        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);\n        if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }" if (parenthesized_expression "(iVar7 < argc)" ( (binary_expression "iVar7 < argc" identifier < identifier) )) (compound_statement "{\n    ppcVar3 = (char **)argv[iVar7];\n    iVar7 = iVar7 + 1;\n    *(int *)PTR_optind_00023144 = iVar7;\n    puVar9 = PTR_optind_00023144;\n    if (iVar7 < argc) {\n      fmt = PTR_000230f4 + 0x1ba8;\n      do {\n        ppcVar4 = (char **)argv[iVar7];\n        pr2serr(fmt,ppcVar4);\n        iVar7 = *(int *)puVar9 + 1;\n        *(int *)puVar9 = iVar7;\n      } while (iVar7 < argc);\n      usage((uint)(iVar2 != 0));\n      iVar2 = 1;\n      goto LAB_00010d44;\n    }\n    if (ppcVar3 != (char **)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(ppcVar3);\n      if (iVar2 < 0) {\n        pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        iVar2 = 1;\n        ppcVar4 = ppcVar3;\n      }\n      else {\n        k = 0;\n        if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar5 = &k;\n        ppcVar4 = (char **)0x2284;\n        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);\n        if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }" { (expression_statement "ppcVar3 = (char **)argv[iVar7];" (assignment_expression "ppcVar3 = (char **)argv[iVar7]" identifier = (cast_expression "(char **)argv[iVar7]" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "argv[iVar7]" identifier [ identifier ]))) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)PTR_optind_00023144 = iVar7;" (assignment_expression "*(int *)PTR_optind_00023144 = iVar7" (pointer_expression "*(int *)PTR_optind_00023144" * (cast_expression "(int *)PTR_optind_00023144" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "puVar9 = PTR_optind_00023144;" (assignment_expression "puVar9 = PTR_optind_00023144" identifier = identifier) ;) (if_statement "if (iVar7 < argc) {\n      fmt = PTR_000230f4 + 0x1ba8;\n      do {\n        ppcVar4 = (char **)argv[iVar7];\n        pr2serr(fmt,ppcVar4);\n        iVar7 = *(int *)puVar9 + 1;\n        *(int *)puVar9 = iVar7;\n      } while (iVar7 < argc);\n      usage((uint)(iVar2 != 0));\n      iVar2 = 1;\n      goto LAB_00010d44;\n    }" if (parenthesized_expression "(iVar7 < argc)" ( (binary_expression "iVar7 < argc" identifier < identifier) )) (compound_statement "{\n      fmt = PTR_000230f4 + 0x1ba8;\n      do {\n        ppcVar4 = (char **)argv[iVar7];\n        pr2serr(fmt,ppcVar4);\n        iVar7 = *(int *)puVar9 + 1;\n        *(int *)puVar9 = iVar7;\n      } while (iVar7 < argc);\n      usage((uint)(iVar2 != 0));\n      iVar2 = 1;\n      goto LAB_00010d44;\n    }" { (expression_statement "fmt = PTR_000230f4 + 0x1ba8;" (assignment_expression "fmt = PTR_000230f4 + 0x1ba8" identifier = (binary_expression "PTR_000230f4 + 0x1ba8" identifier + number_literal)) ;) (do_statement "do {\n        ppcVar4 = (char **)argv[iVar7];\n        pr2serr(fmt,ppcVar4);\n        iVar7 = *(int *)puVar9 + 1;\n        *(int *)puVar9 = iVar7;\n      } while (iVar7 < argc);" do (compound_statement "{\n        ppcVar4 = (char **)argv[iVar7];\n        pr2serr(fmt,ppcVar4);\n        iVar7 = *(int *)puVar9 + 1;\n        *(int *)puVar9 = iVar7;\n      }" { (expression_statement "ppcVar4 = (char **)argv[iVar7];" (assignment_expression "ppcVar4 = (char **)argv[iVar7]" identifier = (cast_expression "(char **)argv[iVar7]" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "argv[iVar7]" identifier [ identifier ]))) ;) (expression_statement "pr2serr(fmt,ppcVar4);" (call_expression "pr2serr(fmt,ppcVar4)" identifier (argument_list "(fmt,ppcVar4)" ( identifier , identifier ))) ;) (expression_statement "iVar7 = *(int *)puVar9 + 1;" (assignment_expression "iVar7 = *(int *)puVar9 + 1" identifier = (binary_expression "*(int *)puVar9 + 1" (pointer_expression "*(int *)puVar9" * (cast_expression "(int *)puVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) (expression_statement "*(int *)puVar9 = iVar7;" (assignment_expression "*(int *)puVar9 = iVar7" (pointer_expression "*(int *)puVar9" * (cast_expression "(int *)puVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) }) while (parenthesized_expression "(iVar7 < argc)" ( (binary_expression "iVar7 < argc" identifier < identifier) )) ;) (expression_statement "usage((uint)(iVar2 != 0));" (call_expression "usage((uint)(iVar2 != 0))" identifier (argument_list "((uint)(iVar2 != 0))" ( (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) ))) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00010d44;" goto statement_identifier ;) })) (if_statement "if (ppcVar3 != (char **)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(ppcVar3);\n      if (iVar2 < 0) {\n        pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        iVar2 = 1;\n        ppcVar4 = ppcVar3;\n      }\n      else {\n        k = 0;\n        if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar5 = &k;\n        ppcVar4 = (char **)0x2284;\n        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);\n        if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }" if (parenthesized_expression "(ppcVar3 != (char **)0x0)" ( (binary_expression "ppcVar3 != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(ppcVar3);\n      if (iVar2 < 0) {\n        pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        iVar2 = 1;\n        ppcVar4 = ppcVar3;\n      }\n      else {\n        k = 0;\n        if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar5 = &k;\n        ppcVar4 = (char **)0x2284;\n        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);\n        if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }" { (expression_statement "bVar1 = iVar2 != 0;" (assignment_expression "bVar1 = iVar2 != 0" identifier = (binary_expression "iVar2 != 0" identifier != number_literal)) ;) (expression_statement "iVar2 = (*(code *)PTR_open64_00023120)(ppcVar3);" (assignment_expression "iVar2 = (*(code *)PTR_open64_00023120)(ppcVar3)" identifier = (call_expression "(*(code *)PTR_open64_00023120)(ppcVar3)" (parenthesized_expression "(*(code *)PTR_open64_00023120)" ( (pointer_expression "*(code *)PTR_open64_00023120" * (cast_expression "(code *)PTR_open64_00023120" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ppcVar3)" ( identifier )))) ;) (if_statement "if (iVar2 < 0) {\n        pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        iVar2 = 1;\n        ppcVar4 = ppcVar3;\n      }\n      else {\n        k = 0;\n        if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar5 = &k;\n        ppcVar4 = (char **)0x2284;\n        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);\n        if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n        pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        iVar2 = 1;\n        ppcVar4 = ppcVar3;\n      }" { (expression_statement "pr2serr(PTR_000230f4 + 0x1c30,ppcVar3);" (call_expression "pr2serr(PTR_000230f4 + 0x1c30,ppcVar3)" identifier (argument_list "(PTR_000230f4 + 0x1c30,ppcVar3)" ( (binary_expression "PTR_000230f4 + 0x1c30" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" ( (pointer_expression "*(code *)PTR_perror_00023138" * (cast_expression "(code *)PTR_perror_00023138" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1bf8)" ( (binary_expression "PTR_000230f4 + 0x1bf8" identifier + number_literal) ))) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "ppcVar4 = ppcVar3;" (assignment_expression "ppcVar4 = ppcVar3" identifier = identifier) ;) }) (else_clause "else {\n        k = 0;\n        if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar5 = &k;\n        ppcVar4 = (char **)0x2284;\n        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);\n        if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }\n      }" else (compound_statement "{\n        k = 0;\n        if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar5 = &k;\n        ppcVar4 = (char **)0x2284;\n        ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);\n        if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }\n      }" { (expression_statement "k = 0;" (assignment_expression "k = 0" identifier = number_literal) ;) (if_statement "if (2 < bVar1) {\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }" if (parenthesized_expression "(2 < bVar1)" ( (binary_expression "2 < bVar1" number_literal < identifier) )) (compound_statement "{\n          pr2serr(PTR_000230f4 + 0x1ccc,0);\n        }" { (expression_statement "pr2serr(PTR_000230f4 + 0x1ccc,0);" (call_expression "pr2serr(PTR_000230f4 + 0x1ccc,0)" identifier (argument_list "(PTR_000230f4 + 0x1ccc,0)" ( (binary_expression "PTR_000230f4 + 0x1ccc" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "piVar5 = &k;" (assignment_expression "piVar5 = &k" identifier = (pointer_expression "&k" & identifier)) ;) (expression_statement "ppcVar4 = (char **)0x2284;" (assignment_expression "ppcVar4 = (char **)0x2284" identifier = (cast_expression "(char **)0x2284" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5);" (assignment_expression "ppcVar3 = (char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5)" identifier = (cast_expression "(char **)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar5)" (parenthesized_expression "(*(code *)PTR_ioctl_0002313c)" ( (pointer_expression "*(code *)PTR_ioctl_0002313c" * (cast_expression "(code *)PTR_ioctl_0002313c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,0x2284,piVar5)" ( identifier , number_literal , identifier ))))) ;) (if_statement "if ((int)ppcVar3 < 0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }" if (parenthesized_expression "((int)ppcVar3 < 0)" ( (binary_expression "(int)ppcVar3 < 0" (cast_expression "(int)ppcVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar5 = (int *)*puVar6;\n          if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          iVar2 = 1;\n        }" { (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0002311c)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002311c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002311c)" ( (pointer_expression "*(code *)PTR___errno_location_0002311c" * (cast_expression "(code *)PTR___errno_location_0002311c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "piVar5 = (int *)*puVar6;" (assignment_expression "piVar5 = (int *)*puVar6" identifier = (cast_expression "(int *)*puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) (if_statement "if ((undefined *)((int)piVar5 + -1) < (undefined *)0x16) {\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }" if (parenthesized_expression "((undefined *)((int)piVar5 + -1) < (undefined *)0x16)" ( (binary_expression "(undefined *)((int)piVar5 + -1) < (undefined *)0x16" (cast_expression "(undefined *)((int)piVar5 + -1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + -1)" ( (binary_expression "(int)piVar5 + -1" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) < (cast_expression "(undefined *)0x16" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00011158 */\n                    /* WARNING: Treating indirect jump as call */\n            iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();\n            return iVar2;\n          }" { comment comment (expression_statement "iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))();" (assignment_expression "iVar2 = (*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c))" ( (binary_expression "&_gp + *(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)" * (cast_expression "(int *)(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c)" ( (binary_expression "PTR_000230f4 + ((int)piVar5 + -1) * 4 + 0x209c" (binary_expression "PTR_000230f4 + ((int)piVar5 + -1) * 4" identifier + (binary_expression "((int)piVar5 + -1) * 4" (parenthesized_expression "((int)piVar5 + -1)" ( (binary_expression "(int)piVar5 + -1" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" ( (pointer_expression "*(code *)PTR_perror_00023138" * (cast_expression "(code *)PTR_perror_00023138" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1e54)" ( (binary_expression "PTR_000230f4 + 0x1e54" identifier + number_literal) ))) ;) (if_statement "if (true < bVar1) {\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }" if (parenthesized_expression "(true < bVar1)" ( (binary_expression "true < bVar1" true < identifier) )) (compound_statement "{\n            pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);\n            ppcVar4 = ppcVar3;\n          }" { (expression_statement "pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5);" (call_expression "pr2serr(PTR_000230f4 + 0x1e74,ppcVar3,piVar5)" identifier (argument_list "(PTR_000230f4 + 0x1e74,ppcVar3,piVar5)" ( (binary_expression "PTR_000230f4 + 0x1e74" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "ppcVar4 = ppcVar3;" (assignment_expression "ppcVar4 = ppcVar3" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_close_00023110)(iVar2);" (call_expression "(*(code *)PTR_close_00023110)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_00023110)" ( (pointer_expression "*(code *)PTR_close_00023110" * (cast_expression "(code *)PTR_close_00023110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }" else (compound_statement "{\n          if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }\n        }" { (if_statement "if (bVar1) {\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n            if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }" { (if_statement "if (k == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(k == 0)" ( (binary_expression "k == 0" identifier == number_literal) )) (compound_statement "{\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }" { (expression_statement "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);" (call_expression "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac)" (parenthesized_expression "(*(code *)PTR_puts_00023130)" ( (pointer_expression "*(code *)PTR_puts_00023130" * (cast_expression "(code *)PTR_puts_00023130" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1eac)" ( (binary_expression "PTR_000230f4 + 0x1eac" identifier + number_literal) ))) ;) }) (else_clause "else if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (k == 1) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(k == 1)" ( (binary_expression "k == 1" identifier == number_literal) )) (compound_statement "{\n              piVar5 = (int *)(PTR_000230f4 + 0x1aec);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }" { (expression_statement "piVar5 = (int *)(PTR_000230f4 + 0x1aec);" (assignment_expression "piVar5 = (int *)(PTR_000230f4 + 0x1aec)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1aec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1aec)" ( (binary_expression "PTR_000230f4 + 0x1aec" identifier + number_literal) )))) ;) (expression_statement "ppcVar4 = (char **)(PTR_000230f4 + 0x1edc);" (assignment_expression "ppcVar4 = (char **)(PTR_000230f4 + 0x1edc)" identifier = (cast_expression "(char **)(PTR_000230f4 + 0x1edc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_000230f4 + 0x1edc)" ( (binary_expression "PTR_000230f4 + 0x1edc" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" ( (pointer_expression "*(code *)PTR___printf_chk_00023118" * (cast_expression "(code *)PTR___printf_chk_00023118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,ppcVar4,piVar5)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (k == 4) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(k == 4)" ( (binary_expression "k == 4" identifier == number_literal) )) (compound_statement "{\n              piVar5 = (int *)(PTR_000230f4 + 0x1b08);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }" { (expression_statement "piVar5 = (int *)(PTR_000230f4 + 0x1b08);" (assignment_expression "piVar5 = (int *)(PTR_000230f4 + 0x1b08)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1b08)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1b08)" ( (binary_expression "PTR_000230f4 + 0x1b08" identifier + number_literal) )))) ;) (expression_statement "ppcVar4 = (char **)(PTR_000230f4 + 0x1f00);" (assignment_expression "ppcVar4 = (char **)(PTR_000230f4 + 0x1f00)" identifier = (cast_expression "(char **)(PTR_000230f4 + 0x1f00)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_000230f4 + 0x1f00)" ( (binary_expression "PTR_000230f4 + 0x1f00" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" ( (pointer_expression "*(code *)PTR___printf_chk_00023118" * (cast_expression "(code *)PTR___printf_chk_00023118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,ppcVar4,piVar5)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (k == 2) {\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }\n            else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(k == 2)" ( (binary_expression "k == 2" identifier == number_literal) )) (compound_statement "{\n              piVar5 = (int *)(PTR_000230f4 + 0x1b1c);\n              ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);\n              (*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);\n            }" { (expression_statement "piVar5 = (int *)(PTR_000230f4 + 0x1b1c);" (assignment_expression "piVar5 = (int *)(PTR_000230f4 + 0x1b1c)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1b1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1b1c)" ( (binary_expression "PTR_000230f4 + 0x1b1c" identifier + number_literal) )))) ;) (expression_statement "ppcVar4 = (char **)(PTR_000230f4 + 0x1f24);" (assignment_expression "ppcVar4 = (char **)(PTR_000230f4 + 0x1f24)" identifier = (cast_expression "(char **)(PTR_000230f4 + 0x1f24)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_000230f4 + 0x1f24)" ( (binary_expression "PTR_000230f4 + 0x1f24" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" ( (pointer_expression "*(code *)PTR___printf_chk_00023118" * (cast_expression "(code *)PTR___printf_chk_00023118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,ppcVar4,piVar5)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (k == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(k == 3)" ( (binary_expression "k == 3" identifier == number_literal) )) (compound_statement "{\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" { (expression_statement "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);" (call_expression "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48)" (parenthesized_expression "(*(code *)PTR_puts_00023130)" ( (pointer_expression "*(code *)PTR_puts_00023130" * (cast_expression "(code *)PTR_puts_00023130" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1f48)" ( (binary_expression "PTR_000230f4 + 0x1f48" identifier + number_literal) ))) ;) })))))))))) })) (expression_statement "iVar2 = (*(code *)PTR_close_00023110)(iVar2);" (assignment_expression "iVar2 = (*(code *)PTR_close_00023110)(iVar2)" identifier = (call_expression "(*(code *)PTR_close_00023110)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_00023110)" ( (pointer_expression "*(code *)PTR_close_00023110" * (cast_expression "(code *)PTR_close_00023110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }\n          else {\n            iVar2 = 0;\n          }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            iVar2 = 1;\n          }" { (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" ( (pointer_expression "*(code *)PTR_perror_00023138" * (cast_expression "(code *)PTR_perror_00023138" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1f68)" ( (binary_expression "PTR_000230f4 + 0x1f68" identifier + number_literal) ))) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            iVar2 = 0;\n          }" else (compound_statement "{\n            iVar2 = 0;\n          }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }))) }))) }))) (goto_statement "goto LAB_00010d44;" goto statement_identifier ;) })) })) (expression_statement "pr2serr(PTR_000230f4 + 0x1bc8);" (call_expression "pr2serr(PTR_000230f4 + 0x1bc8)" identifier (argument_list "(PTR_000230f4 + 0x1bc8)" ( (binary_expression "PTR_000230f4 + 0x1bc8" identifier + number_literal) ))) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (labeled_statement "LAB_00010d44:\n  if (local_2c == *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148) {\n    return iVar2;\n  }" statement_identifier : (if_statement "if (local_2c == *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148) {\n    return iVar2;\n  }" if (parenthesized_expression "(local_2c == *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148)" ( (binary_expression "local_2c == *(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148" identifier == (pointer_expression "*(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148" * (cast_expression "(EVP_PKEY_CTX **)PTR___stack_chk_guard_00023148" ( (type_descriptor "EVP_PKEY_CTX **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) }))) (expression_statement "ctx = local_2c;" (assignment_expression "ctx = local_2c" identifier = identifier) ;) (expression_statement "puVar9 = PTR___stack_chk_fail_00023140;" (assignment_expression "puVar9 = PTR___stack_chk_fail_00023140" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00023140)();" (call_expression "(*(code *)PTR___stack_chk_fail_00023140)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00023140)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00023140" * (cast_expression "(code *)PTR___stack_chk_fail_00023140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = _init(ctx);" (assignment_expression "iVar2 = _init(ctx)" identifier = (call_expression "_init(ctx)" identifier (argument_list "(ctx)" ( identifier )))) ;) (expression_statement "puVar6 = *(undefined4 **)(puVar9 + 0x11d2c);" (assignment_expression "puVar6 = *(undefined4 **)(puVar9 + 0x11d2c)" identifier = (pointer_expression "*(undefined4 **)(puVar9 + 0x11d2c)" * (cast_expression "(undefined4 **)(puVar9 + 0x11d2c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x11d2c)" ( (binary_expression "puVar9 + 0x11d2c" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(puVar9 + 0x11d2c) - (int)puVar6 >> 2;" (assignment_expression "iVar8 = *(int *)(puVar9 + 0x11d2c) - (int)puVar6 >> 2" identifier = (binary_expression "*(int *)(puVar9 + 0x11d2c) - (int)puVar6 >> 2" (binary_expression "*(int *)(puVar9 + 0x11d2c) - (int)puVar6" (pointer_expression "*(int *)(puVar9 + 0x11d2c)" * (cast_expression "(int *)(puVar9 + 0x11d2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x11d2c)" ( (binary_expression "puVar9 + 0x11d2c" identifier + number_literal) )))) - (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (iVar8 != 0) {\n    do {\n      iVar7 = iVar7 + 1;\n      iVar2 = (*(code *)*puVar6)(ctx,ppcVar4,piVar5);\n      puVar6 = puVar6 + 1;\n    } while (iVar8 != iVar7);\n  }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar7 = iVar7 + 1;\n      iVar2 = (*(code *)*puVar6)(ctx,ppcVar4,piVar5);\n      puVar6 = puVar6 + 1;\n    } while (iVar8 != iVar7);\n  }" { (do_statement "do {\n      iVar7 = iVar7 + 1;\n      iVar2 = (*(code *)*puVar6)(ctx,ppcVar4,piVar5);\n      puVar6 = puVar6 + 1;\n    } while (iVar8 != iVar7);" do (compound_statement "{\n      iVar7 = iVar7 + 1;\n      iVar2 = (*(code *)*puVar6)(ctx,ppcVar4,piVar5);\n      puVar6 = puVar6 + 1;\n    }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = (*(code *)*puVar6)(ctx,ppcVar4,piVar5);" (assignment_expression "iVar2 = (*(code *)*puVar6)(ctx,ppcVar4,piVar5)" identifier = (call_expression "(*(code *)*puVar6)(ctx,ppcVar4,piVar5)" (parenthesized_expression "(*(code *)*puVar6)" ( (pointer_expression "*(code *)*puVar6" * (cast_expression "(code *)*puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) )) (argument_list "(ctx,ppcVar4,piVar5)" ( identifier , identifier , identifier )))) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != iVar7)" ( (binary_expression "iVar8 != iVar7" identifier != identifier) )) ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 main(int param_1,undefined *param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int local_30;\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar5 = PTR_000230f4;\n  piVar7 = (int *)(PTR_000230f4 + 0x1b50);\n  local_30 = 0;\n  puVar6 = param_2;\n  puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);\n  if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }\n  iVar9 = *(int *)PTR_optind_00023144;\n  if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  FUN_00010a80(PTR_000230f4 + 0x1bc8);\n  uVar4 = 1;\nLAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }\n  iVar2 = local_2c;\n  puVar5 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  uVar4 = _DT_INIT();\n  puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);\n  iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;\n  iVar9 = 0;\n  if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }\n  return uVar4;\n}\n\n" (function_definition "undefined4 main(int param_1,undefined *param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int local_30;\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar5 = PTR_000230f4;\n  piVar7 = (int *)(PTR_000230f4 + 0x1b50);\n  local_30 = 0;\n  puVar6 = param_2;\n  puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);\n  if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }\n  iVar9 = *(int *)PTR_optind_00023144;\n  if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  FUN_00010a80(PTR_000230f4 + 0x1bc8);\n  uVar4 = 1;\nLAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }\n  iVar2 = local_2c;\n  puVar5 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  uVar4 = _DT_INIT();\n  puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);\n  iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;\n  iVar9 = 0;\n  if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }\n  return uVar4;\n}" type_identifier (function_declarator "main(int param_1,undefined *param_2)" identifier (parameter_list "(int param_1,undefined *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int local_30;\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar5 = PTR_000230f4;\n  piVar7 = (int *)(PTR_000230f4 + 0x1b50);\n  local_30 = 0;\n  puVar6 = param_2;\n  puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);\n  if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }\n  iVar9 = *(int *)PTR_optind_00023144;\n  if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  FUN_00010a80(PTR_000230f4 + 0x1bc8);\n  uVar4 = 1;\nLAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }\n  iVar2 = local_2c;\n  puVar5 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  uVar4 = _DT_INIT();\n  puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);\n  iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;\n  iVar9 = 0;\n  if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }\n  return uVar4;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_00023148;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_00023148" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00023148" * (cast_expression "(int *)PTR___stack_chk_guard_00023148" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28)" identifier = (call_expression "(*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28)" (parenthesized_expression "(*(code *)PTR_getenv_00023134)" ( (pointer_expression "*(code *)PTR_getenv_00023134" * (cast_expression "(code *)PTR_getenv_00023134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1b28)" ( (binary_expression "PTR_000230f4 + 0x1b28" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c)" identifier = (call_expression "(*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c)" (parenthesized_expression "(*(code *)PTR_getenv_00023134)" ( (pointer_expression "*(code *)PTR_getenv_00023134" * (cast_expression "(code *)PTR_getenv_00023134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1b3c)" ( (binary_expression "PTR_000230f4 + 0x1b3c" identifier + number_literal) )))) ;) })) (expression_statement "puVar5 = PTR_000230f4;" (assignment_expression "puVar5 = PTR_000230f4" identifier = identifier) ;) (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1b50);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1b50)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1b50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1b50)" ( (binary_expression "PTR_000230f4 + 0x1b50" identifier + number_literal) )))) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" identifier = identifier) ;) (expression_statement "puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);" (assignment_expression "puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" identifier = (cast_expression "(undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" (parenthesized_expression "(*(code *)PTR_getopt_long_00023128)" ( (pointer_expression "*(code *)PTR_getopt_long_00023128" * (cast_expression "(code *)PTR_getopt_long_00023128" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" ( identifier , identifier , identifier , (binary_expression "PTR_DAT_000230e8 + 0x3010" identifier + number_literal) , (pointer_expression "&local_30" & identifier) ))))) ;) (if_statement "if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }" if (parenthesized_expression "(puVar3 != (undefined *)0xffffffff)" ( (binary_expression "puVar3 != (undefined *)0xffffffff" identifier != (cast_expression "(undefined *)0xffffffff" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }" { (if_statement "if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }" if (parenthesized_expression "(puVar3 + -0x48 < (undefined *)0x33)" ( (binary_expression "puVar3 + -0x48 < (undefined *)0x33" (binary_expression "puVar3 + -0x48" identifier + number_literal) < (cast_expression "(undefined *)0x33" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }" { (expression_statement "uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();" (assignment_expression "uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0))" * (cast_expression "(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0))" ( (binary_expression "&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" * (cast_expression "(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" ( (binary_expression "puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0" (binary_expression "puVar5 + (int)(puVar3 + -0x48) * 4" identifier + (binary_expression "(int)(puVar3 + -0x48) * 4" (cast_expression "(int)(puVar3 + -0x48)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar3 + -0x48)" ( (binary_expression "puVar3 + -0x48" identifier + number_literal) ))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3)" identifier (argument_list "(PTR_000230f4 + 0x1b84,puVar3)" ( (binary_expression "PTR_000230f4 + 0x1b84" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_00010b04(iVar2 != 0);" (call_expression "FUN_00010b04(iVar2 != 0)" identifier (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;) (goto_statement "goto LAB_00010d44;" goto statement_identifier ;) })) (expression_statement "iVar9 = *(int *)PTR_optind_00023144;" (assignment_expression "iVar9 = *(int *)PTR_optind_00023144" identifier = (pointer_expression "*(int *)PTR_optind_00023144" * (cast_expression "(int *)PTR_optind_00023144" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }" if (parenthesized_expression "(iVar9 < param_1)" ( (binary_expression "iVar9 < param_1" identifier < identifier) )) (compound_statement "{\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }" { (expression_statement "puVar3 = *(undefined **)(param_2 + iVar9 * 4);" (assignment_expression "puVar3 = *(undefined **)(param_2 + iVar9 * 4)" identifier = (pointer_expression "*(undefined **)(param_2 + iVar9 * 4)" * (cast_expression "(undefined **)(param_2 + iVar9 * 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + iVar9 * 4)" ( (binary_expression "param_2 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)PTR_optind_00023144 = iVar9;" (assignment_expression "*(int *)PTR_optind_00023144 = iVar9" (pointer_expression "*(int *)PTR_optind_00023144" * (cast_expression "(int *)PTR_optind_00023144" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "puVar5 = PTR_optind_00023144;" (assignment_expression "puVar5 = PTR_optind_00023144" identifier = identifier) ;) (if_statement "if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }" if (parenthesized_expression "(iVar9 < param_1)" ( (binary_expression "iVar9 < param_1" identifier < identifier) )) (compound_statement "{\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }" { (expression_statement "puVar3 = PTR_000230f4 + 0x1ba8;" (assignment_expression "puVar3 = PTR_000230f4 + 0x1ba8" identifier = (binary_expression "PTR_000230f4 + 0x1ba8" identifier + number_literal)) ;) (do_statement "do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);" do (compound_statement "{\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      }" { (expression_statement "puVar6 = *(undefined **)(param_2 + iVar9 * 4);" (assignment_expression "puVar6 = *(undefined **)(param_2 + iVar9 * 4)" identifier = (pointer_expression "*(undefined **)(param_2 + iVar9 * 4)" * (cast_expression "(undefined **)(param_2 + iVar9 * 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + iVar9 * 4)" ( (binary_expression "param_2 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) (expression_statement "FUN_00010a80(puVar3,puVar6);" (call_expression "FUN_00010a80(puVar3,puVar6)" identifier (argument_list "(puVar3,puVar6)" ( identifier , identifier ))) ;) (expression_statement "iVar9 = *(int *)puVar5 + 1;" (assignment_expression "iVar9 = *(int *)puVar5 + 1" identifier = (binary_expression "*(int *)puVar5 + 1" (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) (expression_statement "*(int *)puVar5 = iVar9;" (assignment_expression "*(int *)puVar5 = iVar9" (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) }) while (parenthesized_expression "(iVar9 < param_1)" ( (binary_expression "iVar9 < param_1" identifier < identifier) )) ;) (expression_statement "FUN_00010b04(iVar2 != 0);" (call_expression "FUN_00010b04(iVar2 != 0)" identifier (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00010d44;" goto statement_identifier ;) })) (if_statement "if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }" if (parenthesized_expression "(puVar3 != (undefined *)0x0)" ( (binary_expression "puVar3 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }" { (expression_statement "bVar1 = iVar2 != 0;" (assignment_expression "bVar1 = iVar2 != 0" identifier = (binary_expression "iVar2 != 0" identifier != number_literal)) ;) (expression_statement "iVar2 = (*(code *)PTR_open64_00023120)(puVar3);" (assignment_expression "iVar2 = (*(code *)PTR_open64_00023120)(puVar3)" identifier = (call_expression "(*(code *)PTR_open64_00023120)(puVar3)" (parenthesized_expression "(*(code *)PTR_open64_00023120)" ( (pointer_expression "*(code *)PTR_open64_00023120" * (cast_expression "(code *)PTR_open64_00023120" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3)" ( identifier )))) ;) (if_statement "if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }" { (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3)" identifier (argument_list "(PTR_000230f4 + 0x1c30,puVar3)" ( (binary_expression "PTR_000230f4 + 0x1c30" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" ( (pointer_expression "*(code *)PTR_perror_00023138" * (cast_expression "(code *)PTR_perror_00023138" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1bf8)" ( (binary_expression "PTR_000230f4 + 0x1bf8" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;) }) (else_clause "else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }" else (compound_statement "{\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }" { (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }" if (parenthesized_expression "(2 < bVar1)" ( (binary_expression "2 < bVar1" number_literal < identifier) )) (compound_statement "{\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }" { (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1ccc,0);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1ccc,0)" identifier (argument_list "(PTR_000230f4 + 0x1ccc,0)" ( (binary_expression "PTR_000230f4 + 0x1ccc" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "piVar7 = &local_30;" (assignment_expression "piVar7 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;) (expression_statement "puVar6 = (undefined *)0x2284;" (assignment_expression "puVar6 = (undefined *)0x2284" identifier = (cast_expression "(undefined *)0x2284" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);" (assignment_expression "puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7)" identifier = (cast_expression "(undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7)" (parenthesized_expression "(*(code *)PTR_ioctl_0002313c)" ( (pointer_expression "*(code *)PTR_ioctl_0002313c" * (cast_expression "(code *)PTR_ioctl_0002313c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,0x2284,piVar7)" ( identifier , number_literal , identifier ))))) ;) (if_statement "if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }" if (parenthesized_expression "((int)puVar5 < 0)" ( (binary_expression "(int)puVar5 < 0" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }" { (expression_statement "puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();" (assignment_expression "puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0002311c)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002311c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002311c)" ( (pointer_expression "*(code *)PTR___errno_location_0002311c" * (cast_expression "(code *)PTR___errno_location_0002311c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "piVar7 = (int *)*puVar8;" (assignment_expression "piVar7 = (int *)*puVar8" identifier = (cast_expression "(int *)*puVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) ;) (if_statement "if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }" if (parenthesized_expression "((undefined *)((int)piVar7 + -1) < (undefined *)0x16)" ( (binary_expression "(undefined *)((int)piVar7 + -1) < (undefined *)0x16" (cast_expression "(undefined *)((int)piVar7 + -1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar7 + -1)" ( (binary_expression "(int)piVar7 + -1" (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) < (cast_expression "(undefined *)0x16" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }" { (expression_statement "uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;" (assignment_expression "uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c))" ( (binary_expression "&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" * (cast_expression "(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" ( (binary_expression "PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c" (binary_expression "PTR_000230f4 + ((int)piVar7 + -1) * 4" identifier + (binary_expression "((int)piVar7 + -1) * 4" (parenthesized_expression "((int)piVar7 + -1)" ( (binary_expression "(int)piVar7 + -1" (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" ( (pointer_expression "*(code *)PTR_perror_00023138" * (cast_expression "(code *)PTR_perror_00023138" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1e54)" ( (binary_expression "PTR_000230f4 + 0x1e54" identifier + number_literal) ))) ;) (if_statement "if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }" if (parenthesized_expression "(true < bVar1)" ( (binary_expression "true < bVar1" true < identifier) )) (compound_statement "{\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }" { (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7)" identifier (argument_list "(PTR_000230f4 + 0x1e74,puVar5,piVar7)" ( (binary_expression "PTR_000230f4 + 0x1e74" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_close_00023110)(iVar2);" (call_expression "(*(code *)PTR_close_00023110)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_00023110)" ( (pointer_expression "*(code *)PTR_close_00023110" * (cast_expression "(code *)PTR_close_00023110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }" else (compound_statement "{\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }" { (if_statement "if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }" { (if_statement "if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }" { (expression_statement "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);" (call_expression "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac)" (parenthesized_expression "(*(code *)PTR_puts_00023130)" ( (pointer_expression "*(code *)PTR_puts_00023130" * (cast_expression "(code *)PTR_puts_00023130" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1eac)" ( (binary_expression "PTR_000230f4 + 0x1eac" identifier + number_literal) ))) ;) }) (else_clause "else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }" { (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1aec);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1aec)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1aec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1aec)" ( (binary_expression "PTR_000230f4 + 0x1aec" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR_000230f4 + 0x1edc;" (assignment_expression "puVar6 = PTR_000230f4 + 0x1edc" identifier = (binary_expression "PTR_000230f4 + 0x1edc" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" ( (pointer_expression "*(code *)PTR___printf_chk_00023118" * (cast_expression "(code *)PTR___printf_chk_00023118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar6,piVar7)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(local_30 == 4)" ( (binary_expression "local_30 == 4" identifier == number_literal) )) (compound_statement "{\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }" { (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1b08);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1b08)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1b08)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1b08)" ( (binary_expression "PTR_000230f4 + 0x1b08" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR_000230f4 + 0x1f00;" (assignment_expression "puVar6 = PTR_000230f4 + 0x1f00" identifier = (binary_expression "PTR_000230f4 + 0x1f00" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" ( (pointer_expression "*(code *)PTR___printf_chk_00023118" * (cast_expression "(code *)PTR___printf_chk_00023118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar6,piVar7)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(local_30 == 2)" ( (binary_expression "local_30 == 2" identifier == number_literal) )) (compound_statement "{\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }" { (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1b1c);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1b1c)" identifier = (cast_expression "(int *)(PTR_000230f4 + 0x1b1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_000230f4 + 0x1b1c)" ( (binary_expression "PTR_000230f4 + 0x1b1c" identifier + number_literal) )))) ;) (expression_statement "puVar6 = PTR_000230f4 + 0x1f24;" (assignment_expression "puVar6 = PTR_000230f4 + 0x1f24" identifier = (binary_expression "PTR_000230f4 + 0x1f24" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" ( (pointer_expression "*(code *)PTR___printf_chk_00023118" * (cast_expression "(code *)PTR___printf_chk_00023118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar6,piVar7)" ( number_literal , identifier , identifier ))) ;) }) (else_clause "else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" else (if_statement "if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" if (parenthesized_expression "(local_30 == 3)" ( (binary_expression "local_30 == 3" identifier == number_literal) )) (compound_statement "{\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" { (expression_statement "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);" (call_expression "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48)" (parenthesized_expression "(*(code *)PTR_puts_00023130)" ( (pointer_expression "*(code *)PTR_puts_00023130" * (cast_expression "(code *)PTR_puts_00023130" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1f48)" ( (binary_expression "PTR_000230f4 + 0x1f48" identifier + number_literal) ))) ;) })))))))))) })) (expression_statement "iVar2 = (*(code *)PTR_close_00023110)(iVar2);" (assignment_expression "iVar2 = (*(code *)PTR_close_00023110)(iVar2)" identifier = (call_expression "(*(code *)PTR_close_00023110)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_00023110)" ( (pointer_expression "*(code *)PTR_close_00023110" * (cast_expression "(code *)PTR_close_00023110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }" { (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" ( (pointer_expression "*(code *)PTR_perror_00023138" * (cast_expression "(code *)PTR_perror_00023138" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000230f4 + 0x1f68)" ( (binary_expression "PTR_000230f4 + 0x1f68" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            uVar4 = 0;\n          }" else (compound_statement "{\n            uVar4 = 0;\n          }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }))) }))) }))) (goto_statement "goto LAB_00010d44;" goto statement_identifier ;) })) })) (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1bc8);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1bc8)" identifier (argument_list "(PTR_000230f4 + 0x1bc8)" ( (binary_expression "PTR_000230f4 + 0x1bc8" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (labeled_statement "LAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }" if (parenthesized_expression "(local_2c == *(int *)PTR___stack_chk_guard_00023148)" ( (binary_expression "local_2c == *(int *)PTR___stack_chk_guard_00023148" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_00023148" * (cast_expression "(int *)PTR___stack_chk_guard_00023148" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) }))) (expression_statement "iVar2 = local_2c;" (assignment_expression "iVar2 = local_2c" identifier = identifier) ;) (expression_statement "puVar5 = PTR___stack_chk_fail_00023140;" (assignment_expression "puVar5 = PTR___stack_chk_fail_00023140" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00023140)();" (call_expression "(*(code *)PTR___stack_chk_fail_00023140)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00023140)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00023140" * (cast_expression "(code *)PTR___stack_chk_fail_00023140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar4 = _DT_INIT();" (assignment_expression "uVar4 = _DT_INIT()" identifier = (call_expression "_DT_INIT()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);" (assignment_expression "puVar8 = *(undefined4 **)(puVar5 + 0x11d2c)" identifier = (pointer_expression "*(undefined4 **)(puVar5 + 0x11d2c)" * (cast_expression "(undefined4 **)(puVar5 + 0x11d2c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x11d2c)" ( (binary_expression "puVar5 + 0x11d2c" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;" (assignment_expression "iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2" identifier = (binary_expression "*(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2" (binary_expression "*(int *)(puVar5 + 0x11d2c) - (int)puVar8" (pointer_expression "*(int *)(puVar5 + 0x11d2c)" * (cast_expression "(int *)(puVar5 + 0x11d2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x11d2c)" ( (binary_expression "puVar5 + 0x11d2c" identifier + number_literal) )))) - (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (if_statement "if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }" { (do_statement "do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);" do (compound_statement "{\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    }" { (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);" (assignment_expression "uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7)" identifier = (call_expression "(*(code *)*puVar8)(iVar2,puVar6,piVar7)" (parenthesized_expression "(*(code *)*puVar8)" ( (pointer_expression "*(code *)*puVar8" * (cast_expression "(code *)*puVar8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) )) (argument_list "(iVar2,puVar6,piVar7)" ( identifier , identifier , identifier )))) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != iVar9)" ( (binary_expression "iVar10 != iVar9" identifier != identifier) )) ;) })) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT != LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (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 + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (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 + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT != LIT) ))) ;) (expression_statement (assignment_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)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )) * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression BOOL < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) })))))))))) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) }))) (goto_statement goto statement_identifier ;) })) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (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 = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 main(int param_1,undefined *param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int local_30;\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar5 = PTR_000230f4;\n  piVar7 = (int *)(PTR_000230f4 + 0x1b50);\n  local_30 = 0;\n  puVar6 = param_2;\n  puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);\n  if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }\n  iVar9 = *(int *)PTR_optind_00023144;\n  if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  FUN_00010a80(PTR_000230f4 + 0x1bc8);\n  uVar4 = 1;\nLAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }\n  iVar2 = local_2c;\n  puVar5 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  uVar4 = _DT_INIT();\n  puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);\n  iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;\n  iVar9 = 0;\n  if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }\n  return uVar4;\n}" (type_identifier "undefined4") (function_declarator "main(int param_1,undefined *param_2)" (identifier "main") (parameter_list "(int param_1,undefined *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined *param_2" (type_identifier "undefined") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  int iVar10;\n  int local_30;\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_00023148;\n  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);\n  if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }\n  puVar5 = PTR_000230f4;\n  piVar7 = (int *)(PTR_000230f4 + 0x1b50);\n  local_30 = 0;\n  puVar6 = param_2;\n  puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);\n  if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }\n  iVar9 = *(int *)PTR_optind_00023144;\n  if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }\n  FUN_00010a80(PTR_000230f4 + 0x1bc8);\n  uVar4 = 1;\nLAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }\n  iVar2 = local_2c;\n  puVar5 = PTR___stack_chk_fail_00023140;\n  (*(code *)PTR___stack_chk_fail_00023140)();\n  uVar4 = _DT_INIT();\n  puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);\n  iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;\n  iVar9 = 0;\n  if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }\n  return uVar4;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_00023148;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_00023148" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00023148" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00023148" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00023148")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28)" (parenthesized_expression "(*(code *)PTR_getenv_00023134)" (( "(") (pointer_expression "*(code *)PTR_getenv_00023134" (* "*") (cast_expression "(code *)PTR_getenv_00023134" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getenv_00023134"))) () ")")) (argument_list "(PTR_000230f4 + 0x1b28)" (( "(") (binary_expression "PTR_000230f4 + 0x1b28" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1b28")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c)" (parenthesized_expression "(*(code *)PTR_getenv_00023134)" (( "(") (pointer_expression "*(code *)PTR_getenv_00023134" (* "*") (cast_expression "(code *)PTR_getenv_00023134" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getenv_00023134"))) () ")")) (argument_list "(PTR_000230f4 + 0x1b3c)" (( "(") (binary_expression "PTR_000230f4 + 0x1b3c" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1b3c")) () ")")))) (; ";")) (} "}"))) (expression_statement "puVar5 = PTR_000230f4;" (assignment_expression "puVar5 = PTR_000230f4" (identifier "puVar5") (= "=") (identifier "PTR_000230f4")) (; ";")) (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1b50);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1b50)" (identifier "piVar7") (= "=") (cast_expression "(int *)(PTR_000230f4 + 0x1b50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_000230f4 + 0x1b50)" (( "(") (binary_expression "PTR_000230f4 + 0x1b50" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1b50")) () ")")))) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" (identifier "puVar6") (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);" (assignment_expression "puVar3 = (undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" (identifier "puVar3") (= "=") (cast_expression "(undefined *)\n           (*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_getopt_long_00023128)\n                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" (parenthesized_expression "(*(code *)PTR_getopt_long_00023128)" (( "(") (pointer_expression "*(code *)PTR_getopt_long_00023128" (* "*") (cast_expression "(code *)PTR_getopt_long_00023128" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getopt_long_00023128"))) () ")")) (argument_list "(param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "piVar7") (, ",") (binary_expression "PTR_DAT_000230e8 + 0x3010" (identifier "PTR_DAT_000230e8") (+ "+") (number_literal "0x3010")) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")"))))) (; ";")) (if_statement "if (puVar3 != (undefined *)0xffffffff) {\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }" (if "if") (parenthesized_expression "(puVar3 != (undefined *)0xffffffff)" (( "(") (binary_expression "puVar3 != (undefined *)0xffffffff" (identifier "puVar3") (!= "!=") (cast_expression "(undefined *)0xffffffff" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) () ")")) (compound_statement "{\n    if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }\n    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);\n    FUN_00010b04(iVar2 != 0);\n    uVar4 = 1;\n    puVar6 = puVar3;\n    goto LAB_00010d44;\n  }" ({ "{") (if_statement "if (puVar3 + -0x48 < (undefined *)0x33) {\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }" (if "if") (parenthesized_expression "(puVar3 + -0x48 < (undefined *)0x33)" (( "(") (binary_expression "puVar3 + -0x48 < (undefined *)0x33" (binary_expression "puVar3 + -0x48" (identifier "puVar3") (+ "+") (number_literal "-0x48")) (< "<") (cast_expression "(undefined *)0x33" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x33"))) () ")")) (compound_statement "{\n                    \n                    \n      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();\n      return uVar4;\n    }" ({ "{") (expression_statement "uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();" (assignment_expression "uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))()" (identifier "uVar4") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0))" (( "(") (binary_expression "&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" (* "*") (cast_expression "(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)" (( "(") (binary_expression "puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0" (binary_expression "puVar5 + (int)(puVar3 + -0x48) * 4" (identifier "puVar5") (+ "+") (binary_expression "(int)(puVar3 + -0x48) * 4" (cast_expression "(int)(puVar3 + -0x48)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(puVar3 + -0x48)" (( "(") (binary_expression "puVar3 + -0x48" (identifier "puVar3") (+ "+") (number_literal "-0x48")) () ")"))) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x1fd0")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}"))) (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3)" (identifier "FUN_00010a80") (argument_list "(PTR_000230f4 + 0x1b84,puVar3)" (( "(") (binary_expression "PTR_000230f4 + 0x1b84" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1b84")) (, ",") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "FUN_00010b04(iVar2 != 0);" (call_expression "FUN_00010b04(iVar2 != 0)" (identifier "FUN_00010b04") (argument_list "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")"))) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" (identifier "puVar6") (= "=") (identifier "puVar3")) (; ";")) (goto_statement "goto LAB_00010d44;" (goto "goto") (statement_identifier "LAB_00010d44") (; ";")) (} "}"))) (expression_statement "iVar9 = *(int *)PTR_optind_00023144;" (assignment_expression "iVar9 = *(int *)PTR_optind_00023144" (identifier "iVar9") (= "=") (pointer_expression "*(int *)PTR_optind_00023144" (* "*") (cast_expression "(int *)PTR_optind_00023144" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_optind_00023144")))) (; ";")) (if_statement "if (iVar9 < param_1) {\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }" (if "if") (parenthesized_expression "(iVar9 < param_1)" (( "(") (binary_expression "iVar9 < param_1" (identifier "iVar9") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n    puVar3 = *(undefined **)(param_2 + iVar9 * 4);\n    iVar9 = iVar9 + 1;\n    *(int *)PTR_optind_00023144 = iVar9;\n    puVar5 = PTR_optind_00023144;\n    if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }\n    if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }\n  }" ({ "{") (expression_statement "puVar3 = *(undefined **)(param_2 + iVar9 * 4);" (assignment_expression "puVar3 = *(undefined **)(param_2 + iVar9 * 4)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined **)(param_2 + iVar9 * 4)" (* "*") (cast_expression "(undefined **)(param_2 + iVar9 * 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + iVar9 * 4)" (( "(") (binary_expression "param_2 + iVar9 * 4" (identifier "param_2") (+ "+") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)PTR_optind_00023144 = iVar9;" (assignment_expression "*(int *)PTR_optind_00023144 = iVar9" (pointer_expression "*(int *)PTR_optind_00023144" (* "*") (cast_expression "(int *)PTR_optind_00023144" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_optind_00023144"))) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "puVar5 = PTR_optind_00023144;" (assignment_expression "puVar5 = PTR_optind_00023144" (identifier "puVar5") (= "=") (identifier "PTR_optind_00023144")) (; ";")) (if_statement "if (iVar9 < param_1) {\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }" (if "if") (parenthesized_expression "(iVar9 < param_1)" (( "(") (binary_expression "iVar9 < param_1" (identifier "iVar9") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n      puVar3 = PTR_000230f4 + 0x1ba8;\n      do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);\n      FUN_00010b04(iVar2 != 0);\n      uVar4 = 1;\n      goto LAB_00010d44;\n    }" ({ "{") (expression_statement "puVar3 = PTR_000230f4 + 0x1ba8;" (assignment_expression "puVar3 = PTR_000230f4 + 0x1ba8" (identifier "puVar3") (= "=") (binary_expression "PTR_000230f4 + 0x1ba8" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1ba8"))) (; ";")) (do_statement "do {\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      } while (iVar9 < param_1);" (do "do") (compound_statement "{\n        puVar6 = *(undefined **)(param_2 + iVar9 * 4);\n        FUN_00010a80(puVar3,puVar6);\n        iVar9 = *(int *)puVar5 + 1;\n        *(int *)puVar5 = iVar9;\n      }" ({ "{") (expression_statement "puVar6 = *(undefined **)(param_2 + iVar9 * 4);" (assignment_expression "puVar6 = *(undefined **)(param_2 + iVar9 * 4)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined **)(param_2 + iVar9 * 4)" (* "*") (cast_expression "(undefined **)(param_2 + iVar9 * 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + iVar9 * 4)" (( "(") (binary_expression "param_2 + iVar9 * 4" (identifier "param_2") (+ "+") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "FUN_00010a80(puVar3,puVar6);" (call_expression "FUN_00010a80(puVar3,puVar6)" (identifier "FUN_00010a80") (argument_list "(puVar3,puVar6)" (( "(") (identifier "puVar3") (, ",") (identifier "puVar6") () ")"))) (; ";")) (expression_statement "iVar9 = *(int *)puVar5 + 1;" (assignment_expression "iVar9 = *(int *)puVar5 + 1" (identifier "iVar9") (= "=") (binary_expression "*(int *)puVar5 + 1" (pointer_expression "*(int *)puVar5" (* "*") (cast_expression "(int *)puVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)puVar5 = iVar9;" (assignment_expression "*(int *)puVar5 = iVar9" (pointer_expression "*(int *)puVar5" (* "*") (cast_expression "(int *)puVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) (= "=") (identifier "iVar9")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar9 < param_1)" (( "(") (binary_expression "iVar9 < param_1" (identifier "iVar9") (< "<") (identifier "param_1")) () ")")) (; ";")) (expression_statement "FUN_00010b04(iVar2 != 0);" (call_expression "FUN_00010b04(iVar2 != 0)" (identifier "FUN_00010b04") (argument_list "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")"))) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00010d44;" (goto "goto") (statement_identifier "LAB_00010d44") (; ";")) (} "}"))) (if_statement "if (puVar3 != (undefined *)0x0) {\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }" (if "if") (parenthesized_expression "(puVar3 != (undefined *)0x0)" (( "(") (binary_expression "puVar3 != (undefined *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      bVar1 = iVar2 != 0;\n      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);\n      if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }\n      goto LAB_00010d44;\n    }" ({ "{") (expression_statement "bVar1 = iVar2 != 0;" (assignment_expression "bVar1 = iVar2 != 0" (identifier "bVar1") (= "=") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_open64_00023120)(puVar3);" (assignment_expression "iVar2 = (*(code *)PTR_open64_00023120)(puVar3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_open64_00023120)(puVar3)" (parenthesized_expression "(*(code *)PTR_open64_00023120)" (( "(") (pointer_expression "*(code *)PTR_open64_00023120" (* "*") (cast_expression "(code *)PTR_open64_00023120" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_open64_00023120"))) () ")")) (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")")))) (; ";")) (if_statement "if (iVar2 < 0) {\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }\n      else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);\n        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);\n        uVar4 = 1;\n        puVar6 = puVar3;\n      }" ({ "{") (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3)" (identifier "FUN_00010a80") (argument_list "(PTR_000230f4 + 0x1c30,puVar3)" (( "(") (binary_expression "PTR_000230f4 + 0x1c30" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1c30")) (, ",") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" (( "(") (pointer_expression "*(code *)PTR_perror_00023138" (* "*") (cast_expression "(code *)PTR_perror_00023138" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_perror_00023138"))) () ")")) (argument_list "(PTR_000230f4 + 0x1bf8)" (( "(") (binary_expression "PTR_000230f4 + 0x1bf8" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1bf8")) () ")"))) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" (identifier "puVar6") (= "=") (identifier "puVar3")) (; ";")) (} "}")) (else_clause "else {\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }" (else "else") (compound_statement "{\n        local_30 = 0;\n        if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }\n        piVar7 = &local_30;\n        puVar6 = (undefined *)0x2284;\n        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);\n        if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }\n      }" ({ "{") (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (if_statement "if (2 < bVar1) {\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }" (if "if") (parenthesized_expression "(2 < bVar1)" (( "(") (binary_expression "2 < bVar1" (number_literal "2") (< "<") (identifier "bVar1")) () ")")) (compound_statement "{\n          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);\n        }" ({ "{") (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1ccc,0);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1ccc,0)" (identifier "FUN_00010a80") (argument_list "(PTR_000230f4 + 0x1ccc,0)" (( "(") (binary_expression "PTR_000230f4 + 0x1ccc" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1ccc")) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar7 = &local_30;" (assignment_expression "piVar7 = &local_30" (identifier "piVar7") (= "=") (pointer_expression "&local_30" (& "&") (identifier "local_30"))) (; ";")) (expression_statement "puVar6 = (undefined *)0x2284;" (assignment_expression "puVar6 = (undefined *)0x2284" (identifier "puVar6") (= "=") (cast_expression "(undefined *)0x2284" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2284"))) (; ";")) (expression_statement "puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);" (assignment_expression "puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7)" (identifier "puVar5") (= "=") (cast_expression "(undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7)" (parenthesized_expression "(*(code *)PTR_ioctl_0002313c)" (( "(") (pointer_expression "*(code *)PTR_ioctl_0002313c" (* "*") (cast_expression "(code *)PTR_ioctl_0002313c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ioctl_0002313c"))) () ")")) (argument_list "(iVar2,0x2284,piVar7)" (( "(") (identifier "iVar2") (, ",") (number_literal "0x2284") (, ",") (identifier "piVar7") () ")"))))) (; ";")) (if_statement "if ((int)puVar5 < 0) {\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }\n        else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }" (if "if") (parenthesized_expression "((int)puVar5 < 0)" (( "(") (binary_expression "(int)puVar5 < 0" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();\n          piVar7 = (int *)*puVar8;\n          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }\n          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);\n          if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }\n          (*(code *)PTR_close_00023110)(iVar2);\n          uVar4 = 1;\n        }" ({ "{") (expression_statement "puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();" (assignment_expression "puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)()" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_0002311c)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_0002311c)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002311c)" (( "(") (pointer_expression "*(code *)PTR___errno_location_0002311c" (* "*") (cast_expression "(code *)PTR___errno_location_0002311c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_0002311c"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "piVar7 = (int *)*puVar8;" (assignment_expression "piVar7 = (int *)*puVar8" (identifier "piVar7") (= "=") (cast_expression "(int *)*puVar8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) (; ";")) (if_statement "if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }" (if "if") (parenthesized_expression "((undefined *)((int)piVar7 + -1) < (undefined *)0x16)" (( "(") (binary_expression "(undefined *)((int)piVar7 + -1) < (undefined *)0x16" (cast_expression "(undefined *)((int)piVar7 + -1)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar7 + -1)" (( "(") (binary_expression "(int)piVar7 + -1" (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7")) (+ "+") (number_literal "-1")) () ")"))) (< "<") (cast_expression "(undefined *)0x16" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x16"))) () ")")) (compound_statement "{\n                    \n                    \n            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;\n            return uVar4;\n          }" ({ "{") (expression_statement "uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()\n            ;" (assignment_expression "uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()" (identifier "uVar4") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" (* "*") (cast_expression "(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)" (( "(") (binary_expression "PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c" (binary_expression "PTR_000230f4 + ((int)piVar7 + -1) * 4" (identifier "PTR_000230f4") (+ "+") (binary_expression "((int)piVar7 + -1) * 4" (parenthesized_expression "((int)piVar7 + -1)" (( "(") (binary_expression "(int)piVar7 + -1" (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7")) (+ "+") (number_literal "-1")) () ")")) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x209c")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" (( "(") (pointer_expression "*(code *)PTR_perror_00023138" (* "*") (cast_expression "(code *)PTR_perror_00023138" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_perror_00023138"))) () ")")) (argument_list "(PTR_000230f4 + 0x1e54)" (( "(") (binary_expression "PTR_000230f4 + 0x1e54" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1e54")) () ")"))) (; ";")) (if_statement "if (true < bVar1) {\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }" (if "if") (parenthesized_expression "(true < bVar1)" (( "(") (binary_expression "true < bVar1" (true "true") (< "<") (identifier "bVar1")) () ")")) (compound_statement "{\n            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);\n            puVar6 = puVar5;\n          }" ({ "{") (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7)" (identifier "FUN_00010a80") (argument_list "(PTR_000230f4 + 0x1e74,puVar5,piVar7)" (( "(") (binary_expression "PTR_000230f4 + 0x1e74" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1e74")) (, ",") (identifier "puVar5") (, ",") (identifier "piVar7") () ")"))) (; ";")) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" (identifier "puVar6") (= "=") (identifier "puVar5")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_close_00023110)(iVar2);" (call_expression "(*(code *)PTR_close_00023110)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_00023110)" (( "(") (pointer_expression "*(code *)PTR_close_00023110" (* "*") (cast_expression "(code *)PTR_close_00023110" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_00023110"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }" (else "else") (compound_statement "{\n          if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }\n          iVar2 = (*(code *)PTR_close_00023110)(iVar2);\n          if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }\n        }" ({ "{") (if_statement "if (bVar1) {\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n            if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }\n          }" ({ "{") (if_statement "if (local_30 == 0) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }\n            else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);\n            }" ({ "{") (expression_statement "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);" (call_expression "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac)" (parenthesized_expression "(*(code *)PTR_puts_00023130)" (( "(") (pointer_expression "*(code *)PTR_puts_00023130" (* "*") (cast_expression "(code *)PTR_puts_00023130" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_00023130"))) () ")")) (argument_list "(PTR_000230f4 + 0x1eac)" (( "(") (binary_expression "PTR_000230f4 + 0x1eac" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1eac")) () ")"))) (; ";")) (} "}")) (else_clause "else if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" (else "else") (if_statement "if (local_30 == 1) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" (if "if") (parenthesized_expression "(local_30 == 1)" (( "(") (binary_expression "local_30 == 1" (identifier "local_30") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n              piVar7 = (int *)(PTR_000230f4 + 0x1aec);\n              puVar6 = PTR_000230f4 + 0x1edc;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }" ({ "{") (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1aec);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1aec)" (identifier "piVar7") (= "=") (cast_expression "(int *)(PTR_000230f4 + 0x1aec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_000230f4 + 0x1aec)" (( "(") (binary_expression "PTR_000230f4 + 0x1aec" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1aec")) () ")")))) (; ";")) (expression_statement "puVar6 = PTR_000230f4 + 0x1edc;" (assignment_expression "puVar6 = PTR_000230f4 + 0x1edc" (identifier "puVar6") (= "=") (binary_expression "PTR_000230f4 + 0x1edc" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1edc"))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_00023118" (* "*") (cast_expression "(code *)PTR___printf_chk_00023118" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_00023118"))) () ")")) (argument_list "(1,puVar6,piVar7)" (( "(") (number_literal "1") (, ",") (identifier "puVar6") (, ",") (identifier "piVar7") () ")"))) (; ";")) (} "}")) (else_clause "else if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" (else "else") (if_statement "if (local_30 == 4) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" (if "if") (parenthesized_expression "(local_30 == 4)" (( "(") (binary_expression "local_30 == 4" (identifier "local_30") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n              piVar7 = (int *)(PTR_000230f4 + 0x1b08);\n              puVar6 = PTR_000230f4 + 0x1f00;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }" ({ "{") (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1b08);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1b08)" (identifier "piVar7") (= "=") (cast_expression "(int *)(PTR_000230f4 + 0x1b08)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_000230f4 + 0x1b08)" (( "(") (binary_expression "PTR_000230f4 + 0x1b08" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1b08")) () ")")))) (; ";")) (expression_statement "puVar6 = PTR_000230f4 + 0x1f00;" (assignment_expression "puVar6 = PTR_000230f4 + 0x1f00" (identifier "puVar6") (= "=") (binary_expression "PTR_000230f4 + 0x1f00" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1f00"))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_00023118" (* "*") (cast_expression "(code *)PTR___printf_chk_00023118" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_00023118"))) () ")")) (argument_list "(1,puVar6,piVar7)" (( "(") (number_literal "1") (, ",") (identifier "puVar6") (, ",") (identifier "piVar7") () ")"))) (; ";")) (} "}")) (else_clause "else if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" (else "else") (if_statement "if (local_30 == 2) {\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }\n            else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" (if "if") (parenthesized_expression "(local_30 == 2)" (( "(") (binary_expression "local_30 == 2" (identifier "local_30") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);\n              puVar6 = PTR_000230f4 + 0x1f24;\n              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);\n            }" ({ "{") (expression_statement "piVar7 = (int *)(PTR_000230f4 + 0x1b1c);" (assignment_expression "piVar7 = (int *)(PTR_000230f4 + 0x1b1c)" (identifier "piVar7") (= "=") (cast_expression "(int *)(PTR_000230f4 + 0x1b1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_000230f4 + 0x1b1c)" (( "(") (binary_expression "PTR_000230f4 + 0x1b1c" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1b1c")) () ")")))) (; ";")) (expression_statement "puVar6 = PTR_000230f4 + 0x1f24;" (assignment_expression "puVar6 = PTR_000230f4 + 0x1f24" (identifier "puVar6") (= "=") (binary_expression "PTR_000230f4 + 0x1f24" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1f24"))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);" (call_expression "(*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7)" (parenthesized_expression "(*(code *)PTR___printf_chk_00023118)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_00023118" (* "*") (cast_expression "(code *)PTR___printf_chk_00023118" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_00023118"))) () ")")) (argument_list "(1,puVar6,piVar7)" (( "(") (number_literal "1") (, ",") (identifier "puVar6") (, ",") (identifier "piVar7") () ")"))) (; ";")) (} "}")) (else_clause "else if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" (else "else") (if_statement "if (local_30 == 3) {\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" (if "if") (parenthesized_expression "(local_30 == 3)" (( "(") (binary_expression "local_30 == 3" (identifier "local_30") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);\n            }" ({ "{") (expression_statement "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);" (call_expression "(*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48)" (parenthesized_expression "(*(code *)PTR_puts_00023130)" (( "(") (pointer_expression "*(code *)PTR_puts_00023130" (* "*") (cast_expression "(code *)PTR_puts_00023130" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_00023130"))) () ")")) (argument_list "(PTR_000230f4 + 0x1f48)" (( "(") (binary_expression "PTR_000230f4 + 0x1f48" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1f48")) () ")"))) (; ";")) (} "}"))))))))))) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_close_00023110)(iVar2);" (assignment_expression "iVar2 = (*(code *)PTR_close_00023110)(iVar2)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_close_00023110)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_00023110)" (( "(") (pointer_expression "*(code *)PTR_close_00023110" (* "*") (cast_expression "(code *)PTR_close_00023110" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_00023110"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if (iVar2 < 0) {\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }\n          else {\n            uVar4 = 0;\n          }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);\n            uVar4 = 1;\n          }" ({ "{") (expression_statement "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);" (call_expression "(*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68)" (parenthesized_expression "(*(code *)PTR_perror_00023138)" (( "(") (pointer_expression "*(code *)PTR_perror_00023138" (* "*") (cast_expression "(code *)PTR_perror_00023138" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_perror_00023138"))) () ")")) (argument_list "(PTR_000230f4 + 0x1f68)" (( "(") (binary_expression "PTR_000230f4 + 0x1f68" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1f68")) () ")"))) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n            uVar4 = 0;\n          }" (else "else") (compound_statement "{\n            uVar4 = 0;\n          }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")))) (} "}")))) (goto_statement "goto LAB_00010d44;" (goto "goto") (statement_identifier "LAB_00010d44") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_00010a80(PTR_000230f4 + 0x1bc8);" (call_expression "FUN_00010a80(PTR_000230f4 + 0x1bc8)" (identifier "FUN_00010a80") (argument_list "(PTR_000230f4 + 0x1bc8)" (( "(") (binary_expression "PTR_000230f4 + 0x1bc8" (identifier "PTR_000230f4") (+ "+") (number_literal "0x1bc8")) () ")"))) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_00010d44:\n  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }" (statement_identifier "LAB_00010d44") (: ":") (if_statement "if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {\n    return uVar4;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)PTR___stack_chk_guard_00023148)" (( "(") (binary_expression "local_2c == *(int *)PTR___stack_chk_guard_00023148" (identifier "local_2c") (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_00023148" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00023148" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00023148")))) () ")")) (compound_statement "{\n    return uVar4;\n  }" ({ "{") (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))) (expression_statement "iVar2 = local_2c;" (assignment_expression "iVar2 = local_2c" (identifier "iVar2") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar5 = PTR___stack_chk_fail_00023140;" (assignment_expression "puVar5 = PTR___stack_chk_fail_00023140" (identifier "puVar5") (= "=") (identifier "PTR___stack_chk_fail_00023140")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00023140)();" (call_expression "(*(code *)PTR___stack_chk_fail_00023140)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00023140)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00023140" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00023140" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00023140"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar4 = _DT_INIT();" (assignment_expression "uVar4 = _DT_INIT()" (identifier "uVar4") (= "=") (call_expression "_DT_INIT()" (identifier "_DT_INIT") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);" (assignment_expression "puVar8 = *(undefined4 **)(puVar5 + 0x11d2c)" (identifier "puVar8") (= "=") (pointer_expression "*(undefined4 **)(puVar5 + 0x11d2c)" (* "*") (cast_expression "(undefined4 **)(puVar5 + 0x11d2c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x11d2c)" (( "(") (binary_expression "puVar5 + 0x11d2c" (identifier "puVar5") (+ "+") (number_literal "0x11d2c")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;" (assignment_expression "iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2" (identifier "iVar10") (= "=") (binary_expression "*(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2" (binary_expression "*(int *)(puVar5 + 0x11d2c) - (int)puVar8" (pointer_expression "*(int *)(puVar5 + 0x11d2c)" (* "*") (cast_expression "(int *)(puVar5 + 0x11d2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x11d2c)" (( "(") (binary_expression "puVar5 + 0x11d2c" (identifier "puVar5") (+ "+") (number_literal "0x11d2c")) () ")")))) (- "-") (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8"))) (>> ">>") (number_literal "2"))) (; ";")) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar10 != 0) {\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);\n  }" ({ "{") (do_statement "do {\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    } while (iVar10 != iVar9);" (do "do") (compound_statement "{\n      iVar9 = iVar9 + 1;\n      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);\n      puVar8 = puVar8 + 1;\n    }" ({ "{") (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);" (assignment_expression "uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7)" (identifier "uVar4") (= "=") (call_expression "(*(code *)*puVar8)(iVar2,puVar6,piVar7)" (parenthesized_expression "(*(code *)*puVar8)" (( "(") (pointer_expression "*(code *)*puVar8" (* "*") (cast_expression "(code *)*puVar8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) () ")")) (argument_list "(iVar2,puVar6,piVar7)" (( "(") (identifier "iVar2") (, ",") (identifier "puVar6") (, ",") (identifier "piVar7") () ")")))) (; ";")) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 != iVar9)" (( "(") (binary_expression "iVar10 != iVar9" (identifier "iVar10") (!= "!=") (identifier "iVar9")) () ")")) (; ";")) (} "}"))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

/* WARNING: Removing unreachable block (ram,0x000110d8) */
/* WARNING: Removing unreachable block (ram,0x000110ec) */
/* WARNING: Removing unreachable block (ram,0x000110e0) */
/* WARNING: Removing unreachable block (ram,0x000110e4) */
/* WARNING: Removing unreachable block (ram,0x00011320) */
/* WARNING: Removing unreachable block (ram,0x000113a0) */
/* WARNING: Removing unreachable block (ram,0x00010eb4) */
/* WARNING: Removing unreachable block (ram,0x000110a0) */
/* WARNING: Removing unreachable block (ram,0x000110b4) */
/* WARNING: Removing unreachable block (ram,0x000110a8) */
/* WARNING: Removing unreachable block (ram,0x000110ac) */
/* WARNING: Removing unreachable block (ram,0x00010e98) */
/* WARNING: Removing unreachable block (ram,0x00011044) */
/* WARNING: Removing unreachable block (ram,0x00010ea0) */
/* WARNING: Removing unreachable block (ram,0x00010ea4) */
/* WARNING: Removing unreachable block (ram,0x00011068) */
/* WARNING: Removing unreachable block (ram,0x0001107c) */
/* WARNING: Removing unreachable block (ram,0x00011070) */
/* WARNING: Removing unreachable block (ram,0x00011074) */
/* WARNING: Removing unreachable block (ram,0x00010ea8) */
/* WARNING: Removing unreachable block (ram,0x00010efc) */
/* WARNING: Removing unreachable block (ram,0x00011360) */
/* WARNING: Removing unreachable block (ram,0x00010fe0) */

int function_1(int var_9,char **argv)

{
  bool var_10;
  int var_2;
  char **var_4;
  type_1 *ctx;
  char **ppcVar4;
  int *piVar5;
  type_2 *var_15;
  int var_8;
  char *fmt;
  int var_14;
  type_3 *var_5;
  int var_11;
  type_1 *var_12;
  
  var_12 = *(type_1 **)PTR___stack_chk_guard_00023148;
  var_2 = (*(type_4 *)PTR_getenv_00023134)(var_1 + 0x1b28);
  if (var_2 == 0) {
    var_2 = (*(type_4 *)PTR_getenv_00023134)(var_1 + 0x1b3c);
  }
  var_5 = var_1;
  piVar5 = (int *)(var_1 + 0x1b50);
  var_11 = 0;
  ppcVar4 = argv;
  var_4 = (char **)(*(type_4 *)PTR_getopt_long_00023128)
                               (var_9,argv,piVar5,var_3 + 0x3010,&var_11);
  if (var_4 != (char **)0xffffffff) {
    if (var_4 + -0x12 < (char **)0x33) {
                    /* WARNING: Could not emulate address calculation at 0x00010c94 */
                    /* WARNING: Treating indirect jump as call */
      var_2 = (*(type_4 *)(&_gp + *(int *)(var_5 + (int)(var_4 + -0x12) * 4 + 0x1fd0)))();
      return var_2;
    }
    var_6(var_1 + 0x1b84,var_4);
    var_7((uint)(var_2 != 0));
    var_2 = 1;
    ppcVar4 = var_4;
    goto LAB_00010d44;
  }
  var_8 = *(int *)PTR_optind_00023144;
  if (var_8 < var_9) {
    var_4 = (char **)argv[var_8];
    var_8 = var_8 + 1;
    *(int *)PTR_optind_00023144 = var_8;
    var_5 = PTR_optind_00023144;
    if (var_8 < var_9) {
      fmt = var_1 + 0x1ba8;
      do {
        ppcVar4 = (char **)argv[var_8];
        var_6(fmt,ppcVar4);
        var_8 = *(int *)var_5 + 1;
        *(int *)var_5 = var_8;
      } while (var_8 < var_9);
      var_7((uint)(var_2 != 0));
      var_2 = 1;
      goto LAB_00010d44;
    }
    if (var_4 != (char **)0x0) {
      var_10 = var_2 != 0;
      var_2 = (*(type_4 *)PTR_open64_00023120)(var_4);
      if (var_2 < 0) {
        var_6(var_1 + 0x1c30,var_4);
        (*(type_4 *)PTR_perror_00023138)(var_1 + 0x1bf8);
        var_2 = 1;
        ppcVar4 = var_4;
      }
      else {
        var_11 = 0;
        if (2 < var_10) {
          var_6(var_1 + 0x1ccc,0);
        }
        piVar5 = &var_11;
        ppcVar4 = (char **)0x2284;
        var_4 = (char **)(*(type_4 *)PTR_ioctl_0002313c)(var_2,0x2284,piVar5);
        if ((int)var_4 < 0) {
          var_15 = (type_2 *)(*(type_4 *)PTR___errno_location_0002311c)();
          piVar5 = (int *)*var_15;
          if ((type_3 *)((int)piVar5 + -1) < (type_3 *)0x16) {
                    /* WARNING: Could not emulate address calculation at 0x00011158 */
                    /* WARNING: Treating indirect jump as call */
            var_2 = (*(type_4 *)(&_gp + *(int *)(var_1 + ((int)piVar5 + -1) * 4 + 0x209c)))();
            return var_2;
          }
          (*(type_4 *)PTR_perror_00023138)(var_1 + 0x1e54);
          if (true < var_10) {
            var_6(var_1 + 0x1e74,var_4,piVar5);
            ppcVar4 = var_4;
          }
          (*(type_4 *)PTR_close_00023110)(var_2);
          var_2 = 1;
        }
        else {
          if (var_10) {
            if (var_11 == 0) {
              (*(type_4 *)PTR_puts_00023130)(var_1 + 0x1eac);
            }
            else if (var_11 == 1) {
              piVar5 = (int *)(var_1 + 0x1aec);
              ppcVar4 = (char **)(var_1 + 0x1edc);
              (*(type_4 *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);
            }
            else if (var_11 == 4) {
              piVar5 = (int *)(var_1 + 0x1b08);
              ppcVar4 = (char **)(var_1 + 0x1f00);
              (*(type_4 *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);
            }
            else if (var_11 == 2) {
              piVar5 = (int *)(var_1 + 0x1b1c);
              ppcVar4 = (char **)(var_1 + 0x1f24);
              (*(type_4 *)PTR___printf_chk_00023118)(1,ppcVar4,piVar5);
            }
            else if (var_11 == 3) {
              (*(type_4 *)PTR_puts_00023130)(var_1 + 0x1f48);
            }
          }
          var_2 = (*(type_4 *)PTR_close_00023110)(var_2);
          if (var_2 < 0) {
            (*(type_4 *)PTR_perror_00023138)(var_1 + 0x1f68);
            var_2 = 1;
          }
          else {
            var_2 = 0;
          }
        }
      }
      goto LAB_00010d44;
    }
  }
  var_6(var_1 + 0x1bc8);
  var_2 = 1;
LAB_00010d44:
  if (var_12 == *(type_1 **)PTR___stack_chk_guard_00023148) {
    return var_2;
  }
  ctx = var_12;
  var_5 = PTR___stack_chk_fail_00023140;
  (*(type_4 *)PTR___stack_chk_fail_00023140)();
  var_2 = var_13(ctx);
  var_15 = *(type_2 **)(var_5 + 0x11d2c);
  var_14 = *(int *)(var_5 + 0x11d2c) - (int)var_15 >> 2;
  var_8 = 0;
  if (var_14 != 0) {
    do {
      var_8 = var_8 + 1;
      var_2 = (*(type_4 *)*var_15)(ctx,ppcVar4,piVar5);
      var_15 = var_15 + 1;
    } while (var_14 != var_8);
  }
  return var_2;
}


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

/* WARNING: Removing unreachable block (ram,0x000110d8) */
/* WARNING: Removing unreachable block (ram,0x000110ec) */
/* WARNING: Removing unreachable block (ram,0x000110e0) */
/* WARNING: Removing unreachable block (ram,0x000110e4) */
/* WARNING: Removing unreachable block (ram,0x00011320) */
/* WARNING: Removing unreachable block (ram,0x000113a0) */
/* WARNING: Removing unreachable block (ram,0x00010eb4) */
/* WARNING: Removing unreachable block (ram,0x000110a0) */
/* WARNING: Removing unreachable block (ram,0x000110b4) */
/* WARNING: Removing unreachable block (ram,0x000110a8) */
/* WARNING: Removing unreachable block (ram,0x000110ac) */
/* WARNING: Removing unreachable block (ram,0x00010e98) */
/* WARNING: Removing unreachable block (ram,0x00011044) */
/* WARNING: Removing unreachable block (ram,0x00010ea0) */
/* WARNING: Removing unreachable block (ram,0x00010ea4) */
/* WARNING: Removing unreachable block (ram,0x00011068) */
/* WARNING: Removing unreachable block (ram,0x0001107c) */
/* WARNING: Removing unreachable block (ram,0x00011070) */
/* WARNING: Removing unreachable block (ram,0x00011074) */
/* WARNING: Removing unreachable block (ram,0x00010ea8) */
/* WARNING: Removing unreachable block (ram,0x00010efc) */
/* WARNING: Removing unreachable block (ram,0x00011360) */
/* WARNING: Removing unreachable block (ram,0x00010fe0) */

undefined4 MASKED(int param_1,undefined *param_2)

{
  bool bVar1;
  int iVar2;
  undefined *puVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined *puVar6;
  int *piVar7;
  undefined4 *puVar8;
  int iVar9;
  int iVar10;
  int local_30;
  int local_2c;
  
  local_2c = *(int *)PTR___stack_chk_guard_00023148;
  iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b28);
  if (iVar2 == 0) {
    iVar2 = (*(code *)PTR_getenv_00023134)(PTR_000230f4 + 0x1b3c);
  }
  puVar5 = PTR_000230f4;
  piVar7 = (int *)(PTR_000230f4 + 0x1b50);
  local_30 = 0;
  puVar6 = param_2;
  puVar3 = (undefined *)
           (*(code *)PTR_getopt_long_00023128)
                     (param_1,param_2,piVar7,PTR_DAT_000230e8 + 0x3010,&local_30);
  if (puVar3 != (undefined *)0xffffffff) {
    if (puVar3 + -0x48 < (undefined *)0x33) {
                    /* WARNING: Could not emulate address calculation at 0x00010c94 */
                    /* WARNING: Treating indirect jump as call */
      uVar4 = (*(code *)(&_gp_1 + *(int *)(puVar5 + (int)(puVar3 + -0x48) * 4 + 0x1fd0)))();
      return uVar4;
    }
    FUN_00010a80(PTR_000230f4 + 0x1b84,puVar3);
    FUN_00010b04(iVar2 != 0);
    uVar4 = 1;
    puVar6 = puVar3;
    goto LAB_00010d44;
  }
  iVar9 = *(int *)PTR_optind_00023144;
  if (iVar9 < param_1) {
    puVar3 = *(undefined **)(param_2 + iVar9 * 4);
    iVar9 = iVar9 + 1;
    *(int *)PTR_optind_00023144 = iVar9;
    puVar5 = PTR_optind_00023144;
    if (iVar9 < param_1) {
      puVar3 = PTR_000230f4 + 0x1ba8;
      do {
        puVar6 = *(undefined **)(param_2 + iVar9 * 4);
        FUN_00010a80(puVar3,puVar6);
        iVar9 = *(int *)puVar5 + 1;
        *(int *)puVar5 = iVar9;
      } while (iVar9 < param_1);
      FUN_00010b04(iVar2 != 0);
      uVar4 = 1;
      goto LAB_00010d44;
    }
    if (puVar3 != (undefined *)0x0) {
      bVar1 = iVar2 != 0;
      iVar2 = (*(code *)PTR_open64_00023120)(puVar3);
      if (iVar2 < 0) {
        FUN_00010a80(PTR_000230f4 + 0x1c30,puVar3);
        (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1bf8);
        uVar4 = 1;
        puVar6 = puVar3;
      }
      else {
        local_30 = 0;
        if (2 < bVar1) {
          FUN_00010a80(PTR_000230f4 + 0x1ccc,0);
        }
        piVar7 = &local_30;
        puVar6 = (undefined *)0x2284;
        puVar5 = (undefined *)(*(code *)PTR_ioctl_0002313c)(iVar2,0x2284,piVar7);
        if ((int)puVar5 < 0) {
          puVar8 = (undefined4 *)(*(code *)PTR___errno_location_0002311c)();
          piVar7 = (int *)*puVar8;
          if ((undefined *)((int)piVar7 + -1) < (undefined *)0x16) {
                    /* WARNING: Could not emulate address calculation at 0x00011158 */
                    /* WARNING: Treating indirect jump as call */
            uVar4 = (*(code *)(&_gp_1 + *(int *)(PTR_000230f4 + ((int)piVar7 + -1) * 4 + 0x209c)))()
            ;
            return uVar4;
          }
          (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1e54);
          if (true < bVar1) {
            FUN_00010a80(PTR_000230f4 + 0x1e74,puVar5,piVar7);
            puVar6 = puVar5;
          }
          (*(code *)PTR_close_00023110)(iVar2);
          uVar4 = 1;
        }
        else {
          if (bVar1) {
            if (local_30 == 0) {
              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1eac);
            }
            else if (local_30 == 1) {
              piVar7 = (int *)(PTR_000230f4 + 0x1aec);
              puVar6 = PTR_000230f4 + 0x1edc;
              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);
            }
            else if (local_30 == 4) {
              piVar7 = (int *)(PTR_000230f4 + 0x1b08);
              puVar6 = PTR_000230f4 + 0x1f00;
              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);
            }
            else if (local_30 == 2) {
              piVar7 = (int *)(PTR_000230f4 + 0x1b1c);
              puVar6 = PTR_000230f4 + 0x1f24;
              (*(code *)PTR___printf_chk_00023118)(1,puVar6,piVar7);
            }
            else if (local_30 == 3) {
              (*(code *)PTR_puts_00023130)(PTR_000230f4 + 0x1f48);
            }
          }
          iVar2 = (*(code *)PTR_close_00023110)(iVar2);
          if (iVar2 < 0) {
            (*(code *)PTR_perror_00023138)(PTR_000230f4 + 0x1f68);
            uVar4 = 1;
          }
          else {
            uVar4 = 0;
          }
        }
      }
      goto LAB_00010d44;
    }
  }
  FUN_00010a80(PTR_000230f4 + 0x1bc8);
  uVar4 = 1;
LAB_00010d44:
  if (local_2c == *(int *)PTR___stack_chk_guard_00023148) {
    return uVar4;
  }
  iVar2 = local_2c;
  puVar5 = PTR___stack_chk_fail_00023140;
  (*(code *)PTR___stack_chk_fail_00023140)();
  uVar4 = _DT_INIT();
  puVar8 = *(undefined4 **)(puVar5 + 0x11d2c);
  iVar10 = *(int *)(puVar5 + 0x11d2c) - (int)puVar8 >> 2;
  iVar9 = 0;
  if (iVar10 != 0) {
    do {
      iVar9 = iVar9 + 1;
      uVar4 = (*(code *)*puVar8)(iVar2,puVar6,piVar7);
      puVar8 = puVar8 + 1;
    } while (iVar10 != iVar9);
  }
  return uVar4;
}

