
int open_sg(xcopy_fp_t *fp,int vb)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  uint uVar6;
  sg_simple_inquiry_resp *psVar7;
  byte *pbVar8;
  undefined1 *puVar9;
  uint uVar10;
  uint uVar11;
  int iVar12;
  int *piVar13;
  uint *puVar14;
  int iVar15;
  int unaff_s6;
  undefined *puVar16;
  code *pcVar17;
  code *pcVar18;
  undefined4 uStack_6c4;
  uint uStack_6c0;
  int *piStack_6bc;
  int aiStack_6a4 [20];
  uint uStack_654;
  undefined1 *puStack_650;
  uint *puStack_64c;
  uint uStack_648;
  sg_simple_inquiry_resp *psStack_644;
  int *piStack_640;
  int iStack_63c;
  byte *pbStack_638;
  code *pcStack_634;
  undefined4 uStack_620;
  undefined4 uStack_61c;
  int iStack_618;
  undefined *puStack_610;
  int iStack_608;
  uint uStack_604;
  uint uStack_600;
  undefined4 uStack_5fc;
  undefined1 auStack_5f4 [80];
  uint uStack_5a4;
  byte bStack_5a0;
  ushort uStack_59c;
  undefined2 uStack_59a;
  undefined4 uStack_598;
  int iStack_594;
  int iStack_590;
  int iStack_58c;
  undefined4 uStack_588;
  undefined1 uStack_580;
  byte bStack_57f;
  byte bStack_57e;
  byte bStack_57d;
  byte bStack_579;
  byte abStack_578 [212];
  int iStack_4a4;
  xcopy_fp_t *pxStack_4a0;
  uint uStack_49c;
  int iStack_498;
  undefined *puStack_494;
  uint uStack_490;
  sg_simple_inquiry_resp *psStack_48c;
  int iStack_488;
  sg_simple_inquiry_resp sir;
  char ebuff [1024];
  
  puVar1 = PTR___stack_chk_guard_00029128;
  uVar2 = (uint)fp->devno;
  uVar6 = *(uint *)&fp->devno;
  pbVar8 = *(byte **)PTR___stack_chk_guard_00029128;
  uVar10 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;
  if ((fp->sg_type & 2U) == 0) {
    if ((fp->sg_type & 0x21U) == 0) {
      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400);
    }
    else {
      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);
      unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0);
      if (-1 < unaff_s6) {
        ebuff[0x3ff] = '\0';
        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);
        if (iVar3 < 0) {
          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);
        }
        else {
          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);
          uVar10 = uVar10 - iVar3;
        }
        (*(code *)PTR_close_00029078)(unaff_s6);
      }
      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);
    }
  }
  else {
    (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);
  }
  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)((sg_simple_inquiry_resp *)ebuff,0,vb);
  fp->sg_fd = iVar3;
  if (iVar3 < 0) {
    psVar7 = (sg_simple_inquiry_resp *)0x400;
    (*(code *)PTR___snprintf_chk_0002914c)((sg_simple_inquiry_resp *)ebuff,0x400,1,0x400);
    (*(code *)PTR_perror_00029108)((sg_simple_inquiry_resp *)ebuff);
    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-fp->sg_fd);
    iVar3 = -iVar3;
  }
  else {
    psVar7 = &sir;
    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,psVar7,0,vb);
    if (iVar3 == 0) {
      fp->pdt = (uint)sir.peripheral_type;
      if (vb != 0) {
        psVar7 = (sg_simple_inquiry_resp *)fp->fname;
        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);
      }
      iVar3 = fp->sg_fd;
    }
    else {
      psVar7 = (sg_simple_inquiry_resp *)ebuff;
      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);
      (*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);
      iVar3 = -1;
      fp->sg_fd = -1;
    }
  }
  if (pbVar8 == *(byte **)puVar1) {
    return iVar3;
  }
  puVar16 = PTR___stack_chk_fail_00029114;
  (*(code *)PTR___stack_chk_fail_00029114)();
  puStack_610 = puVar16 + 0x1d138;
  piVar13 = *(int **)(puVar16 + 0x15240);
  puVar9 = *(undefined1 **)(puVar16 + 0x15160);
  puStack_494 = puVar1;
  iStack_4a4 = *piVar13;
  iVar3 = *(int *)(puVar9 + -0x6a20);
  if (iVar3 != 0) {
    iVar3 = iVar3 + -1;
  }
  uVar11 = *(uint *)(pbVar8 + 0xc);
  if ((uVar11 & 2) != 0) {
    iVar4 = *(int *)(pbVar8 + 0x14);
    if ((iVar4 == 0) || (iVar4 == 0xe)) {
      uVar11 = uVar11 | 0x20;
    }
    else if (iVar4 == 1) {
      uVar11 = uVar11 | 0x10;
    }
  }
  uStack_61c = 1;
  uStack_620 = 0x100;
  iStack_618 = iVar3;
  pxStack_4a0 = fp;
  uStack_49c = uVar10;
  iStack_498 = vb;
  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;
  psStack_48c = (sg_simple_inquiry_resp *)ebuff;
  iStack_488 = unaff_s6;
  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar8 + 0x10),3,0,&uStack_5a4);
  if (iVar4 == 0) {
    if (0x100 < uStack_5a4) {
      (**(code **)(puStack_610 + -0x7f10))
                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);
    }
    if (2 < *(int *)(puVar9 + -0x6a20)) {
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);
      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);
    }
    iVar4 = *(int *)(puVar9 + -0x6a20);
    iVar3 = -1;
    if (iStack_594 != 0) {
      iVar3 = iStack_594;
    }
    *(int *)(pbVar8 + 0x24) = iVar3;
    if (iVar4 == 0) {
      iVar3 = *(int *)(puStack_610 + -0x7fd8);
      if (*(int *)(iVar3 + -0x6fec) < 0) {
LAB_00014094:
        uVar5 = 2;
        if (iStack_58c != 0) {
          uVar5 = 0;
        }
        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;
        goto LAB_0001409c;
      }
    }
    else {
      iStack_608 = iStack_590;
      uStack_604 = (uint)bStack_5a0;
      uStack_600 = (uint)uStack_59c;
      (**(code **)(puStack_610 + -0x7f10))
                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);
      iVar3 = *(int *)(puStack_610 + -0x7fd8);
      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;
LAB_0001409c:
      if (*(int *)(puVar9 + -0x6a20) != 0) {
        (**(code **)(puStack_610 + -0x7f10))
                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,
                   *(undefined4 *)(iVar3 + -0x6fec));
        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);
        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);
        if (bStack_57f < 0x1f) {
          (**(code **)(puStack_610 + -0x7f10))
                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));
        }
        else {
          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);
        }
        if (bStack_57e < 0x1f) {
          (**(code **)(puStack_610 + -0x7f10))
                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));
        }
        else {
          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);
        }
        if (bStack_57d < 0x1f) {
          (**(code **)(puStack_610 + -0x7f10))
                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));
        }
        else {
          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);
        }
        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);
      }
    }
    *(int *)(pbVar8 + 0x20) = 1 << (bStack_57f & 0x1f);
    if (bStack_579 == 0) {
      iVar3 = *(int *)(puStack_610 + -0x7fcc);
      iVar4 = iStack_594;
    }
    else {
      pbVar8 = abStack_578;
      iVar4 = *(int *)(puStack_610 + -0x7fc8);
      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);
      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;
      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);
      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;
      do {
        if (*pbVar8 < 0xff) {
                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();
          return iVar3;
        }
        (**(code **)(puStack_610 + -0x7f10))(iStack_608);
        pbVar8 = pbVar8 + 1;
      } while (pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);
      iVar3 = *(int *)(puStack_610 + -0x7fcc);
      iVar4 = iVar4 + -0x7b40;
    }
    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);
    iVar3 = 0;
  }
  else {
    puVar9 = auStack_5f4;
    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar9,iVar3);
    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar9);
    iVar3 = -iVar4;
  }
  if (iStack_4a4 == *piVar13) {
    return iVar3;
  }
  pcVar17 = *(code **)(puStack_610 + -0x7f0c);
  pcVar18 = scsi_read_capacity;
  iVar3 = iStack_4a4;
  (*pcVar17)();
  puVar14 = *(uint **)(pcVar17 + 0x147ec);
  iVar15 = *(int *)(pcVar17 + 0x1470c);
  uStack_654 = *puVar14;
  iVar12 = *(int *)(iVar15 + -0x6a20);
  if (iVar12 != 0) {
    iVar12 = iVar12 + -1;
  }
  puStack_650 = puVar9;
  puStack_64c = &uStack_5a4;
  uStack_648 = uVar11;
  psStack_644 = psVar7;
  piStack_640 = piVar13;
  iStack_63c = iVar4;
  pbStack_638 = pbVar8;
  pcStack_634 = pcVar18;
  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar12)
  ;
  if (iVar4 == 0) {
    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {
      iVar4 = (**(code **)(pcVar17 + 0x14808))
                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12);
      if (iVar4 != 0) {
        piVar13 = aiStack_6a4;
        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);
        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);
        goto LAB_00014a1c;
      }
      *(int **)(iVar3 + 8) = piStack_6bc;
      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;
      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;
      piVar13 = piStack_6bc;
    }
    else {
      *(uint *)(iVar3 + 8) = uStack_6c0;
      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;
      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);
      piVar13 = (int *)(uint)uStack_6c4._2_1_;
    }
    iVar4 = *(int *)(iVar15 + -0x6a20);
    if (iVar4 != 0) {
      piVar13 = (int *)(iVar3 + 0x30);
      iVar4 = 0;
      (**(code **)(pcVar17 + 0x147d4))
                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),
                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),
                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));
    }
  }
  else {
    piVar13 = aiStack_6a4;
    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);
    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);
  }
LAB_00014a1c:
  if (uStack_654 == *puVar14) {
    return iVar4;
  }
  (**(code **)(pcVar17 + 0x147d8))();
  if (uStack_654 == 0x10) {
    return 0x10;
  }
  if ((int)uStack_654 < 0x11) {
    if (uStack_654 == 1) {
      return 1;
    }
    if (uStack_654 == 8) {
      return 8;
    }
  }
  else {
    if (uStack_654 == 0x40) {
      return 0x40;
    }
    if (uStack_654 == 0x80) {
      return 0x80;
    }
    if (uStack_654 == 0x20) {
      return 0x20;
    }
  }
  if ((uStack_654 & 2) == 0) {
    return 1;
  }
  iVar3 = *piVar13;
  if (iVar3 == 0) {
    return 0x20;
  }
  if (iVar3 != 0xe) {
    iVar4 = 0x10;
    if (iVar3 != 1) {
      iVar4 = 1;
    }
    return iVar4;
  }
  return 0x20;
}



int FUN_00013b90(int param_1,int param_2)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  uint uVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  uint uVar9;
  uint uVar10;
  int iVar11;
  int *piVar12;
  uint *puVar13;
  int iVar14;
  int unaff_s6;
  byte *pbVar15;
  undefined *puVar16;
  code *pcVar17;
  code *pcVar18;
  undefined4 uStack_6c4;
  uint uStack_6c0;
  int *piStack_6bc;
  int aiStack_6a4 [20];
  uint uStack_654;
  undefined1 *puStack_650;
  uint *puStack_64c;
  uint uStack_648;
  undefined1 *puStack_644;
  int *piStack_640;
  int iStack_63c;
  byte *pbStack_638;
  code *pcStack_634;
  undefined4 uStack_620;
  undefined4 uStack_61c;
  int iStack_618;
  undefined *puStack_610;
  int iStack_608;
  uint uStack_604;
  uint uStack_600;
  undefined4 uStack_5fc;
  undefined1 auStack_5f4 [80];
  uint uStack_5a4;
  byte bStack_5a0;
  ushort uStack_59c;
  undefined2 uStack_59a;
  undefined4 uStack_598;
  int iStack_594;
  int iStack_590;
  int iStack_58c;
  undefined4 uStack_588;
  undefined1 uStack_580;
  byte bStack_57f;
  byte bStack_57e;
  byte bStack_57d;
  byte bStack_579;
  byte abStack_578 [212];
  int iStack_4a4;
  int iStack_4a0;
  uint uStack_49c;
  int iStack_498;
  undefined *puStack_494;
  uint uStack_490;
  undefined1 *puStack_48c;
  int iStack_488;
  undefined1 uStack_44c;
  byte local_44b;
  undefined1 auStack_444 [9];
  undefined1 auStack_43b [23];
  undefined1 auStack_424 [1023];
  undefined1 local_25;
  byte *local_24;
  
  puVar1 = PTR___stack_chk_guard_00029128;
  uVar2 = *(uint *)(param_1 + 0x1c);
  uVar6 = *(uint *)(param_1 + 0x18);
  local_24 = *(byte **)PTR___stack_chk_guard_00029128;
  uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;
  if ((*(uint *)(param_1 + 0xc) & 2) == 0) {
    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {
      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);
    }
    else {
      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);
      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);
      if (-1 < unaff_s6) {
        local_25 = 0;
        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);
        if (iVar3 < 0) {
          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);
        }
        else {
          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);
          uVar9 = uVar9 - iVar3;
        }
        (*(code *)PTR_close_00029078)(unaff_s6);
      }
      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);
    }
  }
  else {
    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);
  }
  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);
  *(int *)(param_1 + 0x10) = iVar3;
  if (iVar3 < 0) {
    puVar7 = (undefined1 *)0x400;
    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);
    (*(code *)PTR_perror_00029108)(auStack_424);
    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));
    iVar3 = -iVar3;
  }
  else {
    puVar7 = &uStack_44c;
    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);
    if (iVar3 == 0) {
      *(uint *)(param_1 + 0x14) = (uint)local_44b;
      if (param_2 != 0) {
        puVar7 = (undefined1 *)(param_1 + 0x30);
        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);
      }
      iVar3 = *(int *)(param_1 + 0x10);
    }
    else {
      puVar7 = auStack_424;
      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);
      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));
      iVar3 = -1;
      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;
    }
  }
  if (local_24 == *(byte **)puVar1) {
    return iVar3;
  }
  pbVar15 = local_24;
  puVar16 = PTR___stack_chk_fail_00029114;
  (*(code *)PTR___stack_chk_fail_00029114)();
  puStack_610 = puVar16 + 0x1d138;
  piVar12 = *(int **)(puVar16 + 0x15240);
  puVar8 = *(undefined1 **)(puVar16 + 0x15160);
  puStack_494 = puVar1;
  iStack_4a4 = *piVar12;
  iVar3 = *(int *)(puVar8 + -0x6a20);
  if (iVar3 != 0) {
    iVar3 = iVar3 + -1;
  }
  uVar10 = *(uint *)(pbVar15 + 0xc);
  if ((uVar10 & 2) != 0) {
    iVar4 = *(int *)(pbVar15 + 0x14);
    if ((iVar4 == 0) || (iVar4 == 0xe)) {
      uVar10 = uVar10 | 0x20;
    }
    else if (iVar4 == 1) {
      uVar10 = uVar10 | 0x10;
    }
  }
  uStack_61c = 1;
  uStack_620 = 0x100;
  iStack_618 = iVar3;
  iStack_4a0 = param_1;
  uStack_49c = uVar9;
  iStack_498 = param_2;
  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;
  puStack_48c = auStack_424;
  iStack_488 = unaff_s6;
  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);
  if (iVar4 == 0) {
    if (0x100 < uStack_5a4) {
      (**(code **)(puStack_610 + -0x7f10))
                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);
    }
    if (2 < *(int *)(puVar8 + -0x6a20)) {
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);
      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);
    }
    iVar4 = *(int *)(puVar8 + -0x6a20);
    iVar3 = -1;
    if (iStack_594 != 0) {
      iVar3 = iStack_594;
    }
    *(int *)(pbVar15 + 0x24) = iVar3;
    if (iVar4 == 0) {
      iVar3 = *(int *)(puStack_610 + -0x7fd8);
      if (*(int *)(iVar3 + -0x6fec) < 0) {
LAB_00014094:
        uVar5 = 2;
        if (iStack_58c != 0) {
          uVar5 = 0;
        }
        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;
        goto LAB_0001409c;
      }
    }
    else {
      iStack_608 = iStack_590;
      uStack_604 = (uint)bStack_5a0;
      uStack_600 = (uint)uStack_59c;
      (**(code **)(puStack_610 + -0x7f10))
                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);
      iVar3 = *(int *)(puStack_610 + -0x7fd8);
      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;
LAB_0001409c:
      if (*(int *)(puVar8 + -0x6a20) != 0) {
        (**(code **)(puStack_610 + -0x7f10))
                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,
                   *(undefined4 *)(iVar3 + -0x6fec));
        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);
        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);
        if (bStack_57f < 0x1f) {
          (**(code **)(puStack_610 + -0x7f10))
                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));
        }
        else {
          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);
        }
        if (bStack_57e < 0x1f) {
          (**(code **)(puStack_610 + -0x7f10))
                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));
        }
        else {
          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);
        }
        if (bStack_57d < 0x1f) {
          (**(code **)(puStack_610 + -0x7f10))
                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));
        }
        else {
          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);
        }
        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);
      }
    }
    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);
    if (bStack_579 == 0) {
      iVar3 = *(int *)(puStack_610 + -0x7fcc);
      iVar4 = iStack_594;
    }
    else {
      pbVar15 = abStack_578;
      iVar4 = *(int *)(puStack_610 + -0x7fc8);
      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);
      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;
      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);
      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;
      do {
        if (*pbVar15 < 0xff) {
                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();
          return iVar3;
        }
        (**(code **)(puStack_610 + -0x7f10))(iStack_608);
        pbVar15 = pbVar15 + 1;
      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);
      iVar3 = *(int *)(puStack_610 + -0x7fcc);
      iVar4 = iVar4 + -0x7b40;
    }
    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);
    iVar3 = 0;
  }
  else {
    puVar8 = auStack_5f4;
    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);
    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);
    iVar3 = -iVar4;
  }
  if (iStack_4a4 == *piVar12) {
    return iVar3;
  }
  pcVar17 = *(code **)(puStack_610 + -0x7f0c);
  pcVar18 = FUN_0001493c;
  iVar3 = iStack_4a4;
  (*pcVar17)();
  puVar13 = *(uint **)(pcVar17 + 0x147ec);
  iVar14 = *(int *)(pcVar17 + 0x1470c);
  uStack_654 = *puVar13;
  iVar11 = *(int *)(iVar14 + -0x6a20);
  if (iVar11 != 0) {
    iVar11 = iVar11 + -1;
  }
  puStack_650 = puVar8;
  puStack_64c = &uStack_5a4;
  uStack_648 = uVar10;
  puStack_644 = puVar7;
  piStack_640 = piVar12;
  iStack_63c = iVar4;
  pbStack_638 = pbVar15;
  pcStack_634 = pcVar18;
  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)
  ;
  if (iVar4 == 0) {
    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {
      iVar4 = (**(code **)(pcVar17 + 0x14808))
                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);
      if (iVar4 != 0) {
        piVar12 = aiStack_6a4;
        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);
        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);
        goto LAB_00014a1c;
      }
      *(int **)(iVar3 + 8) = piStack_6bc;
      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;
      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;
      piVar12 = piStack_6bc;
    }
    else {
      *(uint *)(iVar3 + 8) = uStack_6c0;
      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;
      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);
      piVar12 = (int *)(uint)uStack_6c4._2_1_;
    }
    iVar4 = *(int *)(iVar14 + -0x6a20);
    if (iVar4 != 0) {
      piVar12 = (int *)(iVar3 + 0x30);
      iVar4 = 0;
      (**(code **)(pcVar17 + 0x147d4))
                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),
                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),
                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));
    }
  }
  else {
    piVar12 = aiStack_6a4;
    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);
    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);
  }
LAB_00014a1c:
  if (uStack_654 == *puVar13) {
    return iVar4;
  }
  (**(code **)(pcVar17 + 0x147d8))();
  if (uStack_654 == 0x10) {
    return 0x10;
  }
  if ((int)uStack_654 < 0x11) {
    if (uStack_654 == 1) {
      return 1;
    }
    if (uStack_654 == 8) {
      return 8;
    }
  }
  else {
    if (uStack_654 == 0x40) {
      return 0x40;
    }
    if (uStack_654 == 0x80) {
      return 0x80;
    }
    if (uStack_654 == 0x20) {
      return 0x20;
    }
  }
  if ((uStack_654 & 2) == 0) {
    return 1;
  }
  iVar3 = *piVar12;
  if (iVar3 == 0) {
    return 0x20;
  }
  if (iVar3 != 0xe) {
    iVar4 = 0x10;
    if (iVar3 != 1) {
      iVar4 = 1;
    }
    return iVar4;
  }
  return 0x20;
}


lui gp,0x2
addiu gp,gp,-0x2b70
addu gp,gp,t9
addiu sp,sp,-0x478
lw v0,0x1c(a0)
sw s3,0x464(sp)
srl v1,v0,0xc
sw s0,0x458(sp)
or s0,a0,zero
lw s3,-0x7ef8(gp)
lw a0,0x18(a0)
sw s2,0x460(sp)
or s2,a1,zero
sw s1,0x45c(sp)
li s1,-0x100
sw s4,0x468(sp)
sll a3,a0,0x14
lw a2,0x0(s3)
ext s4,v0,0x8,0xc
lw a1,0xc(s0)
or v1,a3,v1
sw gp,0x20(sp)
andi v0,v0,0xff
sw a2,0x454(sp)
li a2,-0x1000
and v1,v1,s1
sw ra,0x474(sp)
and a0,a0,a2
sw s6,0x470(sp)
andi a2,a1,0x2
sw s5,0x46c(sp)
or s4,a0,s4
bne a2,zero,0x00013dbc
_or s1,v1,v0
andi a1,a1,0x21
lw t9,-0x7ed4(gp)
addiu s5,sp,0x54
sw s1,0x18(sp)
li a3,0x400
sw s4,0x14(sp)
bne a1,zero,0x00013cd8
_li a2,0x1
lw v0,-0x7fcc(gp)
li a1,0x400
or a0,s5,zero
addiu v0,v0,0x62d8
jalr t9
_sw v0,0x10(sp)
lw gp,0x20(sp)
lw t9,-0x7f9c(gp)
or a1,zero,zero
or a2,s2,zero
jalr t9
_or a0,s5,zero
lw gp,0x20(sp)
bltz v0,0x00013d44
_sw v0,0x10(s0)
lw t9,-0x7ed0(gp)
or a2,zero,zero
addiu a1,sp,0x2c
or a3,s2,zero
jalr t9
_or a0,v0,zero
bne v0,zero,0x00013ea4
_lw gp,0x20(sp)
lbu v0,0x2d(sp)
bne s2,zero,0x00013e00
_sw v0,0x14(s0)
lw v0,0x10(s0)
lw a0,0x454(sp)
lw v1,0x0(s3)
bne a0,v1,0x00013edc
_lw ra,0x474(sp)
lw s6,0x470(sp)
lw s5,0x46c(sp)
lw s4,0x468(sp)
lw s3,0x464(sp)
lw s2,0x460(sp)
lw s1,0x45c(sp)
lw s0,0x458(sp)
jr ra
_addiu sp,sp,0x478
lw v0,-0x7fcc(gp)
li a1,0x400
or a0,s5,zero
addiu v0,v0,0x6294
jalr t9
_sw v0,0x10(sp)
or a1,zero,zero
lw gp,0x20(sp)
lw t9,-0x7f4c(gp)
jalr t9
_or a0,s5,zero
lw gp,0x20(sp)
bgez v0,0x00013e3c
_or s6,v0,zero
lw v0,-0x7fcc(gp)
li a3,0x400
lw t9,-0x7ed4(gp)
li a2,0x1
li a1,0x400
sw s1,0x18(sp)
addiu v0,v0,0x62c4
sw s4,0x14(sp)
or a0,s5,zero
jalr t9
_sw v0,0x10(sp)
b 0x00013c54
_lw gp,0x20(sp)
lw v0,0xc(s0)
andi v0,v0,0x20
bne v0,zero,0x00013df4
_nop
lw v0,-0x7fcc(gp)
addiu v0,v0,0x6284
lw t9,-0x7ed4(gp)
li a3,0x400
sw v0,0x14(sp)
li a2,0x1
lw v0,-0x7fcc(gp)
li a1,0x400
or a0,s5,zero
sw s1,0x1c(sp)
sw s4,0x18(sp)
addiu v0,v0,0x62e8
jalr t9
_sw v0,0x10(sp)
lw gp,0x20(sp)
lw t9,-0x7f18(gp)
jalr t9
_or a0,s5,zero
lw gp,0x20(sp)
lw a0,0x10(s0)
lw t9,-0x7f68(gp)
jalr t9
_subu a0,zero,a0
lw gp,0x20(sp)
b 0x00013ca4
_subu v0,zero,v0
addiu v0,s0,0x30
lw t9,-0x7ed4(gp)
addiu s5,sp,0x54
sw v0,0x14(sp)
li a3,0x400
lw v0,-0x7fcc(gp)
li a2,0x1
li a1,0x400
or a0,s5,zero
addiu v0,v0,0x628c
jalr t9
_sw v0,0x10(sp)
b 0x00013c54
_lw gp,0x20(sp)
lw v0,-0x7fcc(gp)
b 0x00013d5c
_addiu v0,v0,0x627c
lbu v1,0x31(sp)
addiu a3,sp,0x3d
lw a0,-0x7fcc(gp)
addiu a2,sp,0x34
lw t9,-0x7f10(gp)
addiu a1,s0,0x30
ext v1,v1,0x3,0x1
sw v0,0x14(sp)
addiu v0,sp,0x4e
addiu a0,a0,0x6330
sw v1,0x18(sp)
jalr t9
_sw v0,0x10(sp)
b 0x00013ca0
_lw gp,0x20(sp)
lw t9,-0x7eec(gp)
li a2,0x3ff
or a1,s5,zero
sb zero,0x453(sp)
jalr t9
_or a0,v0,zero
bltz v0,0x00013e8c
_lw gp,0x20(sp)
lw t9,-0x7f38(gp)
li a2,0xa
or a1,zero,zero
jalr t9
_or a0,s5,zero
lw gp,0x20(sp)
subu s1,s1,v0
lw t9,-0x7fa8(gp)
jalr t9
_or a0,s6,zero
b 0x00013d10
_lw gp,0x20(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f18(gp)
jalr t9
_addiu a0,a0,0x62b4
b 0x00013e78
_lw gp,0x20(sp)
lw a0,-0x7fcc(gp)
or a1,s5,zero
lw t9,-0x7f10(gp)
jalr t9
_addiu a0,a0,0x6318
lw gp,0x20(sp)
lw t9,-0x7f00(gp)
jalr t9
_lw a0,0x10(s0)
li v1,-0x1
lw gp,0x20(sp)
li v0,-0x1
b 0x00013ca4
_sw v1,0x10(s0)
lw t9,-0x7f0c(gp)
jalr t9
_nop
(translation_unit "int FUN_00013b90(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  int *piVar12;\n  uint *puVar13;\n  int iVar14;\n  int unaff_s6;\n  byte *pbVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  undefined1 *puStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  int iStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  undefined1 *puStack_48c;\n  int iStack_488;\n  undefined1 uStack_44c;\n  byte local_44b;\n  undefined1 auStack_444 [9];\n  undefined1 auStack_43b [23];\n  undefined1 auStack_424 [1023];\n  undefined1 local_25;\n  byte *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = *(uint *)(param_1 + 0x1c);\n  uVar6 = *(uint *)(param_1 + 0x18);\n  local_24 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);\n  *(int *)(param_1 + 0x10) = iVar3;\n  if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }\n  if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  pbVar15 = local_24;\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar12 = *(int **)(puVar16 + 0x15240);\n  puVar8 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar12;\n  iVar3 = *(int *)(puVar8 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar10 = *(uint *)(pbVar15 + 0xc);\n  if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  iStack_4a0 = param_1;\n  uStack_49c = uVar9;\n  iStack_498 = param_2;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  puStack_48c = auStack_424;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = FUN_0001493c;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar13 = *(uint **)(pcVar17 + 0x147ec);\n  iVar14 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar13;\n  iVar11 = *(int *)(iVar14 + -0x6a20);\n  if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }\n  puStack_650 = puVar8;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar10;\n  puStack_644 = puVar7;\n  piStack_640 = piVar12;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar15;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar12;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}\n\n" (function_definition "int FUN_00013b90(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  int *piVar12;\n  uint *puVar13;\n  int iVar14;\n  int unaff_s6;\n  byte *pbVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  undefined1 *puStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  int iStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  undefined1 *puStack_48c;\n  int iStack_488;\n  undefined1 uStack_44c;\n  byte local_44b;\n  undefined1 auStack_444 [9];\n  undefined1 auStack_43b [23];\n  undefined1 auStack_424 [1023];\n  undefined1 local_25;\n  byte *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = *(uint *)(param_1 + 0x1c);\n  uVar6 = *(uint *)(param_1 + 0x18);\n  local_24 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);\n  *(int *)(param_1 + 0x10) = iVar3;\n  if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }\n  if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  pbVar15 = local_24;\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar12 = *(int **)(puVar16 + 0x15240);\n  puVar8 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar12;\n  iVar3 = *(int *)(puVar8 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar10 = *(uint *)(pbVar15 + 0xc);\n  if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  iStack_4a0 = param_1;\n  uStack_49c = uVar9;\n  iStack_498 = param_2;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  puStack_48c = auStack_424;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = FUN_0001493c;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar13 = *(uint **)(pcVar17 + 0x147ec);\n  iVar14 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar13;\n  iVar11 = *(int *)(iVar14 + -0x6a20);\n  if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }\n  puStack_650 = puVar8;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar10;\n  puStack_644 = puVar7;\n  piStack_640 = piVar12;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar15;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar12;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}" primitive_type (function_declarator "FUN_00013b90(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  int *piVar12;\n  uint *puVar13;\n  int iVar14;\n  int unaff_s6;\n  byte *pbVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  undefined1 *puStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  int iStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  undefined1 *puStack_48c;\n  int iStack_488;\n  undefined1 uStack_44c;\n  byte local_44b;\n  undefined1 auStack_444 [9];\n  undefined1 auStack_43b [23];\n  undefined1 auStack_424 [1023];\n  undefined1 local_25;\n  byte *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = *(uint *)(param_1 + 0x1c);\n  uVar6 = *(uint *)(param_1 + 0x18);\n  local_24 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);\n  *(int *)(param_1 + 0x10) = iVar3;\n  if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }\n  if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  pbVar15 = local_24;\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar12 = *(int **)(puVar16 + 0x15240);\n  puVar8 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar12;\n  iVar3 = *(int *)(puVar8 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar10 = *(uint *)(pbVar15 + 0xc);\n  if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  iStack_4a0 = param_1;\n  uStack_49c = uVar9;\n  iStack_498 = param_2;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  puStack_48c = auStack_424;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = FUN_0001493c;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar13 = *(uint **)(pcVar17 + 0x147ec);\n  iVar14 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar13;\n  iVar11 = *(int *)(iVar14 + -0x6a20);\n  if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }\n  puStack_650 = puVar8;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar10;\n  puStack_644 = puVar7;\n  piStack_640 = piVar12;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar15;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar12;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "uint *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int unaff_s6;" primitive_type identifier ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "code *pcVar18;" type_identifier (pointer_declarator "*pcVar18" * identifier) ;) (declaration "undefined4 uStack_6c4;" type_identifier identifier ;) (declaration "uint uStack_6c0;" type_identifier identifier ;) (declaration "int *piStack_6bc;" primitive_type (pointer_declarator "*piStack_6bc" * identifier) ;) (declaration "int aiStack_6a4 [20];" primitive_type (array_declarator "aiStack_6a4 [20]" identifier [ number_literal ]) ;) (declaration "uint uStack_654;" type_identifier identifier ;) (declaration "undefined1 *puStack_650;" type_identifier (pointer_declarator "*puStack_650" * identifier) ;) (declaration "uint *puStack_64c;" type_identifier (pointer_declarator "*puStack_64c" * identifier) ;) (declaration "uint uStack_648;" type_identifier identifier ;) (declaration "undefined1 *puStack_644;" type_identifier (pointer_declarator "*puStack_644" * identifier) ;) (declaration "int *piStack_640;" primitive_type (pointer_declarator "*piStack_640" * identifier) ;) (declaration "int iStack_63c;" primitive_type identifier ;) (declaration "byte *pbStack_638;" type_identifier (pointer_declarator "*pbStack_638" * identifier) ;) (declaration "code *pcStack_634;" type_identifier (pointer_declarator "*pcStack_634" * identifier) ;) (declaration "undefined4 uStack_620;" type_identifier identifier ;) (declaration "undefined4 uStack_61c;" type_identifier identifier ;) (declaration "int iStack_618;" primitive_type identifier ;) (declaration "undefined *puStack_610;" type_identifier (pointer_declarator "*puStack_610" * identifier) ;) (declaration "int iStack_608;" primitive_type identifier ;) (declaration "uint uStack_604;" type_identifier identifier ;) (declaration "uint uStack_600;" type_identifier identifier ;) (declaration "undefined4 uStack_5fc;" type_identifier identifier ;) (declaration "undefined1 auStack_5f4 [80];" type_identifier (array_declarator "auStack_5f4 [80]" identifier [ number_literal ]) ;) (declaration "uint uStack_5a4;" type_identifier identifier ;) (declaration "byte bStack_5a0;" type_identifier identifier ;) (declaration "ushort uStack_59c;" type_identifier identifier ;) (declaration "undefined2 uStack_59a;" type_identifier identifier ;) (declaration "undefined4 uStack_598;" type_identifier identifier ;) (declaration "int iStack_594;" primitive_type identifier ;) (declaration "int iStack_590;" primitive_type identifier ;) (declaration "int iStack_58c;" primitive_type identifier ;) (declaration "undefined4 uStack_588;" type_identifier identifier ;) (declaration "undefined1 uStack_580;" type_identifier identifier ;) (declaration "byte bStack_57f;" type_identifier identifier ;) (declaration "byte bStack_57e;" type_identifier identifier ;) (declaration "byte bStack_57d;" type_identifier identifier ;) (declaration "byte bStack_579;" type_identifier identifier ;) (declaration "byte abStack_578 [212];" type_identifier (array_declarator "abStack_578 [212]" identifier [ number_literal ]) ;) (declaration "int iStack_4a4;" primitive_type identifier ;) (declaration "int iStack_4a0;" primitive_type identifier ;) (declaration "uint uStack_49c;" type_identifier identifier ;) (declaration "int iStack_498;" primitive_type identifier ;) (declaration "undefined *puStack_494;" type_identifier (pointer_declarator "*puStack_494" * identifier) ;) (declaration "uint uStack_490;" type_identifier identifier ;) (declaration "undefined1 *puStack_48c;" type_identifier (pointer_declarator "*puStack_48c" * identifier) ;) (declaration "int iStack_488;" primitive_type identifier ;) (declaration "undefined1 uStack_44c;" type_identifier identifier ;) (declaration "byte local_44b;" type_identifier identifier ;) (declaration "undefined1 auStack_444 [9];" type_identifier (array_declarator "auStack_444 [9]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_43b [23];" type_identifier (array_declarator "auStack_43b [23]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_424 [1023];" type_identifier (array_declarator "auStack_424 [1023]" identifier [ number_literal ]) ;) (declaration "undefined1 local_25;" type_identifier identifier ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00029128;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00029128" identifier = identifier) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0x1c);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(byte **)PTR___stack_chk_guard_00029128;" (assignment_expression "local_24 = *(byte **)PTR___stack_chk_guard_00029128" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_00029128" * (cast_expression "(byte **)PTR___stack_chk_guard_00029128" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;" (assignment_expression "uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff" identifier = (binary_expression "uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff" (binary_expression "uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00" (binary_expression "uVar6 << 0x14" identifier << number_literal) | (binary_expression "uVar2 >> 0xc & 0xffffff00" (binary_expression "uVar2 >> 0xc" identifier >> number_literal) & number_literal)) | (binary_expression "uVar2 & 0xff" identifier & number_literal))) ;) (if_statement "if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 0xc) & 2) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0xc) & 2) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0xc) & 2)" ( (binary_expression "*(uint *)(param_1 + 0xc) & 2" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }" { (if_statement "if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }" if (parenthesized_expression "((*(uint *)(param_1 + 0xc) & 0x21) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0xc) & 0x21) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0xc) & 0x21)" ( (binary_expression "*(uint *)(param_1 + 0xc) & 0x21" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }" { (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0x400)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }" else (compound_statement "{\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }" { (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);" (assignment_expression "unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0)" identifier = (call_expression "(*(code *)PTR_open64_000290d4)(auStack_424,0)" (parenthesized_expression "(*(code *)PTR_open64_000290d4)" ( (pointer_expression "*(code *)PTR_open64_000290d4" * (cast_expression "(code *)PTR_open64_000290d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0)" ( identifier , number_literal )))) ;) (if_statement "if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }" if (parenthesized_expression "(-1 < unaff_s6)" ( (binary_expression "-1 < unaff_s6" number_literal < identifier) )) (compound_statement "{\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }" { (expression_statement "local_25 = 0;" (assignment_expression "local_25 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);" (assignment_expression "iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff)" identifier = (call_expression "(*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff)" (parenthesized_expression "(*(code *)PTR_read_00029134)" ( (pointer_expression "*(code *)PTR_read_00029134" * (cast_expression "(code *)PTR_read_00029134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s6,auStack_424,0x3ff)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }" { (expression_statement "(*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);" (call_expression "(*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4)" (parenthesized_expression "(*(code *)PTR_perror_00029108)" ( (pointer_expression "*(code *)PTR_perror_00029108" * (cast_expression "(code *)PTR_perror_00029108" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00029054 + 0x62b4)" ( (binary_expression "PTR_00029054 + 0x62b4" identifier + number_literal) ))) ;) }) (else_clause "else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }" else (compound_statement "{\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }" { (expression_statement "iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);" (assignment_expression "iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_000290e8)(auStack_424,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_000290e8)" ( (pointer_expression "*(code *)PTR_strtoul_000290e8" * (cast_expression "(code *)PTR_strtoul_000290e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar9 = uVar9 - iVar3;" (assignment_expression "uVar9 = uVar9 - iVar3" identifier = (binary_expression "uVar9 - iVar3" identifier - identifier)) ;) }))) (expression_statement "(*(code *)PTR_close_00029078)(unaff_s6);" (call_expression "(*(code *)PTR_close_00029078)(unaff_s6)" (parenthesized_expression "(*(code *)PTR_close_00029078)" ( (pointer_expression "*(code *)PTR_close_00029078" * (cast_expression "(code *)PTR_close_00029078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s6)" ( identifier ))) ;) })) (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) }))) }) (else_clause "else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }" else (compound_statement "{\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }" { (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) }))) (expression_statement "iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);" (assignment_expression "iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2)" identifier = (call_expression "(*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2)" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00029084)" ( (pointer_expression "*(code *)PTR_sg_cmds_open_device_00029084" * (cast_expression "(code *)PTR_sg_cmds_open_device_00029084" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0,param_2)" ( identifier , number_literal , identifier )))) ;) (expression_statement "*(int *)(param_1 + 0x10) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar3" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }" { (expression_statement "puVar7 = (undefined1 *)0x400;" (assignment_expression "puVar7 = (undefined1 *)0x400" identifier = (cast_expression "(undefined1 *)0x400" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_perror_00029108)(auStack_424);" (call_expression "(*(code *)PTR_perror_00029108)(auStack_424)" (parenthesized_expression "(*(code *)PTR_perror_00029108)" ( (pointer_expression "*(code *)PTR_perror_00029108" * (cast_expression "(code *)PTR_perror_00029108" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424)" ( identifier ))) ;) (expression_statement "iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));" (assignment_expression "iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10))" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000290b8)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_000290b8" * (cast_expression "(code *)PTR_sg_convert_errno_000290b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-*(int *)(param_1 + 0x10))" ( (unary_expression "-*(int *)(param_1 + 0x10)" - (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "iVar3 = -iVar3;" (assignment_expression "iVar3 = -iVar3" identifier = (unary_expression "-iVar3" - identifier)) ;) }) (else_clause "else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }" else (compound_statement "{\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }" { (expression_statement "puVar7 = &uStack_44c;" (assignment_expression "puVar7 = &uStack_44c" identifier = (pointer_expression "&uStack_44c" & identifier)) ;) (expression_statement "iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);" (assignment_expression "iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2)" identifier = (call_expression "(*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2)" (parenthesized_expression "(*(code *)PTR_sg_simple_inquiry_00029150)" ( (pointer_expression "*(code *)PTR_sg_simple_inquiry_00029150" * (cast_expression "(code *)PTR_sg_simple_inquiry_00029150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,puVar7,0,param_2)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }" { (expression_statement "*(uint *)(param_1 + 0x14) = (uint)local_44b;" (assignment_expression "*(uint *)(param_1 + 0x14) = (uint)local_44b" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (cast_expression "(uint)local_44b" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }" { (expression_statement "puVar7 = (undefined1 *)(param_1 + 0x30);" (assignment_expression "puVar7 = (undefined1 *)(param_1 + 0x30)" identifier = (cast_expression "(undefined1 *)(param_1 + 0x30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);" (call_expression "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b)" (parenthesized_expression "(*(code *)PTR_pr2serr_00029110)" ( (pointer_expression "*(code *)PTR_pr2serr_00029110" * (cast_expression "(code *)PTR_pr2serr_00029110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b)" ( (binary_expression "PTR_00029054 + 0x6330" identifier + number_literal) , identifier , identifier , identifier ))) ;) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }" else (compound_statement "{\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }" { (expression_statement "puVar7 = auStack_424;" (assignment_expression "puVar7 = auStack_424" identifier = identifier) ;) (expression_statement "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);" (call_expression "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318)" (parenthesized_expression "(*(code *)PTR_pr2serr_00029110)" ( (pointer_expression "*(code *)PTR_pr2serr_00029110" * (cast_expression "(code *)PTR_pr2serr_00029110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00029054 + 0x6318)" ( (binary_expression "PTR_00029054 + 0x6318" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));" (call_expression "(*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_00029120)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_00029120" * (cast_expression "(code *)PTR_sg_cmds_close_device_00029120" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) }))) }))) (if_statement "if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_24 == *(byte **)puVar1)" ( (binary_expression "local_24 == *(byte **)puVar1" identifier == (pointer_expression "*(byte **)puVar1" * (cast_expression "(byte **)puVar1" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "pbVar15 = local_24;" (assignment_expression "pbVar15 = local_24" identifier = identifier) ;) (expression_statement "puVar16 = PTR___stack_chk_fail_00029114;" (assignment_expression "puVar16 = PTR___stack_chk_fail_00029114" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00029114)();" (call_expression "(*(code *)PTR___stack_chk_fail_00029114)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00029114)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00029114" * (cast_expression "(code *)PTR___stack_chk_fail_00029114" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_610 = puVar16 + 0x1d138;" (assignment_expression "puStack_610 = puVar16 + 0x1d138" identifier = (binary_expression "puVar16 + 0x1d138" identifier + number_literal)) ;) (expression_statement "piVar12 = *(int **)(puVar16 + 0x15240);" (assignment_expression "piVar12 = *(int **)(puVar16 + 0x15240)" identifier = (pointer_expression "*(int **)(puVar16 + 0x15240)" * (cast_expression "(int **)(puVar16 + 0x15240)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x15240)" ( (binary_expression "puVar16 + 0x15240" identifier + number_literal) ))))) ;) (expression_statement "puVar8 = *(undefined1 **)(puVar16 + 0x15160);" (assignment_expression "puVar8 = *(undefined1 **)(puVar16 + 0x15160)" identifier = (pointer_expression "*(undefined1 **)(puVar16 + 0x15160)" * (cast_expression "(undefined1 **)(puVar16 + 0x15160)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x15160)" ( (binary_expression "puVar16 + 0x15160" identifier + number_literal) ))))) ;) (expression_statement "puStack_494 = puVar1;" (assignment_expression "puStack_494 = puVar1" identifier = identifier) ;) (expression_statement "iStack_4a4 = *piVar12;" (assignment_expression "iStack_4a4 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (expression_statement "iVar3 = *(int *)(puVar8 + -0x6a20);" (assignment_expression "iVar3 = *(int *)(puVar8 + -0x6a20)" identifier = (pointer_expression "*(int *)(puVar8 + -0x6a20)" * (cast_expression "(int *)(puVar8 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x6a20)" ( (binary_expression "puVar8 + -0x6a20" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar3 = iVar3 + -1;\n  }" { (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) })) (expression_statement "uVar10 = *(uint *)(pbVar15 + 0xc);" (assignment_expression "uVar10 = *(uint *)(pbVar15 + 0xc)" identifier = (pointer_expression "*(uint *)(pbVar15 + 0xc)" * (cast_expression "(uint *)(pbVar15 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar15 + 0xc)" ( (binary_expression "pbVar15 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }" if (parenthesized_expression "((uVar10 & 2) != 0)" ( (binary_expression "(uVar10 & 2) != 0" (parenthesized_expression "(uVar10 & 2)" ( (binary_expression "uVar10 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }" { (expression_statement "iVar4 = *(int *)(pbVar15 + 0x14);" (assignment_expression "iVar4 = *(int *)(pbVar15 + 0x14)" identifier = (pointer_expression "*(int *)(pbVar15 + 0x14)" * (cast_expression "(int *)(pbVar15 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar15 + 0x14)" ( (binary_expression "pbVar15 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }" if (parenthesized_expression "((iVar4 == 0) || (iVar4 == 0xe))" ( (binary_expression "(iVar4 == 0) || (iVar4 == 0xe)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 == 0xe)" ( (binary_expression "iVar4 == 0xe" identifier == number_literal) ))) )) (compound_statement "{\n      uVar10 = uVar10 | 0x20;\n    }" { (expression_statement "uVar10 = uVar10 | 0x20;" (assignment_expression "uVar10 = uVar10 | 0x20" identifier = (binary_expression "uVar10 | 0x20" identifier | number_literal)) ;) }) (else_clause "else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }" else (if_statement "if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      uVar10 = uVar10 | 0x10;\n    }" { (expression_statement "uVar10 = uVar10 | 0x10;" (assignment_expression "uVar10 = uVar10 | 0x10" identifier = (binary_expression "uVar10 | 0x10" identifier | number_literal)) ;) })))) })) (expression_statement "uStack_61c = 1;" (assignment_expression "uStack_61c = 1" identifier = number_literal) ;) (expression_statement "uStack_620 = 0x100;" (assignment_expression "uStack_620 = 0x100" identifier = number_literal) ;) (expression_statement "iStack_618 = iVar3;" (assignment_expression "iStack_618 = iVar3" identifier = identifier) ;) (expression_statement "iStack_4a0 = param_1;" (assignment_expression "iStack_4a0 = param_1" identifier = identifier) ;) (expression_statement "uStack_49c = uVar9;" (assignment_expression "uStack_49c = uVar9" identifier = identifier) ;) (expression_statement "iStack_498 = param_2;" (assignment_expression "iStack_498 = param_2" identifier = identifier) ;) (expression_statement "uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;" (assignment_expression "uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14" identifier = (binary_expression "uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14" (binary_expression "uVar6 & 0xfffff000" identifier & number_literal) | (binary_expression "(uVar2 << 0xc) >> 0x14" (parenthesized_expression "(uVar2 << 0xc)" ( (binary_expression "uVar2 << 0xc" identifier << number_literal) )) >> number_literal))) ;) (expression_statement "puStack_48c = auStack_424;" (assignment_expression "puStack_48c = auStack_424" identifier = identifier) ;) (expression_statement "iStack_488 = unaff_s6;" (assignment_expression "iStack_488 = unaff_s6" identifier = identifier) ;) (expression_statement "iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);" (assignment_expression "iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4)" identifier = (call_expression "(**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4)" (parenthesized_expression "(**(code **)(puVar16 + 0x151c8))" ( (pointer_expression "**(code **)(puVar16 + 0x151c8)" * (pointer_expression "*(code **)(puVar16 + 0x151c8)" * (cast_expression "(code **)(puVar16 + 0x151c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x151c8)" ( (binary_expression "puVar16 + 0x151c8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4)" ( (pointer_expression "*(undefined4 *)(pbVar15 + 0x10)" * (cast_expression "(undefined4 *)(pbVar15 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar15 + 0x10)" ( (binary_expression "pbVar15 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "&uStack_5a4" & identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }" { (if_statement "if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }" if (parenthesized_expression "(0x100 < uStack_5a4)" ( (binary_expression "0x100 < uStack_5a4" number_literal < identifier) )) (compound_statement "{\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6380" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier , number_literal ))) ;) })) (if_statement "if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }" if (parenthesized_expression "(2 < *(int *)(puVar8 + -0x6a20))" ( (binary_expression "2 < *(int *)(puVar8 + -0x6a20)" number_literal < (pointer_expression "*(int *)(puVar8 + -0x6a20)" * (cast_expression "(int *)(puVar8 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x6a20)" ( (binary_expression "puVar8 + -0x6a20" identifier + number_literal) ))))) )) (compound_statement "{\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x63c8)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x63c8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);" (call_expression "(**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f94))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f94)" * (pointer_expression "*(code **)(puStack_610 + -0x7f94)" * (cast_expression "(code **)(puStack_610 + -0x7f94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f94)" ( (binary_expression "puStack_610 + -0x7f94" identifier + number_literal) ))))) )) (argument_list "(&uStack_5a4,uStack_5a4,1)" ( (pointer_expression "&uStack_5a4" & identifier) , identifier , number_literal ))) ;) })) (expression_statement "iVar4 = *(int *)(puVar8 + -0x6a20);" (assignment_expression "iVar4 = *(int *)(puVar8 + -0x6a20)" identifier = (pointer_expression "*(int *)(puVar8 + -0x6a20)" * (cast_expression "(int *)(puVar8 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x6a20)" ( (binary_expression "puVar8 + -0x6a20" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" identifier = number_literal) ;) (if_statement "if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }" if (parenthesized_expression "(iStack_594 != 0)" ( (binary_expression "iStack_594 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = iStack_594;\n    }" { (expression_statement "iVar3 = iStack_594;" (assignment_expression "iVar3 = iStack_594" identifier = identifier) ;) })) (expression_statement "*(int *)(pbVar15 + 0x24) = iVar3;" (assignment_expression "*(int *)(pbVar15 + 0x24) = iVar3" (pointer_expression "*(int *)(pbVar15 + 0x24)" * (cast_expression "(int *)(pbVar15 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar15 + 0x24)" ( (binary_expression "pbVar15 + 0x24" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }" { (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fd8);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fd8)" * (cast_expression "(int *)(puStack_610 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fd8)" ( (binary_expression "puStack_610 + -0x7fd8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }" if (parenthesized_expression "(*(int *)(iVar3 + -0x6fec) < 0)" ( (binary_expression "*(int *)(iVar3 + -0x6fec) < 0" (pointer_expression "*(int *)(iVar3 + -0x6fec)" * (cast_expression "(int *)(iVar3 + -0x6fec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }" { (labeled_statement "LAB_00014094:\n        uVar5 = 2;" statement_identifier : (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" identifier = number_literal) ;)) (if_statement "if (iStack_58c != 0) {\n          uVar5 = 0;\n        }" if (parenthesized_expression "(iStack_58c != 0)" ( (binary_expression "iStack_58c != 0" identifier != number_literal) )) (compound_statement "{\n          uVar5 = 0;\n        }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)(iVar3 + -0x6fec) = uVar5;" (assignment_expression "*(undefined4 *)(iVar3 + -0x6fec) = uVar5" (pointer_expression "*(undefined4 *)(iVar3 + -0x6fec)" * (cast_expression "(undefined4 *)(iVar3 + -0x6fec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_0001409c;" goto statement_identifier ;) })) }) (else_clause "else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" else (compound_statement "{\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" { (expression_statement "iStack_608 = iStack_590;" (assignment_expression "iStack_608 = iStack_590" identifier = identifier) ;) (expression_statement "uStack_604 = (uint)bStack_5a0;" (assignment_expression "uStack_604 = (uint)bStack_5a0" identifier = (cast_expression "(uint)bStack_5a0" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uStack_600 = (uint)uStack_59c;" (assignment_expression "uStack_600 = (uint)uStack_59c" identifier = (cast_expression "(uint)uStack_59c" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6408" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x63e4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x641c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "uStack_604 & 1" identifier & number_literal) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6448" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6474" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64a0" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64c8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64e8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fd8);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fd8)" * (cast_expression "(int *)(puStack_610 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fd8)" ( (binary_expression "puStack_610 + -0x7fd8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;" if (parenthesized_expression "(*(int *)(iVar3 + -0x6fec) < 0)" ( (binary_expression "*(int *)(iVar3 + -0x6fec) < 0" (pointer_expression "*(int *)(iVar3 + -0x6fec)" * (cast_expression "(int *)(iVar3 + -0x6fec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) < number_literal) )) (goto_statement "goto LAB_00014094;" goto statement_identifier ;)) (labeled_statement "LAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" statement_identifier : (if_statement "if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" if (parenthesized_expression "(*(int *)(puVar8 + -0x6a20) != 0)" ( (binary_expression "*(int *)(puVar8 + -0x6a20) != 0" (pointer_expression "*(int *)(puVar8 + -0x6a20)" * (cast_expression "(int *)(puVar8 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x6a20)" ( (binary_expression "puVar8 + -0x6a20" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x650c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier , (pointer_expression "*(undefined4 *)(iVar3 + -0x6fec)" * (cast_expression "(undefined4 *)(iVar3 + -0x6fec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x653c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x656c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (if_statement "if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" if (parenthesized_expression "(bStack_57f < 0x1f)" ( (binary_expression "bStack_57f < 0x1f" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x65bc" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "1 << (bStack_57f & 0x1f)" number_literal << (parenthesized_expression "(bStack_57f & 0x1f)" ( (binary_expression "bStack_57f & 0x1f" identifier & number_literal) ))) ))) ;) }) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" else (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 26000)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 26000" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) (if_statement "if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" if (parenthesized_expression "(bStack_57e < 0x1f)" ( (binary_expression "bStack_57e < 0x1f" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6610" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "1 << (bStack_57e & 0x1f)" number_literal << (parenthesized_expression "(bStack_57e & 0x1f)" ( (binary_expression "bStack_57e & 0x1f" identifier & number_literal) ))) ))) ;) }) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" else (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x65e4)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x65e4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) (if_statement "if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" if (parenthesized_expression "(bStack_57d < 0x1f)" ( (binary_expression "bStack_57d < 0x1f" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6660" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "1 << (bStack_57d & 0x1f)" number_literal << (parenthesized_expression "(bStack_57d & 0x1f)" ( (binary_expression "bStack_57d & 0x1f" identifier & number_literal) ))) ))) ;) }) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" else (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6638)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6638" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6688)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6688" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) }))) (expression_statement "*(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);" (assignment_expression "*(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f)" (pointer_expression "*(int *)(pbVar15 + 0x20)" * (cast_expression "(int *)(pbVar15 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar15 + 0x20)" ( (binary_expression "pbVar15 + 0x20" identifier + number_literal) )))) = (binary_expression "1 << (bStack_57f & 0x1f)" number_literal << (parenthesized_expression "(bStack_57f & 0x1f)" ( (binary_expression "bStack_57f & 0x1f" identifier & number_literal) )))) ;) (if_statement "if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" if (parenthesized_expression "(bStack_579 == 0)" ( (binary_expression "bStack_579 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }" { (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fcc);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iStack_594;" (assignment_expression "iVar4 = iStack_594" identifier = identifier) ;) }) (else_clause "else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" else (compound_statement "{\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" { (expression_statement "pbVar15 = abStack_578;" (assignment_expression "pbVar15 = abStack_578" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(puStack_610 + -0x7fc8);" (assignment_expression "iVar4 = *(int *)(puStack_610 + -0x7fc8)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fc8)" * (cast_expression "(int *)(puStack_610 + -0x7fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fc8)" ( (binary_expression "puStack_610 + -0x7fc8" identifier + number_literal) ))))) ;) (expression_statement "uStack_604 = *(uint *)(puStack_610 + -0x7fcc);" (assignment_expression "uStack_604 = *(uint *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(uint *)(puStack_610 + -0x7fcc)" * (cast_expression "(uint *)(puStack_610 + -0x7fcc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;" (assignment_expression "iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4" identifier = (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6bc4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);" (assignment_expression "uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(undefined4 *)(puStack_610 + -0x7fcc)" * (cast_expression "(undefined4 *)(puStack_610 + -0x7fcc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;" (assignment_expression "uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78" identifier = (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6b78" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n        if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);" do (compound_statement "{\n        if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      }" { (if_statement "if (*pbVar15 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }" if (parenthesized_expression "(*pbVar15 < 0xff)" ( (binary_expression "*pbVar15 < 0xff" (pointer_expression "*pbVar15" * identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }" { comment comment (expression_statement "iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();" (assignment_expression "iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))()" identifier = (call_expression "(*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))()" (parenthesized_expression "(*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))" ( (pointer_expression "*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4))" * (cast_expression "(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4))" ( (binary_expression "puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" identifier + (pointer_expression "*(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" * (cast_expression "(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" ( (binary_expression "iVar4 + -0x7b40 + (uint)*pbVar15 * 4" (binary_expression "iVar4 + -0x7b40" identifier + number_literal) + (binary_expression "(uint)*pbVar15 * 4" (binary_expression "(uint)*pbVar15" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(iStack_608);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(iStack_608)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(iStack_608)" ( identifier ))) ;) (expression_statement "pbVar15 = pbVar15 + 1;" (assignment_expression "pbVar15 = pbVar15 + 1" identifier = (binary_expression "pbVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579)" ( (binary_expression "pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579" (binary_expression "pbVar15 + (-0x2c - (int)&uStack_5a4)" identifier + (parenthesized_expression "(-0x2c - (int)&uStack_5a4)" ( (binary_expression "-0x2c - (int)&uStack_5a4" number_literal - (cast_expression "(int)&uStack_5a4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&uStack_5a4" & identifier))) ))) < (cast_expression "(byte *)(uint)bStack_579" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)bStack_579" ( (type_descriptor "uint" type_identifier) ) identifier))) )) ;) (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fcc);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar4 + -0x7b40;" (assignment_expression "iVar4 = iVar4 + -0x7b40" identifier = (binary_expression "iVar4 + -0x7b40" identifier + number_literal)) ;) }))) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(iVar3 + 0x66ac)" ( (binary_expression "iVar3 + 0x66ac" identifier + number_literal) ))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }" else (compound_statement "{\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }" { (expression_statement "puVar8 = auStack_5f4;" (assignment_expression "puVar8 = auStack_5f4" identifier = identifier) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);" (call_expression "(**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f84))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f84)" * (pointer_expression "*(code **)(puStack_610 + -0x7f84)" * (cast_expression "(code **)(puStack_610 + -0x7f84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f84)" ( (binary_expression "puStack_610 + -0x7f84" identifier + number_literal) ))))) )) (argument_list "(iVar4,0x50,puVar8,iVar3)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6360" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "iVar3 = -iVar4;" (assignment_expression "iVar3 = -iVar4" identifier = (unary_expression "-iVar4" - identifier)) ;) }))) (if_statement "if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }" if (parenthesized_expression "(iStack_4a4 == *piVar12)" ( (binary_expression "iStack_4a4 == *piVar12" identifier == (pointer_expression "*piVar12" * identifier)) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "pcVar17 = *(code **)(puStack_610 + -0x7f0c);" (assignment_expression "pcVar17 = *(code **)(puStack_610 + -0x7f0c)" identifier = (pointer_expression "*(code **)(puStack_610 + -0x7f0c)" * (cast_expression "(code **)(puStack_610 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f0c)" ( (binary_expression "puStack_610 + -0x7f0c" identifier + number_literal) ))))) ;) (expression_statement "pcVar18 = FUN_0001493c;" (assignment_expression "pcVar18 = FUN_0001493c" identifier = identifier) ;) (expression_statement "iVar3 = iStack_4a4;" (assignment_expression "iVar3 = iStack_4a4" identifier = identifier) ;) (expression_statement "(*pcVar17)();" (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "puVar13 = *(uint **)(pcVar17 + 0x147ec);" (assignment_expression "puVar13 = *(uint **)(pcVar17 + 0x147ec)" identifier = (pointer_expression "*(uint **)(pcVar17 + 0x147ec)" * (cast_expression "(uint **)(pcVar17 + 0x147ec)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147ec)" ( (binary_expression "pcVar17 + 0x147ec" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = *(int *)(pcVar17 + 0x1470c);" (assignment_expression "iVar14 = *(int *)(pcVar17 + 0x1470c)" identifier = (pointer_expression "*(int *)(pcVar17 + 0x1470c)" * (cast_expression "(int *)(pcVar17 + 0x1470c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x1470c)" ( (binary_expression "pcVar17 + 0x1470c" identifier + number_literal) ))))) ;) (expression_statement "uStack_654 = *puVar13;" (assignment_expression "uStack_654 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "iVar11 = *(int *)(iVar14 + -0x6a20);" (assignment_expression "iVar11 = *(int *)(iVar14 + -0x6a20)" identifier = (pointer_expression "*(int *)(iVar14 + -0x6a20)" * (cast_expression "(int *)(iVar14 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + -0x6a20)" ( (binary_expression "iVar14 + -0x6a20" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar11 = iVar11 + -1;\n  }" { (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) })) (expression_statement "puStack_650 = puVar8;" (assignment_expression "puStack_650 = puVar8" identifier = identifier) ;) (expression_statement "puStack_64c = &uStack_5a4;" (assignment_expression "puStack_64c = &uStack_5a4" identifier = (pointer_expression "&uStack_5a4" & identifier)) ;) (expression_statement "uStack_648 = uVar10;" (assignment_expression "uStack_648 = uVar10" identifier = identifier) ;) (expression_statement "puStack_644 = puVar7;" (assignment_expression "puStack_644 = puVar7" identifier = identifier) ;) (expression_statement "piStack_640 = piVar12;" (assignment_expression "piStack_640 = piVar12" identifier = identifier) ;) (expression_statement "iStack_63c = iVar4;" (assignment_expression "iStack_63c = iVar4" identifier = identifier) ;) (expression_statement "pbStack_638 = pbVar15;" (assignment_expression "pbStack_638 = pbVar15" identifier = identifier) ;) (expression_statement "pcStack_634 = pcVar18;" (assignment_expression "pcStack_634 = pcVar18" identifier = identifier) ;) (expression_statement "iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;" (assignment_expression "iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)" identifier = (call_expression "(**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x1480c))" ( (pointer_expression "**(code **)(pcVar17 + 0x1480c)" * (pointer_expression "*(code **)(pcVar17 + 0x1480c)" * (cast_expression "(code **)(pcVar17 + 0x1480c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x1480c)" ( (binary_expression "pcVar17 + 0x1480c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "&uStack_6c4" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }" { (if_statement "if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }" if (parenthesized_expression "((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff)" ( (binary_expression "(uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff" (parenthesized_expression "(uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4)" ( (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4" (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_" (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_" (field_expression "uStack_6c4._0_1_" identifier . field_identifier) & (field_expression "uStack_6c4._1_1_" identifier . field_identifier)) & (field_expression "uStack_6c4._2_1_" identifier . field_identifier)) & (cast_expression "(byte)uStack_6c4" ( (type_descriptor "byte" type_identifier) ) identifier)) )) == number_literal) )) (compound_statement "{\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }" { (expression_statement "iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);" (assignment_expression "iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11)" identifier = (call_expression "(**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14808))" ( (pointer_expression "**(code **)(pcVar17 + 0x14808)" * (pointer_expression "*(code **)(pcVar17 + 0x14808)" * (cast_expression "(code **)(pcVar17 + 0x14808)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x14808)" ( (binary_expression "pcVar17 + 0x14808" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11)" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , number_literal , (pointer_expression "&uStack_6c4" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }" { (expression_statement "piVar12 = aiStack_6a4;" (assignment_expression "piVar12 = aiStack_6a4" identifier = identifier) ;) (expression_statement "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);" (call_expression "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14760))" ( (pointer_expression "**(code **)(pcVar17 + 0x14760)" * (pointer_expression "*(code **)(pcVar17 + 0x14760)" * (cast_expression "(code **)(pcVar17 + 0x14760)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x14760)" ( (binary_expression "pcVar17 + 0x14760" identifier + number_literal) ))))) )) (argument_list "(iVar4,0x50,piVar12,iVar11)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);" (call_expression "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04)" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d4)" * (pointer_expression "*(code **)(pcVar17 + 0x147d4)" * (cast_expression "(code **)(pcVar17 + 0x147d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d4)" ( (binary_expression "pcVar17 + 0x147d4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6c04)" ( (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6c04" (pointer_expression "*(int *)(pcVar17 + 0x14718)" * (cast_expression "(int *)(pcVar17 + 0x14718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x14718)" ( (binary_expression "pcVar17 + 0x14718" identifier + number_literal) )))) + number_literal) ))) ;) (goto_statement "goto LAB_00014a1c;" goto statement_identifier ;) })) (expression_statement "*(int **)(iVar3 + 8) = piStack_6bc;" (assignment_expression "*(int **)(iVar3 + 8) = piStack_6bc" (pointer_expression "*(int **)(iVar3 + 8)" * (cast_expression "(int **)(iVar3 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) = (binary_expression "uStack_6c0 + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;" (assignment_expression "*(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4" (pointer_expression "*(uint *)(iVar3 + 0x28)" * (cast_expression "(uint *)(iVar3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) = (binary_expression "(uStack_6c0 + 1 < uStack_6c0) + uStack_6c4" (parenthesized_expression "(uStack_6c0 + 1 < uStack_6c0)" ( (binary_expression "uStack_6c0 + 1 < uStack_6c0" (binary_expression "uStack_6c0 + 1" identifier + number_literal) < identifier) )) + identifier)) ;) (expression_statement "piVar12 = piStack_6bc;" (assignment_expression "piVar12 = piStack_6bc" identifier = identifier) ;) }) (else_clause "else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }" else (compound_statement "{\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }" { (expression_statement "*(uint *)(iVar3 + 8) = uStack_6c0;" (assignment_expression "*(uint *)(iVar3 + 8) = uStack_6c0" (pointer_expression "*(uint *)(iVar3 + 8)" * (cast_expression "(uint *)(iVar3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) = (binary_expression "uStack_6c4 + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);" (assignment_expression "*(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4)" (pointer_expression "*(uint *)(iVar3 + 0x28)" * (cast_expression "(uint *)(iVar3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) = (call_expression "(uint)(uStack_6c4 + 1 < uStack_6c4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uStack_6c4 + 1 < uStack_6c4)" ( (binary_expression "uStack_6c4 + 1 < uStack_6c4" (binary_expression "uStack_6c4 + 1" identifier + number_literal) < identifier) )))) ;) (expression_statement "piVar12 = (int *)(uint)uStack_6c4._2_1_;" (assignment_expression "piVar12 = (int *)(uint)uStack_6c4._2_1_" identifier = (cast_expression "(int *)(uint)uStack_6c4._2_1_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)uStack_6c4._2_1_" ( (type_descriptor "uint" type_identifier) ) (field_expression "uStack_6c4._2_1_" identifier . field_identifier)))) ;) }))) (expression_statement "iVar4 = *(int *)(iVar14 + -0x6a20);" (assignment_expression "iVar4 = *(int *)(iVar14 + -0x6a20)" identifier = (pointer_expression "*(int *)(iVar14 + -0x6a20)" * (cast_expression "(int *)(iVar14 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + -0x6a20)" ( (binary_expression "iVar14 + -0x6a20" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }" { (expression_statement "piVar12 = (int *)(iVar3 + 0x30);" (assignment_expression "piVar12 = (int *)(iVar3 + 0x30)" identifier = (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "(**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));" (call_expression "(**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8))" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d4)" * (pointer_expression "*(code **)(pcVar17 + 0x147d4)" * (cast_expression "(code **)(pcVar17 + 0x147d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d4)" ( (binary_expression "pcVar17 + 0x147d4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8))" ( (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6c1c" (pointer_expression "*(int *)(pcVar17 + 0x14718)" * (cast_expression "(int *)(pcVar17 + 0x14718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x14718)" ( (binary_expression "pcVar17 + 0x14718" identifier + number_literal) )))) + number_literal) , identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x28)" * (cast_expression "(undefined4 *)(iVar3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x2c)" * (cast_expression "(undefined4 *)(iVar3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x28)" * (cast_expression "(undefined4 *)(iVar3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x2c)" * (cast_expression "(undefined4 *)(iVar3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) ))) ;) })) }) (else_clause "else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" else (compound_statement "{\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" { (expression_statement "piVar12 = aiStack_6a4;" (assignment_expression "piVar12 = aiStack_6a4" identifier = identifier) ;) (expression_statement "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);" (call_expression "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14760))" ( (pointer_expression "**(code **)(pcVar17 + 0x14760)" * (pointer_expression "*(code **)(pcVar17 + 0x14760)" * (cast_expression "(code **)(pcVar17 + 0x14760)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x14760)" ( (binary_expression "pcVar17 + 0x14760" identifier + number_literal) ))))) )) (argument_list "(iVar4,0x50,piVar12,iVar11)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);" (call_expression "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec)" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d4)" * (pointer_expression "*(code **)(pcVar17 + 0x147d4)" * (cast_expression "(code **)(pcVar17 + 0x147d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d4)" ( (binary_expression "pcVar17 + 0x147d4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6bec)" ( (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6bec" (pointer_expression "*(int *)(pcVar17 + 0x14718)" * (cast_expression "(int *)(pcVar17 + 0x14718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x14718)" ( (binary_expression "pcVar17 + 0x14718" identifier + number_literal) )))) + number_literal) ))) ;) }))) (labeled_statement "LAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }" statement_identifier : (if_statement "if (uStack_654 == *puVar13) {\n    return iVar4;\n  }" if (parenthesized_expression "(uStack_654 == *puVar13)" ( (binary_expression "uStack_654 == *puVar13" identifier == (pointer_expression "*puVar13" * identifier)) )) (compound_statement "{\n    return iVar4;\n  }" { (return_statement "return iVar4;" return identifier ;) }))) (expression_statement "(**(code **)(pcVar17 + 0x147d8))();" (call_expression "(**(code **)(pcVar17 + 0x147d8))()" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d8))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d8)" * (pointer_expression "*(code **)(pcVar17 + 0x147d8)" * (cast_expression "(code **)(pcVar17 + 0x147d8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d8)" ( (binary_expression "pcVar17 + 0x147d8" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (uStack_654 == 0x10) {\n    return 0x10;\n  }" if (parenthesized_expression "(uStack_654 == 0x10)" ( (binary_expression "uStack_654 == 0x10" identifier == number_literal) )) (compound_statement "{\n    return 0x10;\n  }" { (return_statement "return 0x10;" return number_literal ;) })) (if_statement "if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" if (parenthesized_expression "((int)uStack_654 < 0x11)" ( (binary_expression "(int)uStack_654 < 0x11" (cast_expression "(int)uStack_654" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }" { (if_statement "if (uStack_654 == 1) {\n      return 1;\n    }" if (parenthesized_expression "(uStack_654 == 1)" ( (binary_expression "uStack_654 == 1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (uStack_654 == 8) {\n      return 8;\n    }" if (parenthesized_expression "(uStack_654 == 8)" ( (binary_expression "uStack_654 == 8" identifier == number_literal) )) (compound_statement "{\n      return 8;\n    }" { (return_statement "return 8;" return number_literal ;) })) }) (else_clause "else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" else (compound_statement "{\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" { (if_statement "if (uStack_654 == 0x40) {\n      return 0x40;\n    }" if (parenthesized_expression "(uStack_654 == 0x40)" ( (binary_expression "uStack_654 == 0x40" identifier == number_literal) )) (compound_statement "{\n      return 0x40;\n    }" { (return_statement "return 0x40;" return number_literal ;) })) (if_statement "if (uStack_654 == 0x80) {\n      return 0x80;\n    }" if (parenthesized_expression "(uStack_654 == 0x80)" ( (binary_expression "uStack_654 == 0x80" identifier == number_literal) )) (compound_statement "{\n      return 0x80;\n    }" { (return_statement "return 0x80;" return number_literal ;) })) (if_statement "if (uStack_654 == 0x20) {\n      return 0x20;\n    }" if (parenthesized_expression "(uStack_654 == 0x20)" ( (binary_expression "uStack_654 == 0x20" identifier == number_literal) )) (compound_statement "{\n      return 0x20;\n    }" { (return_statement "return 0x20;" return number_literal ;) })) }))) (if_statement "if ((uStack_654 & 2) == 0) {\n    return 1;\n  }" if (parenthesized_expression "((uStack_654 & 2) == 0)" ( (binary_expression "(uStack_654 & 2) == 0" (parenthesized_expression "(uStack_654 & 2)" ( (binary_expression "uStack_654 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar3 = *piVar12;" (assignment_expression "iVar3 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (if_statement "if (iVar3 == 0) {\n    return 0x20;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0x20;\n  }" { (return_statement "return 0x20;" return number_literal ;) })) (if_statement "if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" if (parenthesized_expression "(iVar3 != 0xe)" ( (binary_expression "iVar3 != 0xe" identifier != number_literal) )) (compound_statement "{\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" { (expression_statement "iVar4 = 0x10;" (assignment_expression "iVar4 = 0x10" identifier = number_literal) ;) (if_statement "if (iVar3 != 1) {\n      iVar4 = 1;\n    }" if (parenthesized_expression "(iVar3 != 1)" ( (binary_expression "iVar3 != 1" identifier != number_literal) )) (compound_statement "{\n      iVar4 = 1;\n    }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) })) (return_statement "return iVar4;" return identifier ;) })) (return_statement "return 0x20;" return number_literal ;) })))
(translation_unit "int open_sg(xcopy_fp_t *fp,int vb)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  sg_simple_inquiry_resp *psVar7;\n  byte *pbVar8;\n  undefined1 *puVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint *puVar14;\n  int iVar15;\n  int unaff_s6;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  sg_simple_inquiry_resp *psStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  xcopy_fp_t *pxStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  sg_simple_inquiry_resp *psStack_48c;\n  int iStack_488;\n  sg_simple_inquiry_resp sir;\n  char ebuff [1024];\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = (uint)fp->devno;\n  uVar6 = *(uint *)&fp->devno;\n  pbVar8 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar10 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((fp->sg_type & 2U) == 0) {\n    if ((fp->sg_type & 0x21U) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0);\n      if (-1 < unaff_s6) {\n        ebuff[0x3ff] = '\0';\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)((sg_simple_inquiry_resp *)ebuff,0,vb);\n  fp->sg_fd = iVar3;\n  if (iVar3 < 0) {\n    psVar7 = (sg_simple_inquiry_resp *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)((sg_simple_inquiry_resp *)ebuff,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)((sg_simple_inquiry_resp *)ebuff);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-fp->sg_fd);\n    iVar3 = -iVar3;\n  }\n  else {\n    psVar7 = &sir;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,psVar7,0,vb);\n    if (iVar3 == 0) {\n      fp->pdt = (uint)sir.peripheral_type;\n      if (vb != 0) {\n        psVar7 = (sg_simple_inquiry_resp *)fp->fname;\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);\n      }\n      iVar3 = fp->sg_fd;\n    }\n    else {\n      psVar7 = (sg_simple_inquiry_resp *)ebuff;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);\n      iVar3 = -1;\n      fp->sg_fd = -1;\n    }\n  }\n  if (pbVar8 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar13 = *(int **)(puVar16 + 0x15240);\n  puVar9 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar13;\n  iVar3 = *(int *)(puVar9 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar11 = *(uint *)(pbVar8 + 0xc);\n  if ((uVar11 & 2) != 0) {\n    iVar4 = *(int *)(pbVar8 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar11 = uVar11 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar11 = uVar11 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  pxStack_4a0 = fp;\n  uStack_49c = uVar10;\n  iStack_498 = vb;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  psStack_48c = (sg_simple_inquiry_resp *)ebuff;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar8 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar9 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar9 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar8 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar9 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar8 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar8 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar8 = pbVar8 + 1;\n      } while (pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar9 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar9,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar9);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar13) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = scsi_read_capacity;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar14 = *(uint **)(pcVar17 + 0x147ec);\n  iVar15 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar14;\n  iVar12 = *(int *)(iVar15 + -0x6a20);\n  if (iVar12 != 0) {\n    iVar12 = iVar12 + -1;\n  }\n  puStack_650 = puVar9;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar11;\n  psStack_644 = psVar7;\n  piStack_640 = piVar13;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar8;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar12)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12);\n      if (iVar4 != 0) {\n        piVar13 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar13 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar13 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar15 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar13 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar13 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar14) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar13;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}\n\n" (function_definition "int open_sg(xcopy_fp_t *fp,int vb)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  sg_simple_inquiry_resp *psVar7;\n  byte *pbVar8;\n  undefined1 *puVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint *puVar14;\n  int iVar15;\n  int unaff_s6;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  sg_simple_inquiry_resp *psStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  xcopy_fp_t *pxStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  sg_simple_inquiry_resp *psStack_48c;\n  int iStack_488;\n  sg_simple_inquiry_resp sir;\n  char ebuff [1024];\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = (uint)fp->devno;\n  uVar6 = *(uint *)&fp->devno;\n  pbVar8 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar10 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((fp->sg_type & 2U) == 0) {\n    if ((fp->sg_type & 0x21U) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0);\n      if (-1 < unaff_s6) {\n        ebuff[0x3ff] = '\0';\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)((sg_simple_inquiry_resp *)ebuff,0,vb);\n  fp->sg_fd = iVar3;\n  if (iVar3 < 0) {\n    psVar7 = (sg_simple_inquiry_resp *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)((sg_simple_inquiry_resp *)ebuff,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)((sg_simple_inquiry_resp *)ebuff);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-fp->sg_fd);\n    iVar3 = -iVar3;\n  }\n  else {\n    psVar7 = &sir;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,psVar7,0,vb);\n    if (iVar3 == 0) {\n      fp->pdt = (uint)sir.peripheral_type;\n      if (vb != 0) {\n        psVar7 = (sg_simple_inquiry_resp *)fp->fname;\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);\n      }\n      iVar3 = fp->sg_fd;\n    }\n    else {\n      psVar7 = (sg_simple_inquiry_resp *)ebuff;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);\n      iVar3 = -1;\n      fp->sg_fd = -1;\n    }\n  }\n  if (pbVar8 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar13 = *(int **)(puVar16 + 0x15240);\n  puVar9 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar13;\n  iVar3 = *(int *)(puVar9 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar11 = *(uint *)(pbVar8 + 0xc);\n  if ((uVar11 & 2) != 0) {\n    iVar4 = *(int *)(pbVar8 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar11 = uVar11 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar11 = uVar11 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  pxStack_4a0 = fp;\n  uStack_49c = uVar10;\n  iStack_498 = vb;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  psStack_48c = (sg_simple_inquiry_resp *)ebuff;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar8 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar9 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar9 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar8 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar9 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar8 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar8 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar8 = pbVar8 + 1;\n      } while (pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar9 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar9,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar9);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar13) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = scsi_read_capacity;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar14 = *(uint **)(pcVar17 + 0x147ec);\n  iVar15 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar14;\n  iVar12 = *(int *)(iVar15 + -0x6a20);\n  if (iVar12 != 0) {\n    iVar12 = iVar12 + -1;\n  }\n  puStack_650 = puVar9;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar11;\n  psStack_644 = psVar7;\n  piStack_640 = piVar13;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar8;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar12)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12);\n      if (iVar4 != 0) {\n        piVar13 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar13 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar13 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar15 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar13 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar13 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar14) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar13;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}" primitive_type (function_declarator "open_sg(xcopy_fp_t *fp,int vb)" identifier (parameter_list "(xcopy_fp_t *fp,int vb)" ( (parameter_declaration "xcopy_fp_t *fp" type_identifier (pointer_declarator "*fp" * identifier)) , (parameter_declaration "int vb" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  sg_simple_inquiry_resp *psVar7;\n  byte *pbVar8;\n  undefined1 *puVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint *puVar14;\n  int iVar15;\n  int unaff_s6;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  sg_simple_inquiry_resp *psStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  xcopy_fp_t *pxStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  sg_simple_inquiry_resp *psStack_48c;\n  int iStack_488;\n  sg_simple_inquiry_resp sir;\n  char ebuff [1024];\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = (uint)fp->devno;\n  uVar6 = *(uint *)&fp->devno;\n  pbVar8 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar10 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((fp->sg_type & 2U) == 0) {\n    if ((fp->sg_type & 0x21U) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0);\n      if (-1 < unaff_s6) {\n        ebuff[0x3ff] = '\0';\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)((sg_simple_inquiry_resp *)ebuff,0,vb);\n  fp->sg_fd = iVar3;\n  if (iVar3 < 0) {\n    psVar7 = (sg_simple_inquiry_resp *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)((sg_simple_inquiry_resp *)ebuff,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)((sg_simple_inquiry_resp *)ebuff);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-fp->sg_fd);\n    iVar3 = -iVar3;\n  }\n  else {\n    psVar7 = &sir;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,psVar7,0,vb);\n    if (iVar3 == 0) {\n      fp->pdt = (uint)sir.peripheral_type;\n      if (vb != 0) {\n        psVar7 = (sg_simple_inquiry_resp *)fp->fname;\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);\n      }\n      iVar3 = fp->sg_fd;\n    }\n    else {\n      psVar7 = (sg_simple_inquiry_resp *)ebuff;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);\n      iVar3 = -1;\n      fp->sg_fd = -1;\n    }\n  }\n  if (pbVar8 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar13 = *(int **)(puVar16 + 0x15240);\n  puVar9 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar13;\n  iVar3 = *(int *)(puVar9 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar11 = *(uint *)(pbVar8 + 0xc);\n  if ((uVar11 & 2) != 0) {\n    iVar4 = *(int *)(pbVar8 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar11 = uVar11 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar11 = uVar11 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  pxStack_4a0 = fp;\n  uStack_49c = uVar10;\n  iStack_498 = vb;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  psStack_48c = (sg_simple_inquiry_resp *)ebuff;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar8 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar9 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar9 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar8 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar9 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar8 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar8 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar8 = pbVar8 + 1;\n      } while (pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar9 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar9,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar9);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar13) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = scsi_read_capacity;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar14 = *(uint **)(pcVar17 + 0x147ec);\n  iVar15 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar14;\n  iVar12 = *(int *)(iVar15 + -0x6a20);\n  if (iVar12 != 0) {\n    iVar12 = iVar12 + -1;\n  }\n  puStack_650 = puVar9;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar11;\n  psStack_644 = psVar7;\n  piStack_640 = piVar13;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar8;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar12)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12);\n      if (iVar4 != 0) {\n        piVar13 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar13 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar13 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar15 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar13 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar13 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar14) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar13;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "sg_simple_inquiry_resp *psVar7;" type_identifier (pointer_declarator "*psVar7" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "uint *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int unaff_s6;" primitive_type identifier ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "code *pcVar18;" type_identifier (pointer_declarator "*pcVar18" * identifier) ;) (declaration "undefined4 uStack_6c4;" type_identifier identifier ;) (declaration "uint uStack_6c0;" type_identifier identifier ;) (declaration "int *piStack_6bc;" primitive_type (pointer_declarator "*piStack_6bc" * identifier) ;) (declaration "int aiStack_6a4 [20];" primitive_type (array_declarator "aiStack_6a4 [20]" identifier [ number_literal ]) ;) (declaration "uint uStack_654;" type_identifier identifier ;) (declaration "undefined1 *puStack_650;" type_identifier (pointer_declarator "*puStack_650" * identifier) ;) (declaration "uint *puStack_64c;" type_identifier (pointer_declarator "*puStack_64c" * identifier) ;) (declaration "uint uStack_648;" type_identifier identifier ;) (declaration "sg_simple_inquiry_resp *psStack_644;" type_identifier (pointer_declarator "*psStack_644" * identifier) ;) (declaration "int *piStack_640;" primitive_type (pointer_declarator "*piStack_640" * identifier) ;) (declaration "int iStack_63c;" primitive_type identifier ;) (declaration "byte *pbStack_638;" type_identifier (pointer_declarator "*pbStack_638" * identifier) ;) (declaration "code *pcStack_634;" type_identifier (pointer_declarator "*pcStack_634" * identifier) ;) (declaration "undefined4 uStack_620;" type_identifier identifier ;) (declaration "undefined4 uStack_61c;" type_identifier identifier ;) (declaration "int iStack_618;" primitive_type identifier ;) (declaration "undefined *puStack_610;" type_identifier (pointer_declarator "*puStack_610" * identifier) ;) (declaration "int iStack_608;" primitive_type identifier ;) (declaration "uint uStack_604;" type_identifier identifier ;) (declaration "uint uStack_600;" type_identifier identifier ;) (declaration "undefined4 uStack_5fc;" type_identifier identifier ;) (declaration "undefined1 auStack_5f4 [80];" type_identifier (array_declarator "auStack_5f4 [80]" identifier [ number_literal ]) ;) (declaration "uint uStack_5a4;" type_identifier identifier ;) (declaration "byte bStack_5a0;" type_identifier identifier ;) (declaration "ushort uStack_59c;" type_identifier identifier ;) (declaration "undefined2 uStack_59a;" type_identifier identifier ;) (declaration "undefined4 uStack_598;" type_identifier identifier ;) (declaration "int iStack_594;" primitive_type identifier ;) (declaration "int iStack_590;" primitive_type identifier ;) (declaration "int iStack_58c;" primitive_type identifier ;) (declaration "undefined4 uStack_588;" type_identifier identifier ;) (declaration "undefined1 uStack_580;" type_identifier identifier ;) (declaration "byte bStack_57f;" type_identifier identifier ;) (declaration "byte bStack_57e;" type_identifier identifier ;) (declaration "byte bStack_57d;" type_identifier identifier ;) (declaration "byte bStack_579;" type_identifier identifier ;) (declaration "byte abStack_578 [212];" type_identifier (array_declarator "abStack_578 [212]" identifier [ number_literal ]) ;) (declaration "int iStack_4a4;" primitive_type identifier ;) (declaration "xcopy_fp_t *pxStack_4a0;" type_identifier (pointer_declarator "*pxStack_4a0" * identifier) ;) (declaration "uint uStack_49c;" type_identifier identifier ;) (declaration "int iStack_498;" primitive_type identifier ;) (declaration "undefined *puStack_494;" type_identifier (pointer_declarator "*puStack_494" * identifier) ;) (declaration "uint uStack_490;" type_identifier identifier ;) (declaration "sg_simple_inquiry_resp *psStack_48c;" type_identifier (pointer_declarator "*psStack_48c" * identifier) ;) (declaration "int iStack_488;" primitive_type identifier ;) (declaration "sg_simple_inquiry_resp sir;" type_identifier identifier ;) (declaration "char ebuff [1024];" primitive_type (array_declarator "ebuff [1024]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00029128;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00029128" identifier = identifier) ;) (expression_statement "uVar2 = (uint)fp->devno;" (assignment_expression "uVar2 = (uint)fp->devno" identifier = (cast_expression "(uint)fp->devno" ( (type_descriptor "uint" type_identifier) ) (field_expression "fp->devno" identifier -> field_identifier))) ;) (expression_statement "uVar6 = *(uint *)&fp->devno;" (assignment_expression "uVar6 = *(uint *)&fp->devno" identifier = (pointer_expression "*(uint *)&fp->devno" * (cast_expression "(uint *)&fp->devno" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&fp->devno" & (field_expression "fp->devno" identifier -> field_identifier))))) ;) (expression_statement "pbVar8 = *(byte **)PTR___stack_chk_guard_00029128;" (assignment_expression "pbVar8 = *(byte **)PTR___stack_chk_guard_00029128" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_00029128" * (cast_expression "(byte **)PTR___stack_chk_guard_00029128" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar10 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;" (assignment_expression "uVar10 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff" identifier = (binary_expression "uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff" (binary_expression "uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00" (binary_expression "uVar6 << 0x14" identifier << number_literal) | (binary_expression "uVar2 >> 0xc & 0xffffff00" (binary_expression "uVar2 >> 0xc" identifier >> number_literal) & number_literal)) | (binary_expression "uVar2 & 0xff" identifier & number_literal))) ;) (if_statement "if ((fp->sg_type & 2U) == 0) {\n    if ((fp->sg_type & 0x21U) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0);\n      if (-1 < unaff_s6) {\n        ebuff[0x3ff] = '\0';\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n  }" if (parenthesized_expression "((fp->sg_type & 2U) == 0)" ( (binary_expression "(fp->sg_type & 2U) == 0" (parenthesized_expression "(fp->sg_type & 2U)" ( (binary_expression "fp->sg_type & 2U" (field_expression "fp->sg_type" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((fp->sg_type & 0x21U) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0);\n      if (-1 < unaff_s6) {\n        ebuff[0x3ff] = '\0';\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n    }\n  }" { (if_statement "if ((fp->sg_type & 0x21U) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0);\n      if (-1 < unaff_s6) {\n        ebuff[0x3ff] = '\0';\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n    }" if (parenthesized_expression "((fp->sg_type & 0x21U) == 0)" ( (binary_expression "(fp->sg_type & 0x21U) == 0" (parenthesized_expression "(fp->sg_type & 0x21U)" ( (binary_expression "fp->sg_type & 0x21U" (field_expression "fp->sg_type" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400);\n    }" { (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ebuff,0x400)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0);\n      if (-1 < unaff_s6) {\n        ebuff[0x3ff] = '\0';\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n    }" else (compound_statement "{\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0);\n      if (-1 < unaff_s6) {\n        ebuff[0x3ff] = '\0';\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n    }" { (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ebuff,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0);" (assignment_expression "unaff_s6 = (*(code *)PTR_open64_000290d4)(ebuff,0)" identifier = (call_expression "(*(code *)PTR_open64_000290d4)(ebuff,0)" (parenthesized_expression "(*(code *)PTR_open64_000290d4)" ( (pointer_expression "*(code *)PTR_open64_000290d4" * (cast_expression "(code *)PTR_open64_000290d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ebuff,0)" ( identifier , number_literal )))) ;) (if_statement "if (-1 < unaff_s6) {\n        ebuff[0x3ff] = '\0';\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }" if (parenthesized_expression "(-1 < unaff_s6)" ( (binary_expression "-1 < unaff_s6" number_literal < identifier) )) (compound_statement "{\n        ebuff[0x3ff] = '\0';\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }" { (expression_statement "ebuff[0x3ff] = '\0';" (assignment_expression "ebuff[0x3ff] = '\0'" (subscript_expression "ebuff[0x3ff]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff);" (assignment_expression "iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff)" identifier = (call_expression "(*(code *)PTR_read_00029134)(unaff_s6,ebuff,0x3ff)" (parenthesized_expression "(*(code *)PTR_read_00029134)" ( (pointer_expression "*(code *)PTR_read_00029134" * (cast_expression "(code *)PTR_read_00029134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s6,ebuff,0x3ff)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }" { (expression_statement "(*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);" (call_expression "(*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4)" (parenthesized_expression "(*(code *)PTR_perror_00029108)" ( (pointer_expression "*(code *)PTR_perror_00029108" * (cast_expression "(code *)PTR_perror_00029108" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00029054 + 0x62b4)" ( (binary_expression "PTR_00029054 + 0x62b4" identifier + number_literal) ))) ;) }) (else_clause "else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }" else (compound_statement "{\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);\n          uVar10 = uVar10 - iVar3;\n        }" { (expression_statement "iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10);" (assignment_expression "iVar3 = (*(code *)PTR_strtoul_000290e8)(ebuff,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_000290e8)(ebuff,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_000290e8)" ( (pointer_expression "*(code *)PTR_strtoul_000290e8" * (cast_expression "(code *)PTR_strtoul_000290e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ebuff,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar10 = uVar10 - iVar3;" (assignment_expression "uVar10 = uVar10 - iVar3" identifier = (binary_expression "uVar10 - iVar3" identifier - identifier)) ;) }))) (expression_statement "(*(code *)PTR_close_00029078)(unaff_s6);" (call_expression "(*(code *)PTR_close_00029078)(unaff_s6)" (parenthesized_expression "(*(code *)PTR_close_00029078)" ( (pointer_expression "*(code *)PTR_close_00029078" * (cast_expression "(code *)PTR_close_00029078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s6)" ( identifier ))) ;) })) (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ebuff,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) }))) }) (else_clause "else {\n    (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n  }" else (compound_statement "{\n    (*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);\n  }" { (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ebuff,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) }))) (expression_statement "iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)((sg_simple_inquiry_resp *)ebuff,0,vb);" (assignment_expression "iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)((sg_simple_inquiry_resp *)ebuff,0,vb)" identifier = (call_expression "(*(code *)PTR_sg_cmds_open_device_00029084)((sg_simple_inquiry_resp *)ebuff,0,vb)" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00029084)" ( (pointer_expression "*(code *)PTR_sg_cmds_open_device_00029084" * (cast_expression "(code *)PTR_sg_cmds_open_device_00029084" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((sg_simple_inquiry_resp *)ebuff,0,vb)" ( (cast_expression "(sg_simple_inquiry_resp *)ebuff" ( (type_descriptor "sg_simple_inquiry_resp *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier )))) ;) (expression_statement "fp->sg_fd = iVar3;" (assignment_expression "fp->sg_fd = iVar3" (field_expression "fp->sg_fd" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar3 < 0) {\n    psVar7 = (sg_simple_inquiry_resp *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)((sg_simple_inquiry_resp *)ebuff,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)((sg_simple_inquiry_resp *)ebuff);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-fp->sg_fd);\n    iVar3 = -iVar3;\n  }\n  else {\n    psVar7 = &sir;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,psVar7,0,vb);\n    if (iVar3 == 0) {\n      fp->pdt = (uint)sir.peripheral_type;\n      if (vb != 0) {\n        psVar7 = (sg_simple_inquiry_resp *)fp->fname;\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);\n      }\n      iVar3 = fp->sg_fd;\n    }\n    else {\n      psVar7 = (sg_simple_inquiry_resp *)ebuff;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);\n      iVar3 = -1;\n      fp->sg_fd = -1;\n    }\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    psVar7 = (sg_simple_inquiry_resp *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)((sg_simple_inquiry_resp *)ebuff,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)((sg_simple_inquiry_resp *)ebuff);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-fp->sg_fd);\n    iVar3 = -iVar3;\n  }" { (expression_statement "psVar7 = (sg_simple_inquiry_resp *)0x400;" (assignment_expression "psVar7 = (sg_simple_inquiry_resp *)0x400" identifier = (cast_expression "(sg_simple_inquiry_resp *)0x400" ( (type_descriptor "sg_simple_inquiry_resp *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)((sg_simple_inquiry_resp *)ebuff,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)((sg_simple_inquiry_resp *)ebuff,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((sg_simple_inquiry_resp *)ebuff,0x400,1,0x400)" ( (cast_expression "(sg_simple_inquiry_resp *)ebuff" ( (type_descriptor "sg_simple_inquiry_resp *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_perror_00029108)((sg_simple_inquiry_resp *)ebuff);" (call_expression "(*(code *)PTR_perror_00029108)((sg_simple_inquiry_resp *)ebuff)" (parenthesized_expression "(*(code *)PTR_perror_00029108)" ( (pointer_expression "*(code *)PTR_perror_00029108" * (cast_expression "(code *)PTR_perror_00029108" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((sg_simple_inquiry_resp *)ebuff)" ( (cast_expression "(sg_simple_inquiry_resp *)ebuff" ( (type_descriptor "sg_simple_inquiry_resp *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-fp->sg_fd);" (assignment_expression "iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-fp->sg_fd)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_000290b8)(-fp->sg_fd)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000290b8)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_000290b8" * (cast_expression "(code *)PTR_sg_convert_errno_000290b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-fp->sg_fd)" ( (unary_expression "-fp->sg_fd" - (field_expression "fp->sg_fd" identifier -> field_identifier)) )))) ;) (expression_statement "iVar3 = -iVar3;" (assignment_expression "iVar3 = -iVar3" identifier = (unary_expression "-iVar3" - identifier)) ;) }) (else_clause "else {\n    psVar7 = &sir;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,psVar7,0,vb);\n    if (iVar3 == 0) {\n      fp->pdt = (uint)sir.peripheral_type;\n      if (vb != 0) {\n        psVar7 = (sg_simple_inquiry_resp *)fp->fname;\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);\n      }\n      iVar3 = fp->sg_fd;\n    }\n    else {\n      psVar7 = (sg_simple_inquiry_resp *)ebuff;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);\n      iVar3 = -1;\n      fp->sg_fd = -1;\n    }\n  }" else (compound_statement "{\n    psVar7 = &sir;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,psVar7,0,vb);\n    if (iVar3 == 0) {\n      fp->pdt = (uint)sir.peripheral_type;\n      if (vb != 0) {\n        psVar7 = (sg_simple_inquiry_resp *)fp->fname;\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);\n      }\n      iVar3 = fp->sg_fd;\n    }\n    else {\n      psVar7 = (sg_simple_inquiry_resp *)ebuff;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);\n      iVar3 = -1;\n      fp->sg_fd = -1;\n    }\n  }" { (expression_statement "psVar7 = &sir;" (assignment_expression "psVar7 = &sir" identifier = (pointer_expression "&sir" & identifier)) ;) (expression_statement "iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,psVar7,0,vb);" (assignment_expression "iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,psVar7,0,vb)" identifier = (call_expression "(*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,psVar7,0,vb)" (parenthesized_expression "(*(code *)PTR_sg_simple_inquiry_00029150)" ( (pointer_expression "*(code *)PTR_sg_simple_inquiry_00029150" * (cast_expression "(code *)PTR_sg_simple_inquiry_00029150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,psVar7,0,vb)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      fp->pdt = (uint)sir.peripheral_type;\n      if (vb != 0) {\n        psVar7 = (sg_simple_inquiry_resp *)fp->fname;\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);\n      }\n      iVar3 = fp->sg_fd;\n    }\n    else {\n      psVar7 = (sg_simple_inquiry_resp *)ebuff;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);\n      iVar3 = -1;\n      fp->sg_fd = -1;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      fp->pdt = (uint)sir.peripheral_type;\n      if (vb != 0) {\n        psVar7 = (sg_simple_inquiry_resp *)fp->fname;\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);\n      }\n      iVar3 = fp->sg_fd;\n    }" { (expression_statement "fp->pdt = (uint)sir.peripheral_type;" (assignment_expression "fp->pdt = (uint)sir.peripheral_type" (field_expression "fp->pdt" identifier -> field_identifier) = (cast_expression "(uint)sir.peripheral_type" ( (type_descriptor "uint" type_identifier) ) (field_expression "sir.peripheral_type" identifier . field_identifier))) ;) (if_statement "if (vb != 0) {\n        psVar7 = (sg_simple_inquiry_resp *)fp->fname;\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);\n      }" if (parenthesized_expression "(vb != 0)" ( (binary_expression "vb != 0" identifier != number_literal) )) (compound_statement "{\n        psVar7 = (sg_simple_inquiry_resp *)fp->fname;\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);\n      }" { (expression_statement "psVar7 = (sg_simple_inquiry_resp *)fp->fname;" (assignment_expression "psVar7 = (sg_simple_inquiry_resp *)fp->fname" identifier = (cast_expression "(sg_simple_inquiry_resp *)fp->fname" ( (type_descriptor "sg_simple_inquiry_resp *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "fp->fname" identifier -> field_identifier))) ;) (expression_statement "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product);" (call_expression "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product)" (parenthesized_expression "(*(code *)PTR_pr2serr_00029110)" ( (pointer_expression "*(code *)PTR_pr2serr_00029110" * (cast_expression "(code *)PTR_pr2serr_00029110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00029054 + 0x6330,psVar7,sir.vendor,sir.product)" ( (binary_expression "PTR_00029054 + 0x6330" identifier + number_literal) , identifier , (field_expression "sir.vendor" identifier . field_identifier) , (field_expression "sir.product" identifier . field_identifier) ))) ;) })) (expression_statement "iVar3 = fp->sg_fd;" (assignment_expression "iVar3 = fp->sg_fd" identifier = (field_expression "fp->sg_fd" identifier -> field_identifier)) ;) }) (else_clause "else {\n      psVar7 = (sg_simple_inquiry_resp *)ebuff;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);\n      iVar3 = -1;\n      fp->sg_fd = -1;\n    }" else (compound_statement "{\n      psVar7 = (sg_simple_inquiry_resp *)ebuff;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);\n      iVar3 = -1;\n      fp->sg_fd = -1;\n    }" { (expression_statement "psVar7 = (sg_simple_inquiry_resp *)ebuff;" (assignment_expression "psVar7 = (sg_simple_inquiry_resp *)ebuff" identifier = (cast_expression "(sg_simple_inquiry_resp *)ebuff" ( (type_descriptor "sg_simple_inquiry_resp *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);" (call_expression "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318)" (parenthesized_expression "(*(code *)PTR_pr2serr_00029110)" ( (pointer_expression "*(code *)PTR_pr2serr_00029110" * (cast_expression "(code *)PTR_pr2serr_00029110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00029054 + 0x6318)" ( (binary_expression "PTR_00029054 + 0x6318" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);" (call_expression "(*(code *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_00029120)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_00029120" * (cast_expression "(code *)PTR_sg_cmds_close_device_00029120" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fp->sg_fd)" ( (field_expression "fp->sg_fd" identifier -> field_identifier) ))) ;) (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" identifier = number_literal) ;) (expression_statement "fp->sg_fd = -1;" (assignment_expression "fp->sg_fd = -1" (field_expression "fp->sg_fd" identifier -> field_identifier) = number_literal) ;) }))) }))) (if_statement "if (pbVar8 == *(byte **)puVar1) {\n    return iVar3;\n  }" if (parenthesized_expression "(pbVar8 == *(byte **)puVar1)" ( (binary_expression "pbVar8 == *(byte **)puVar1" identifier == (pointer_expression "*(byte **)puVar1" * (cast_expression "(byte **)puVar1" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "puVar16 = PTR___stack_chk_fail_00029114;" (assignment_expression "puVar16 = PTR___stack_chk_fail_00029114" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00029114)();" (call_expression "(*(code *)PTR___stack_chk_fail_00029114)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00029114)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00029114" * (cast_expression "(code *)PTR___stack_chk_fail_00029114" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_610 = puVar16 + 0x1d138;" (assignment_expression "puStack_610 = puVar16 + 0x1d138" identifier = (binary_expression "puVar16 + 0x1d138" identifier + number_literal)) ;) (expression_statement "piVar13 = *(int **)(puVar16 + 0x15240);" (assignment_expression "piVar13 = *(int **)(puVar16 + 0x15240)" identifier = (pointer_expression "*(int **)(puVar16 + 0x15240)" * (cast_expression "(int **)(puVar16 + 0x15240)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x15240)" ( (binary_expression "puVar16 + 0x15240" identifier + number_literal) ))))) ;) (expression_statement "puVar9 = *(undefined1 **)(puVar16 + 0x15160);" (assignment_expression "puVar9 = *(undefined1 **)(puVar16 + 0x15160)" identifier = (pointer_expression "*(undefined1 **)(puVar16 + 0x15160)" * (cast_expression "(undefined1 **)(puVar16 + 0x15160)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x15160)" ( (binary_expression "puVar16 + 0x15160" identifier + number_literal) ))))) ;) (expression_statement "puStack_494 = puVar1;" (assignment_expression "puStack_494 = puVar1" identifier = identifier) ;) (expression_statement "iStack_4a4 = *piVar13;" (assignment_expression "iStack_4a4 = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) (expression_statement "iVar3 = *(int *)(puVar9 + -0x6a20);" (assignment_expression "iVar3 = *(int *)(puVar9 + -0x6a20)" identifier = (pointer_expression "*(int *)(puVar9 + -0x6a20)" * (cast_expression "(int *)(puVar9 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x6a20)" ( (binary_expression "puVar9 + -0x6a20" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar3 = iVar3 + -1;\n  }" { (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) })) (expression_statement "uVar11 = *(uint *)(pbVar8 + 0xc);" (assignment_expression "uVar11 = *(uint *)(pbVar8 + 0xc)" identifier = (pointer_expression "*(uint *)(pbVar8 + 0xc)" * (cast_expression "(uint *)(pbVar8 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0xc)" ( (binary_expression "pbVar8 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((uVar11 & 2) != 0) {\n    iVar4 = *(int *)(pbVar8 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar11 = uVar11 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar11 = uVar11 | 0x10;\n    }\n  }" if (parenthesized_expression "((uVar11 & 2) != 0)" ( (binary_expression "(uVar11 & 2) != 0" (parenthesized_expression "(uVar11 & 2)" ( (binary_expression "uVar11 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(pbVar8 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar11 = uVar11 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar11 = uVar11 | 0x10;\n    }\n  }" { (expression_statement "iVar4 = *(int *)(pbVar8 + 0x14);" (assignment_expression "iVar4 = *(int *)(pbVar8 + 0x14)" identifier = (pointer_expression "*(int *)(pbVar8 + 0x14)" * (cast_expression "(int *)(pbVar8 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x14)" ( (binary_expression "pbVar8 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar11 = uVar11 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar11 = uVar11 | 0x10;\n    }" if (parenthesized_expression "((iVar4 == 0) || (iVar4 == 0xe))" ( (binary_expression "(iVar4 == 0) || (iVar4 == 0xe)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 == 0xe)" ( (binary_expression "iVar4 == 0xe" identifier == number_literal) ))) )) (compound_statement "{\n      uVar11 = uVar11 | 0x20;\n    }" { (expression_statement "uVar11 = uVar11 | 0x20;" (assignment_expression "uVar11 = uVar11 | 0x20" identifier = (binary_expression "uVar11 | 0x20" identifier | number_literal)) ;) }) (else_clause "else if (iVar4 == 1) {\n      uVar11 = uVar11 | 0x10;\n    }" else (if_statement "if (iVar4 == 1) {\n      uVar11 = uVar11 | 0x10;\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      uVar11 = uVar11 | 0x10;\n    }" { (expression_statement "uVar11 = uVar11 | 0x10;" (assignment_expression "uVar11 = uVar11 | 0x10" identifier = (binary_expression "uVar11 | 0x10" identifier | number_literal)) ;) })))) })) (expression_statement "uStack_61c = 1;" (assignment_expression "uStack_61c = 1" identifier = number_literal) ;) (expression_statement "uStack_620 = 0x100;" (assignment_expression "uStack_620 = 0x100" identifier = number_literal) ;) (expression_statement "iStack_618 = iVar3;" (assignment_expression "iStack_618 = iVar3" identifier = identifier) ;) (expression_statement "pxStack_4a0 = fp;" (assignment_expression "pxStack_4a0 = fp" identifier = identifier) ;) (expression_statement "uStack_49c = uVar10;" (assignment_expression "uStack_49c = uVar10" identifier = identifier) ;) (expression_statement "iStack_498 = vb;" (assignment_expression "iStack_498 = vb" identifier = identifier) ;) (expression_statement "uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;" (assignment_expression "uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14" identifier = (binary_expression "uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14" (binary_expression "uVar6 & 0xfffff000" identifier & number_literal) | (binary_expression "(uVar2 << 0xc) >> 0x14" (parenthesized_expression "(uVar2 << 0xc)" ( (binary_expression "uVar2 << 0xc" identifier << number_literal) )) >> number_literal))) ;) (expression_statement "psStack_48c = (sg_simple_inquiry_resp *)ebuff;" (assignment_expression "psStack_48c = (sg_simple_inquiry_resp *)ebuff" identifier = (cast_expression "(sg_simple_inquiry_resp *)ebuff" ( (type_descriptor "sg_simple_inquiry_resp *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iStack_488 = unaff_s6;" (assignment_expression "iStack_488 = unaff_s6" identifier = identifier) ;) (expression_statement "iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar8 + 0x10),3,0,&uStack_5a4);" (assignment_expression "iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar8 + 0x10),3,0,&uStack_5a4)" identifier = (call_expression "(**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar8 + 0x10),3,0,&uStack_5a4)" (parenthesized_expression "(**(code **)(puVar16 + 0x151c8))" ( (pointer_expression "**(code **)(puVar16 + 0x151c8)" * (pointer_expression "*(code **)(puVar16 + 0x151c8)" * (cast_expression "(code **)(puVar16 + 0x151c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x151c8)" ( (binary_expression "puVar16 + 0x151c8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(pbVar8 + 0x10),3,0,&uStack_5a4)" ( (pointer_expression "*(undefined4 *)(pbVar8 + 0x10)" * (cast_expression "(undefined4 *)(pbVar8 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x10)" ( (binary_expression "pbVar8 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "&uStack_5a4" & identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar9 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar9 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar8 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar9 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar8 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar8 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar8 = pbVar8 + 1;\n      } while (pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar9 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar9,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar9);\n    iVar3 = -iVar4;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar9 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar9 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar8 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar9 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar8 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar8 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar8 = pbVar8 + 1;\n      } while (pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }" { (if_statement "if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }" if (parenthesized_expression "(0x100 < uStack_5a4)" ( (binary_expression "0x100 < uStack_5a4" number_literal < identifier) )) (compound_statement "{\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6380" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier , number_literal ))) ;) })) (if_statement "if (2 < *(int *)(puVar9 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }" if (parenthesized_expression "(2 < *(int *)(puVar9 + -0x6a20))" ( (binary_expression "2 < *(int *)(puVar9 + -0x6a20)" number_literal < (pointer_expression "*(int *)(puVar9 + -0x6a20)" * (cast_expression "(int *)(puVar9 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x6a20)" ( (binary_expression "puVar9 + -0x6a20" identifier + number_literal) ))))) )) (compound_statement "{\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x63c8)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x63c8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);" (call_expression "(**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f94))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f94)" * (pointer_expression "*(code **)(puStack_610 + -0x7f94)" * (cast_expression "(code **)(puStack_610 + -0x7f94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f94)" ( (binary_expression "puStack_610 + -0x7f94" identifier + number_literal) ))))) )) (argument_list "(&uStack_5a4,uStack_5a4,1)" ( (pointer_expression "&uStack_5a4" & identifier) , identifier , number_literal ))) ;) })) (expression_statement "iVar4 = *(int *)(puVar9 + -0x6a20);" (assignment_expression "iVar4 = *(int *)(puVar9 + -0x6a20)" identifier = (pointer_expression "*(int *)(puVar9 + -0x6a20)" * (cast_expression "(int *)(puVar9 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x6a20)" ( (binary_expression "puVar9 + -0x6a20" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" identifier = number_literal) ;) (if_statement "if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }" if (parenthesized_expression "(iStack_594 != 0)" ( (binary_expression "iStack_594 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = iStack_594;\n    }" { (expression_statement "iVar3 = iStack_594;" (assignment_expression "iVar3 = iStack_594" identifier = identifier) ;) })) (expression_statement "*(int *)(pbVar8 + 0x24) = iVar3;" (assignment_expression "*(int *)(pbVar8 + 0x24) = iVar3" (pointer_expression "*(int *)(pbVar8 + 0x24)" * (cast_expression "(int *)(pbVar8 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x24)" ( (binary_expression "pbVar8 + 0x24" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar9 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }" { (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fd8);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fd8)" * (cast_expression "(int *)(puStack_610 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fd8)" ( (binary_expression "puStack_610 + -0x7fd8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }" if (parenthesized_expression "(*(int *)(iVar3 + -0x6fec) < 0)" ( (binary_expression "*(int *)(iVar3 + -0x6fec) < 0" (pointer_expression "*(int *)(iVar3 + -0x6fec)" * (cast_expression "(int *)(iVar3 + -0x6fec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }" { (labeled_statement "LAB_00014094:\n        uVar5 = 2;" statement_identifier : (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" identifier = number_literal) ;)) (if_statement "if (iStack_58c != 0) {\n          uVar5 = 0;\n        }" if (parenthesized_expression "(iStack_58c != 0)" ( (binary_expression "iStack_58c != 0" identifier != number_literal) )) (compound_statement "{\n          uVar5 = 0;\n        }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)(iVar3 + -0x6fec) = uVar5;" (assignment_expression "*(undefined4 *)(iVar3 + -0x6fec) = uVar5" (pointer_expression "*(undefined4 *)(iVar3 + -0x6fec)" * (cast_expression "(undefined4 *)(iVar3 + -0x6fec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_0001409c;" goto statement_identifier ;) })) }) (else_clause "else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar9 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" else (compound_statement "{\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar9 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" { (expression_statement "iStack_608 = iStack_590;" (assignment_expression "iStack_608 = iStack_590" identifier = identifier) ;) (expression_statement "uStack_604 = (uint)bStack_5a0;" (assignment_expression "uStack_604 = (uint)bStack_5a0" identifier = (cast_expression "(uint)bStack_5a0" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uStack_600 = (uint)uStack_59c;" (assignment_expression "uStack_600 = (uint)uStack_59c" identifier = (cast_expression "(uint)uStack_59c" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6408" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x63e4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x641c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "uStack_604 & 1" identifier & number_literal) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6448" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6474" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64a0" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64c8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64e8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fd8);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fd8)" * (cast_expression "(int *)(puStack_610 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fd8)" ( (binary_expression "puStack_610 + -0x7fd8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;" if (parenthesized_expression "(*(int *)(iVar3 + -0x6fec) < 0)" ( (binary_expression "*(int *)(iVar3 + -0x6fec) < 0" (pointer_expression "*(int *)(iVar3 + -0x6fec)" * (cast_expression "(int *)(iVar3 + -0x6fec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) < number_literal) )) (goto_statement "goto LAB_00014094;" goto statement_identifier ;)) (labeled_statement "LAB_0001409c:\n      if (*(int *)(puVar9 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" statement_identifier : (if_statement "if (*(int *)(puVar9 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" if (parenthesized_expression "(*(int *)(puVar9 + -0x6a20) != 0)" ( (binary_expression "*(int *)(puVar9 + -0x6a20) != 0" (pointer_expression "*(int *)(puVar9 + -0x6a20)" * (cast_expression "(int *)(puVar9 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x6a20)" ( (binary_expression "puVar9 + -0x6a20" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x650c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier , (pointer_expression "*(undefined4 *)(iVar3 + -0x6fec)" * (cast_expression "(undefined4 *)(iVar3 + -0x6fec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x653c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x656c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (if_statement "if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" if (parenthesized_expression "(bStack_57f < 0x1f)" ( (binary_expression "bStack_57f < 0x1f" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x65bc" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "1 << (bStack_57f & 0x1f)" number_literal << (parenthesized_expression "(bStack_57f & 0x1f)" ( (binary_expression "bStack_57f & 0x1f" identifier & number_literal) ))) ))) ;) }) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" else (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 26000)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 26000" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) (if_statement "if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" if (parenthesized_expression "(bStack_57e < 0x1f)" ( (binary_expression "bStack_57e < 0x1f" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6610" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "1 << (bStack_57e & 0x1f)" number_literal << (parenthesized_expression "(bStack_57e & 0x1f)" ( (binary_expression "bStack_57e & 0x1f" identifier & number_literal) ))) ))) ;) }) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" else (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x65e4)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x65e4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) (if_statement "if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" if (parenthesized_expression "(bStack_57d < 0x1f)" ( (binary_expression "bStack_57d < 0x1f" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6660" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "1 << (bStack_57d & 0x1f)" number_literal << (parenthesized_expression "(bStack_57d & 0x1f)" ( (binary_expression "bStack_57d & 0x1f" identifier & number_literal) ))) ))) ;) }) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" else (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6638)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6638" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6688)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6688" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) }))) (expression_statement "*(int *)(pbVar8 + 0x20) = 1 << (bStack_57f & 0x1f);" (assignment_expression "*(int *)(pbVar8 + 0x20) = 1 << (bStack_57f & 0x1f)" (pointer_expression "*(int *)(pbVar8 + 0x20)" * (cast_expression "(int *)(pbVar8 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x20)" ( (binary_expression "pbVar8 + 0x20" identifier + number_literal) )))) = (binary_expression "1 << (bStack_57f & 0x1f)" number_literal << (parenthesized_expression "(bStack_57f & 0x1f)" ( (binary_expression "bStack_57f & 0x1f" identifier & number_literal) )))) ;) (if_statement "if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar8 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar8 = pbVar8 + 1;\n      } while (pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" if (parenthesized_expression "(bStack_579 == 0)" ( (binary_expression "bStack_579 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }" { (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fcc);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iStack_594;" (assignment_expression "iVar4 = iStack_594" identifier = identifier) ;) }) (else_clause "else {\n      pbVar8 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar8 = pbVar8 + 1;\n      } while (pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" else (compound_statement "{\n      pbVar8 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar8 = pbVar8 + 1;\n      } while (pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" { (expression_statement "pbVar8 = abStack_578;" (assignment_expression "pbVar8 = abStack_578" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(puStack_610 + -0x7fc8);" (assignment_expression "iVar4 = *(int *)(puStack_610 + -0x7fc8)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fc8)" * (cast_expression "(int *)(puStack_610 + -0x7fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fc8)" ( (binary_expression "puStack_610 + -0x7fc8" identifier + number_literal) ))))) ;) (expression_statement "uStack_604 = *(uint *)(puStack_610 + -0x7fcc);" (assignment_expression "uStack_604 = *(uint *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(uint *)(puStack_610 + -0x7fcc)" * (cast_expression "(uint *)(puStack_610 + -0x7fcc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;" (assignment_expression "iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4" identifier = (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6bc4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);" (assignment_expression "uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(undefined4 *)(puStack_610 + -0x7fcc)" * (cast_expression "(undefined4 *)(puStack_610 + -0x7fcc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;" (assignment_expression "uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78" identifier = (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6b78" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n        if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar8 = pbVar8 + 1;\n      } while (pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);" do (compound_statement "{\n        if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar8 = pbVar8 + 1;\n      }" { (if_statement "if (*pbVar8 < 0xff) {\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }" if (parenthesized_expression "(*pbVar8 < 0xff)" ( (binary_expression "*pbVar8 < 0xff" (pointer_expression "*pbVar8" * identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();\n          return iVar3;\n        }" { comment comment (expression_statement "iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))();" (assignment_expression "iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))()" identifier = (call_expression "(*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))()" (parenthesized_expression "(*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)))" ( (pointer_expression "*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4))" * (cast_expression "(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4))" ( (binary_expression "puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)" identifier + (pointer_expression "*(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)" * (cast_expression "(int *)(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -0x7b40 + (uint)*pbVar8 * 4)" ( (binary_expression "iVar4 + -0x7b40 + (uint)*pbVar8 * 4" (binary_expression "iVar4 + -0x7b40" identifier + number_literal) + (binary_expression "(uint)*pbVar8 * 4" (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(iStack_608);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(iStack_608)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(iStack_608)" ( identifier ))) ;) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579)" ( (binary_expression "pbVar8 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579" (binary_expression "pbVar8 + (-0x2c - (int)&uStack_5a4)" identifier + (parenthesized_expression "(-0x2c - (int)&uStack_5a4)" ( (binary_expression "-0x2c - (int)&uStack_5a4" number_literal - (cast_expression "(int)&uStack_5a4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&uStack_5a4" & identifier))) ))) < (cast_expression "(byte *)(uint)bStack_579" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)bStack_579" ( (type_descriptor "uint" type_identifier) ) identifier))) )) ;) (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fcc);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar4 + -0x7b40;" (assignment_expression "iVar4 = iVar4 + -0x7b40" identifier = (binary_expression "iVar4 + -0x7b40" identifier + number_literal)) ;) }))) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(iVar3 + 0x66ac)" ( (binary_expression "iVar3 + 0x66ac" identifier + number_literal) ))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    puVar9 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar9,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar9);\n    iVar3 = -iVar4;\n  }" else (compound_statement "{\n    puVar9 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar9,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar9);\n    iVar3 = -iVar4;\n  }" { (expression_statement "puVar9 = auStack_5f4;" (assignment_expression "puVar9 = auStack_5f4" identifier = identifier) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar9,iVar3);" (call_expression "(**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar9,iVar3)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f84))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f84)" * (pointer_expression "*(code **)(puStack_610 + -0x7f84)" * (cast_expression "(code **)(puStack_610 + -0x7f84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f84)" ( (binary_expression "puStack_610 + -0x7f84" identifier + number_literal) ))))) )) (argument_list "(iVar4,0x50,puVar9,iVar3)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar9);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar9)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar9)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6360" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "iVar3 = -iVar4;" (assignment_expression "iVar3 = -iVar4" identifier = (unary_expression "-iVar4" - identifier)) ;) }))) (if_statement "if (iStack_4a4 == *piVar13) {\n    return iVar3;\n  }" if (parenthesized_expression "(iStack_4a4 == *piVar13)" ( (binary_expression "iStack_4a4 == *piVar13" identifier == (pointer_expression "*piVar13" * identifier)) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "pcVar17 = *(code **)(puStack_610 + -0x7f0c);" (assignment_expression "pcVar17 = *(code **)(puStack_610 + -0x7f0c)" identifier = (pointer_expression "*(code **)(puStack_610 + -0x7f0c)" * (cast_expression "(code **)(puStack_610 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f0c)" ( (binary_expression "puStack_610 + -0x7f0c" identifier + number_literal) ))))) ;) (expression_statement "pcVar18 = scsi_read_capacity;" (assignment_expression "pcVar18 = scsi_read_capacity" identifier = identifier) ;) (expression_statement "iVar3 = iStack_4a4;" (assignment_expression "iVar3 = iStack_4a4" identifier = identifier) ;) (expression_statement "(*pcVar17)();" (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "puVar14 = *(uint **)(pcVar17 + 0x147ec);" (assignment_expression "puVar14 = *(uint **)(pcVar17 + 0x147ec)" identifier = (pointer_expression "*(uint **)(pcVar17 + 0x147ec)" * (cast_expression "(uint **)(pcVar17 + 0x147ec)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147ec)" ( (binary_expression "pcVar17 + 0x147ec" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = *(int *)(pcVar17 + 0x1470c);" (assignment_expression "iVar15 = *(int *)(pcVar17 + 0x1470c)" identifier = (pointer_expression "*(int *)(pcVar17 + 0x1470c)" * (cast_expression "(int *)(pcVar17 + 0x1470c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x1470c)" ( (binary_expression "pcVar17 + 0x1470c" identifier + number_literal) ))))) ;) (expression_statement "uStack_654 = *puVar14;" (assignment_expression "uStack_654 = *puVar14" identifier = (pointer_expression "*puVar14" * identifier)) ;) (expression_statement "iVar12 = *(int *)(iVar15 + -0x6a20);" (assignment_expression "iVar12 = *(int *)(iVar15 + -0x6a20)" identifier = (pointer_expression "*(int *)(iVar15 + -0x6a20)" * (cast_expression "(int *)(iVar15 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + -0x6a20)" ( (binary_expression "iVar15 + -0x6a20" identifier + number_literal) ))))) ;) (if_statement "if (iVar12 != 0) {\n    iVar12 = iVar12 + -1;\n  }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar12 = iVar12 + -1;\n  }" { (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) })) (expression_statement "puStack_650 = puVar9;" (assignment_expression "puStack_650 = puVar9" identifier = identifier) ;) (expression_statement "puStack_64c = &uStack_5a4;" (assignment_expression "puStack_64c = &uStack_5a4" identifier = (pointer_expression "&uStack_5a4" & identifier)) ;) (expression_statement "uStack_648 = uVar11;" (assignment_expression "uStack_648 = uVar11" identifier = identifier) ;) (expression_statement "psStack_644 = psVar7;" (assignment_expression "psStack_644 = psVar7" identifier = identifier) ;) (expression_statement "piStack_640 = piVar13;" (assignment_expression "piStack_640 = piVar13" identifier = identifier) ;) (expression_statement "iStack_63c = iVar4;" (assignment_expression "iStack_63c = iVar4" identifier = identifier) ;) (expression_statement "pbStack_638 = pbVar8;" (assignment_expression "pbStack_638 = pbVar8" identifier = identifier) ;) (expression_statement "pcStack_634 = pcVar18;" (assignment_expression "pcStack_634 = pcVar18" identifier = identifier) ;) (expression_statement "iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar12)\n  ;" (assignment_expression "iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar12)" identifier = (call_expression "(**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar12)" (parenthesized_expression "(**(code **)(pcVar17 + 0x1480c))" ( (pointer_expression "**(code **)(pcVar17 + 0x1480c)" * (pointer_expression "*(code **)(pcVar17 + 0x1480c)" * (cast_expression "(code **)(pcVar17 + 0x1480c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x1480c)" ( (binary_expression "pcVar17 + 0x1480c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar12)" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "&uStack_6c4" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12);\n      if (iVar4 != 0) {\n        piVar13 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar13 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar13 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar15 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar13 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar13 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12);\n      if (iVar4 != 0) {\n        piVar13 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar13 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar13 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar15 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar13 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }" { (if_statement "if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12);\n      if (iVar4 != 0) {\n        piVar13 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar13 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar13 = (int *)(uint)uStack_6c4._2_1_;\n    }" if (parenthesized_expression "((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff)" ( (binary_expression "(uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff" (parenthesized_expression "(uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4)" ( (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4" (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_" (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_" (field_expression "uStack_6c4._0_1_" identifier . field_identifier) & (field_expression "uStack_6c4._1_1_" identifier . field_identifier)) & (field_expression "uStack_6c4._2_1_" identifier . field_identifier)) & (cast_expression "(byte)uStack_6c4" ( (type_descriptor "byte" type_identifier) ) identifier)) )) == number_literal) )) (compound_statement "{\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12);\n      if (iVar4 != 0) {\n        piVar13 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar13 = piStack_6bc;\n    }" { (expression_statement "iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12);" (assignment_expression "iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12)" identifier = (call_expression "(**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14808))" ( (pointer_expression "**(code **)(pcVar17 + 0x14808)" * (pointer_expression "*(code **)(pcVar17 + 0x14808)" * (cast_expression "(code **)(pcVar17 + 0x14808)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x14808)" ( (binary_expression "pcVar17 + 0x14808" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar12)" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , number_literal , (pointer_expression "&uStack_6c4" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        piVar13 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar13 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }" { (expression_statement "piVar13 = aiStack_6a4;" (assignment_expression "piVar13 = aiStack_6a4" identifier = identifier) ;) (expression_statement "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);" (call_expression "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14760))" ( (pointer_expression "**(code **)(pcVar17 + 0x14760)" * (pointer_expression "*(code **)(pcVar17 + 0x14760)" * (cast_expression "(code **)(pcVar17 + 0x14760)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x14760)" ( (binary_expression "pcVar17 + 0x14760" identifier + number_literal) ))))) )) (argument_list "(iVar4,0x50,piVar13,iVar12)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);" (call_expression "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04)" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d4)" * (pointer_expression "*(code **)(pcVar17 + 0x147d4)" * (cast_expression "(code **)(pcVar17 + 0x147d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d4)" ( (binary_expression "pcVar17 + 0x147d4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6c04)" ( (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6c04" (pointer_expression "*(int *)(pcVar17 + 0x14718)" * (cast_expression "(int *)(pcVar17 + 0x14718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x14718)" ( (binary_expression "pcVar17 + 0x14718" identifier + number_literal) )))) + number_literal) ))) ;) (goto_statement "goto LAB_00014a1c;" goto statement_identifier ;) })) (expression_statement "*(int **)(iVar3 + 8) = piStack_6bc;" (assignment_expression "*(int **)(iVar3 + 8) = piStack_6bc" (pointer_expression "*(int **)(iVar3 + 8)" * (cast_expression "(int **)(iVar3 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) = (binary_expression "uStack_6c0 + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;" (assignment_expression "*(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4" (pointer_expression "*(uint *)(iVar3 + 0x28)" * (cast_expression "(uint *)(iVar3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) = (binary_expression "(uStack_6c0 + 1 < uStack_6c0) + uStack_6c4" (parenthesized_expression "(uStack_6c0 + 1 < uStack_6c0)" ( (binary_expression "uStack_6c0 + 1 < uStack_6c0" (binary_expression "uStack_6c0 + 1" identifier + number_literal) < identifier) )) + identifier)) ;) (expression_statement "piVar13 = piStack_6bc;" (assignment_expression "piVar13 = piStack_6bc" identifier = identifier) ;) }) (else_clause "else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar13 = (int *)(uint)uStack_6c4._2_1_;\n    }" else (compound_statement "{\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar13 = (int *)(uint)uStack_6c4._2_1_;\n    }" { (expression_statement "*(uint *)(iVar3 + 8) = uStack_6c0;" (assignment_expression "*(uint *)(iVar3 + 8) = uStack_6c0" (pointer_expression "*(uint *)(iVar3 + 8)" * (cast_expression "(uint *)(iVar3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) = (binary_expression "uStack_6c4 + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);" (assignment_expression "*(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4)" (pointer_expression "*(uint *)(iVar3 + 0x28)" * (cast_expression "(uint *)(iVar3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) = (call_expression "(uint)(uStack_6c4 + 1 < uStack_6c4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uStack_6c4 + 1 < uStack_6c4)" ( (binary_expression "uStack_6c4 + 1 < uStack_6c4" (binary_expression "uStack_6c4 + 1" identifier + number_literal) < identifier) )))) ;) (expression_statement "piVar13 = (int *)(uint)uStack_6c4._2_1_;" (assignment_expression "piVar13 = (int *)(uint)uStack_6c4._2_1_" identifier = (cast_expression "(int *)(uint)uStack_6c4._2_1_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)uStack_6c4._2_1_" ( (type_descriptor "uint" type_identifier) ) (field_expression "uStack_6c4._2_1_" identifier . field_identifier)))) ;) }))) (expression_statement "iVar4 = *(int *)(iVar15 + -0x6a20);" (assignment_expression "iVar4 = *(int *)(iVar15 + -0x6a20)" identifier = (pointer_expression "*(int *)(iVar15 + -0x6a20)" * (cast_expression "(int *)(iVar15 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + -0x6a20)" ( (binary_expression "iVar15 + -0x6a20" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n      piVar13 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar13 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }" { (expression_statement "piVar13 = (int *)(iVar3 + 0x30);" (assignment_expression "piVar13 = (int *)(iVar3 + 0x30)" identifier = (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "(**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));" (call_expression "(**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8))" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d4)" * (pointer_expression "*(code **)(pcVar17 + 0x147d4)" * (cast_expression "(code **)(pcVar17 + 0x147d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d4)" ( (binary_expression "pcVar17 + 0x147d4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar13,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8))" ( (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6c1c" (pointer_expression "*(int *)(pcVar17 + 0x14718)" * (cast_expression "(int *)(pcVar17 + 0x14718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x14718)" ( (binary_expression "pcVar17 + 0x14718" identifier + number_literal) )))) + number_literal) , identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x28)" * (cast_expression "(undefined4 *)(iVar3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x2c)" * (cast_expression "(undefined4 *)(iVar3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x28)" * (cast_expression "(undefined4 *)(iVar3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x2c)" * (cast_expression "(undefined4 *)(iVar3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) ))) ;) })) }) (else_clause "else {\n    piVar13 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" else (compound_statement "{\n    piVar13 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" { (expression_statement "piVar13 = aiStack_6a4;" (assignment_expression "piVar13 = aiStack_6a4" identifier = identifier) ;) (expression_statement "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12);" (call_expression "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar13,iVar12)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14760))" ( (pointer_expression "**(code **)(pcVar17 + 0x14760)" * (pointer_expression "*(code **)(pcVar17 + 0x14760)" * (cast_expression "(code **)(pcVar17 + 0x14760)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x14760)" ( (binary_expression "pcVar17 + 0x14760" identifier + number_literal) ))))) )) (argument_list "(iVar4,0x50,piVar13,iVar12)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);" (call_expression "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec)" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d4)" * (pointer_expression "*(code **)(pcVar17 + 0x147d4)" * (cast_expression "(code **)(pcVar17 + 0x147d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d4)" ( (binary_expression "pcVar17 + 0x147d4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6bec)" ( (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6bec" (pointer_expression "*(int *)(pcVar17 + 0x14718)" * (cast_expression "(int *)(pcVar17 + 0x14718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x14718)" ( (binary_expression "pcVar17 + 0x14718" identifier + number_literal) )))) + number_literal) ))) ;) }))) (labeled_statement "LAB_00014a1c:\n  if (uStack_654 == *puVar14) {\n    return iVar4;\n  }" statement_identifier : (if_statement "if (uStack_654 == *puVar14) {\n    return iVar4;\n  }" if (parenthesized_expression "(uStack_654 == *puVar14)" ( (binary_expression "uStack_654 == *puVar14" identifier == (pointer_expression "*puVar14" * identifier)) )) (compound_statement "{\n    return iVar4;\n  }" { (return_statement "return iVar4;" return identifier ;) }))) (expression_statement "(**(code **)(pcVar17 + 0x147d8))();" (call_expression "(**(code **)(pcVar17 + 0x147d8))()" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d8))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d8)" * (pointer_expression "*(code **)(pcVar17 + 0x147d8)" * (cast_expression "(code **)(pcVar17 + 0x147d8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d8)" ( (binary_expression "pcVar17 + 0x147d8" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (uStack_654 == 0x10) {\n    return 0x10;\n  }" if (parenthesized_expression "(uStack_654 == 0x10)" ( (binary_expression "uStack_654 == 0x10" identifier == number_literal) )) (compound_statement "{\n    return 0x10;\n  }" { (return_statement "return 0x10;" return number_literal ;) })) (if_statement "if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" if (parenthesized_expression "((int)uStack_654 < 0x11)" ( (binary_expression "(int)uStack_654 < 0x11" (cast_expression "(int)uStack_654" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }" { (if_statement "if (uStack_654 == 1) {\n      return 1;\n    }" if (parenthesized_expression "(uStack_654 == 1)" ( (binary_expression "uStack_654 == 1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (uStack_654 == 8) {\n      return 8;\n    }" if (parenthesized_expression "(uStack_654 == 8)" ( (binary_expression "uStack_654 == 8" identifier == number_literal) )) (compound_statement "{\n      return 8;\n    }" { (return_statement "return 8;" return number_literal ;) })) }) (else_clause "else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" else (compound_statement "{\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" { (if_statement "if (uStack_654 == 0x40) {\n      return 0x40;\n    }" if (parenthesized_expression "(uStack_654 == 0x40)" ( (binary_expression "uStack_654 == 0x40" identifier == number_literal) )) (compound_statement "{\n      return 0x40;\n    }" { (return_statement "return 0x40;" return number_literal ;) })) (if_statement "if (uStack_654 == 0x80) {\n      return 0x80;\n    }" if (parenthesized_expression "(uStack_654 == 0x80)" ( (binary_expression "uStack_654 == 0x80" identifier == number_literal) )) (compound_statement "{\n      return 0x80;\n    }" { (return_statement "return 0x80;" return number_literal ;) })) (if_statement "if (uStack_654 == 0x20) {\n      return 0x20;\n    }" if (parenthesized_expression "(uStack_654 == 0x20)" ( (binary_expression "uStack_654 == 0x20" identifier == number_literal) )) (compound_statement "{\n      return 0x20;\n    }" { (return_statement "return 0x20;" return number_literal ;) })) }))) (if_statement "if ((uStack_654 & 2) == 0) {\n    return 1;\n  }" if (parenthesized_expression "((uStack_654 & 2) == 0)" ( (binary_expression "(uStack_654 & 2) == 0" (parenthesized_expression "(uStack_654 & 2)" ( (binary_expression "uStack_654 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar3 = *piVar13;" (assignment_expression "iVar3 = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) (if_statement "if (iVar3 == 0) {\n    return 0x20;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0x20;\n  }" { (return_statement "return 0x20;" return number_literal ;) })) (if_statement "if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" if (parenthesized_expression "(iVar3 != 0xe)" ( (binary_expression "iVar3 != 0xe" identifier != number_literal) )) (compound_statement "{\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" { (expression_statement "iVar4 = 0x10;" (assignment_expression "iVar4 = 0x10" identifier = number_literal) ;) (if_statement "if (iVar3 != 1) {\n      iVar4 = 1;\n    }" if (parenthesized_expression "(iVar3 != 1)" ( (binary_expression "iVar3 != 1" identifier != number_literal) )) (compound_statement "{\n      iVar4 = 1;\n    }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) })) (return_statement "return iVar4;" return identifier ;) })) (return_statement "return 0x20;" return number_literal ;) })))
(translation_unit "int FUN_00013b90(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  int *piVar12;\n  uint *puVar13;\n  int iVar14;\n  int unaff_s6;\n  byte *pbVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  undefined1 *puStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  int iStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  undefined1 *puStack_48c;\n  int iStack_488;\n  undefined1 uStack_44c;\n  byte local_44b;\n  undefined1 auStack_444 [9];\n  undefined1 auStack_43b [23];\n  undefined1 auStack_424 [1023];\n  undefined1 local_25;\n  byte *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = *(uint *)(param_1 + 0x1c);\n  uVar6 = *(uint *)(param_1 + 0x18);\n  local_24 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);\n  *(int *)(param_1 + 0x10) = iVar3;\n  if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }\n  if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  pbVar15 = local_24;\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar12 = *(int **)(puVar16 + 0x15240);\n  puVar8 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar12;\n  iVar3 = *(int *)(puVar8 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar10 = *(uint *)(pbVar15 + 0xc);\n  if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  iStack_4a0 = param_1;\n  uStack_49c = uVar9;\n  iStack_498 = param_2;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  puStack_48c = auStack_424;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = FUN_0001493c;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar13 = *(uint **)(pcVar17 + 0x147ec);\n  iVar14 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar13;\n  iVar11 = *(int *)(iVar14 + -0x6a20);\n  if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }\n  puStack_650 = puVar8;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar10;\n  puStack_644 = puVar7;\n  piStack_640 = piVar12;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar15;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar12;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}\n\n" (function_definition "int FUN_00013b90(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  int *piVar12;\n  uint *puVar13;\n  int iVar14;\n  int unaff_s6;\n  byte *pbVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  undefined1 *puStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  int iStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  undefined1 *puStack_48c;\n  int iStack_488;\n  undefined1 uStack_44c;\n  byte local_44b;\n  undefined1 auStack_444 [9];\n  undefined1 auStack_43b [23];\n  undefined1 auStack_424 [1023];\n  undefined1 local_25;\n  byte *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = *(uint *)(param_1 + 0x1c);\n  uVar6 = *(uint *)(param_1 + 0x18);\n  local_24 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);\n  *(int *)(param_1 + 0x10) = iVar3;\n  if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }\n  if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  pbVar15 = local_24;\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar12 = *(int **)(puVar16 + 0x15240);\n  puVar8 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar12;\n  iVar3 = *(int *)(puVar8 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar10 = *(uint *)(pbVar15 + 0xc);\n  if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  iStack_4a0 = param_1;\n  uStack_49c = uVar9;\n  iStack_498 = param_2;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  puStack_48c = auStack_424;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = FUN_0001493c;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar13 = *(uint **)(pcVar17 + 0x147ec);\n  iVar14 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar13;\n  iVar11 = *(int *)(iVar14 + -0x6a20);\n  if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }\n  puStack_650 = puVar8;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar10;\n  puStack_644 = puVar7;\n  piStack_640 = piVar12;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar15;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar12;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}" primitive_type (function_declarator "FUN_00013b90(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  int *piVar12;\n  uint *puVar13;\n  int iVar14;\n  int unaff_s6;\n  byte *pbVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  undefined1 *puStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  int iStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  undefined1 *puStack_48c;\n  int iStack_488;\n  undefined1 uStack_44c;\n  byte local_44b;\n  undefined1 auStack_444 [9];\n  undefined1 auStack_43b [23];\n  undefined1 auStack_424 [1023];\n  undefined1 local_25;\n  byte *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = *(uint *)(param_1 + 0x1c);\n  uVar6 = *(uint *)(param_1 + 0x18);\n  local_24 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);\n  *(int *)(param_1 + 0x10) = iVar3;\n  if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }\n  if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  pbVar15 = local_24;\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar12 = *(int **)(puVar16 + 0x15240);\n  puVar8 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar12;\n  iVar3 = *(int *)(puVar8 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar10 = *(uint *)(pbVar15 + 0xc);\n  if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  iStack_4a0 = param_1;\n  uStack_49c = uVar9;\n  iStack_498 = param_2;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  puStack_48c = auStack_424;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = FUN_0001493c;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar13 = *(uint **)(pcVar17 + 0x147ec);\n  iVar14 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar13;\n  iVar11 = *(int *)(iVar14 + -0x6a20);\n  if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }\n  puStack_650 = puVar8;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar10;\n  puStack_644 = puVar7;\n  piStack_640 = piVar12;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar15;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar12;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "uint *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int unaff_s6;" primitive_type identifier ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "code *pcVar18;" type_identifier (pointer_declarator "*pcVar18" * identifier) ;) (declaration "undefined4 uStack_6c4;" type_identifier identifier ;) (declaration "uint uStack_6c0;" type_identifier identifier ;) (declaration "int *piStack_6bc;" primitive_type (pointer_declarator "*piStack_6bc" * identifier) ;) (declaration "int aiStack_6a4 [20];" primitive_type (array_declarator "aiStack_6a4 [20]" identifier [ number_literal ]) ;) (declaration "uint uStack_654;" type_identifier identifier ;) (declaration "undefined1 *puStack_650;" type_identifier (pointer_declarator "*puStack_650" * identifier) ;) (declaration "uint *puStack_64c;" type_identifier (pointer_declarator "*puStack_64c" * identifier) ;) (declaration "uint uStack_648;" type_identifier identifier ;) (declaration "undefined1 *puStack_644;" type_identifier (pointer_declarator "*puStack_644" * identifier) ;) (declaration "int *piStack_640;" primitive_type (pointer_declarator "*piStack_640" * identifier) ;) (declaration "int iStack_63c;" primitive_type identifier ;) (declaration "byte *pbStack_638;" type_identifier (pointer_declarator "*pbStack_638" * identifier) ;) (declaration "code *pcStack_634;" type_identifier (pointer_declarator "*pcStack_634" * identifier) ;) (declaration "undefined4 uStack_620;" type_identifier identifier ;) (declaration "undefined4 uStack_61c;" type_identifier identifier ;) (declaration "int iStack_618;" primitive_type identifier ;) (declaration "undefined *puStack_610;" type_identifier (pointer_declarator "*puStack_610" * identifier) ;) (declaration "int iStack_608;" primitive_type identifier ;) (declaration "uint uStack_604;" type_identifier identifier ;) (declaration "uint uStack_600;" type_identifier identifier ;) (declaration "undefined4 uStack_5fc;" type_identifier identifier ;) (declaration "undefined1 auStack_5f4 [80];" type_identifier (array_declarator "auStack_5f4 [80]" identifier [ number_literal ]) ;) (declaration "uint uStack_5a4;" type_identifier identifier ;) (declaration "byte bStack_5a0;" type_identifier identifier ;) (declaration "ushort uStack_59c;" type_identifier identifier ;) (declaration "undefined2 uStack_59a;" type_identifier identifier ;) (declaration "undefined4 uStack_598;" type_identifier identifier ;) (declaration "int iStack_594;" primitive_type identifier ;) (declaration "int iStack_590;" primitive_type identifier ;) (declaration "int iStack_58c;" primitive_type identifier ;) (declaration "undefined4 uStack_588;" type_identifier identifier ;) (declaration "undefined1 uStack_580;" type_identifier identifier ;) (declaration "byte bStack_57f;" type_identifier identifier ;) (declaration "byte bStack_57e;" type_identifier identifier ;) (declaration "byte bStack_57d;" type_identifier identifier ;) (declaration "byte bStack_579;" type_identifier identifier ;) (declaration "byte abStack_578 [212];" type_identifier (array_declarator "abStack_578 [212]" identifier [ number_literal ]) ;) (declaration "int iStack_4a4;" primitive_type identifier ;) (declaration "int iStack_4a0;" primitive_type identifier ;) (declaration "uint uStack_49c;" type_identifier identifier ;) (declaration "int iStack_498;" primitive_type identifier ;) (declaration "undefined *puStack_494;" type_identifier (pointer_declarator "*puStack_494" * identifier) ;) (declaration "uint uStack_490;" type_identifier identifier ;) (declaration "undefined1 *puStack_48c;" type_identifier (pointer_declarator "*puStack_48c" * identifier) ;) (declaration "int iStack_488;" primitive_type identifier ;) (declaration "undefined1 uStack_44c;" type_identifier identifier ;) (declaration "byte local_44b;" type_identifier identifier ;) (declaration "undefined1 auStack_444 [9];" type_identifier (array_declarator "auStack_444 [9]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_43b [23];" type_identifier (array_declarator "auStack_43b [23]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_424 [1023];" type_identifier (array_declarator "auStack_424 [1023]" identifier [ number_literal ]) ;) (declaration "undefined1 local_25;" type_identifier identifier ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00029128;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00029128" identifier = identifier) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0x1c);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x1c)" * (cast_expression "(uint *)(param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "local_24 = *(byte **)PTR___stack_chk_guard_00029128;" (assignment_expression "local_24 = *(byte **)PTR___stack_chk_guard_00029128" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_00029128" * (cast_expression "(byte **)PTR___stack_chk_guard_00029128" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;" (assignment_expression "uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff" identifier = (binary_expression "uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff" (binary_expression "uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00" (binary_expression "uVar6 << 0x14" identifier << number_literal) | (binary_expression "uVar2 >> 0xc & 0xffffff00" (binary_expression "uVar2 >> 0xc" identifier >> number_literal) & number_literal)) | (binary_expression "uVar2 & 0xff" identifier & number_literal))) ;) (if_statement "if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 0xc) & 2) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0xc) & 2) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0xc) & 2)" ( (binary_expression "*(uint *)(param_1 + 0xc) & 2" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }" { (if_statement "if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }" if (parenthesized_expression "((*(uint *)(param_1 + 0xc) & 0x21) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0xc) & 0x21) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0xc) & 0x21)" ( (binary_expression "*(uint *)(param_1 + 0xc) & 0x21" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }" { (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0x400)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }" else (compound_statement "{\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }" { (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);" (assignment_expression "unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0)" identifier = (call_expression "(*(code *)PTR_open64_000290d4)(auStack_424,0)" (parenthesized_expression "(*(code *)PTR_open64_000290d4)" ( (pointer_expression "*(code *)PTR_open64_000290d4" * (cast_expression "(code *)PTR_open64_000290d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0)" ( identifier , number_literal )))) ;) (if_statement "if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }" if (parenthesized_expression "(-1 < unaff_s6)" ( (binary_expression "-1 < unaff_s6" number_literal < identifier) )) (compound_statement "{\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }" { (expression_statement "local_25 = 0;" (assignment_expression "local_25 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);" (assignment_expression "iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff)" identifier = (call_expression "(*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff)" (parenthesized_expression "(*(code *)PTR_read_00029134)" ( (pointer_expression "*(code *)PTR_read_00029134" * (cast_expression "(code *)PTR_read_00029134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s6,auStack_424,0x3ff)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }" { (expression_statement "(*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);" (call_expression "(*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4)" (parenthesized_expression "(*(code *)PTR_perror_00029108)" ( (pointer_expression "*(code *)PTR_perror_00029108" * (cast_expression "(code *)PTR_perror_00029108" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00029054 + 0x62b4)" ( (binary_expression "PTR_00029054 + 0x62b4" identifier + number_literal) ))) ;) }) (else_clause "else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }" else (compound_statement "{\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }" { (expression_statement "iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);" (assignment_expression "iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_000290e8)(auStack_424,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_000290e8)" ( (pointer_expression "*(code *)PTR_strtoul_000290e8" * (cast_expression "(code *)PTR_strtoul_000290e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar9 = uVar9 - iVar3;" (assignment_expression "uVar9 = uVar9 - iVar3" identifier = (binary_expression "uVar9 - iVar3" identifier - identifier)) ;) }))) (expression_statement "(*(code *)PTR_close_00029078)(unaff_s6);" (call_expression "(*(code *)PTR_close_00029078)(unaff_s6)" (parenthesized_expression "(*(code *)PTR_close_00029078)" ( (pointer_expression "*(code *)PTR_close_00029078" * (cast_expression "(code *)PTR_close_00029078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s6)" ( identifier ))) ;) })) (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) }))) }) (else_clause "else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }" else (compound_statement "{\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }" { (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) }))) (expression_statement "iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);" (assignment_expression "iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2)" identifier = (call_expression "(*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2)" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00029084)" ( (pointer_expression "*(code *)PTR_sg_cmds_open_device_00029084" * (cast_expression "(code *)PTR_sg_cmds_open_device_00029084" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0,param_2)" ( identifier , number_literal , identifier )))) ;) (expression_statement "*(int *)(param_1 + 0x10) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar3" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }" { (expression_statement "puVar7 = (undefined1 *)0x400;" (assignment_expression "puVar7 = (undefined1 *)0x400" identifier = (cast_expression "(undefined1 *)0x400" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" * (cast_expression "(code *)PTR___snprintf_chk_0002914c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424,0x400,1,0x400)" ( identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_perror_00029108)(auStack_424);" (call_expression "(*(code *)PTR_perror_00029108)(auStack_424)" (parenthesized_expression "(*(code *)PTR_perror_00029108)" ( (pointer_expression "*(code *)PTR_perror_00029108" * (cast_expression "(code *)PTR_perror_00029108" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_424)" ( identifier ))) ;) (expression_statement "iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));" (assignment_expression "iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10))" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000290b8)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_000290b8" * (cast_expression "(code *)PTR_sg_convert_errno_000290b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-*(int *)(param_1 + 0x10))" ( (unary_expression "-*(int *)(param_1 + 0x10)" - (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "iVar3 = -iVar3;" (assignment_expression "iVar3 = -iVar3" identifier = (unary_expression "-iVar3" - identifier)) ;) }) (else_clause "else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }" else (compound_statement "{\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }" { (expression_statement "puVar7 = &uStack_44c;" (assignment_expression "puVar7 = &uStack_44c" identifier = (pointer_expression "&uStack_44c" & identifier)) ;) (expression_statement "iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);" (assignment_expression "iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2)" identifier = (call_expression "(*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2)" (parenthesized_expression "(*(code *)PTR_sg_simple_inquiry_00029150)" ( (pointer_expression "*(code *)PTR_sg_simple_inquiry_00029150" * (cast_expression "(code *)PTR_sg_simple_inquiry_00029150" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,puVar7,0,param_2)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }" { (expression_statement "*(uint *)(param_1 + 0x14) = (uint)local_44b;" (assignment_expression "*(uint *)(param_1 + 0x14) = (uint)local_44b" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (cast_expression "(uint)local_44b" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }" { (expression_statement "puVar7 = (undefined1 *)(param_1 + 0x30);" (assignment_expression "puVar7 = (undefined1 *)(param_1 + 0x30)" identifier = (cast_expression "(undefined1 *)(param_1 + 0x30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);" (call_expression "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b)" (parenthesized_expression "(*(code *)PTR_pr2serr_00029110)" ( (pointer_expression "*(code *)PTR_pr2serr_00029110" * (cast_expression "(code *)PTR_pr2serr_00029110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b)" ( (binary_expression "PTR_00029054 + 0x6330" identifier + number_literal) , identifier , identifier , identifier ))) ;) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }" else (compound_statement "{\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }" { (expression_statement "puVar7 = auStack_424;" (assignment_expression "puVar7 = auStack_424" identifier = identifier) ;) (expression_statement "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);" (call_expression "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318)" (parenthesized_expression "(*(code *)PTR_pr2serr_00029110)" ( (pointer_expression "*(code *)PTR_pr2serr_00029110" * (cast_expression "(code *)PTR_pr2serr_00029110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00029054 + 0x6318)" ( (binary_expression "PTR_00029054 + 0x6318" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));" (call_expression "(*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_00029120)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_00029120" * (cast_expression "(code *)PTR_sg_cmds_close_device_00029120" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) }))) }))) (if_statement "if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_24 == *(byte **)puVar1)" ( (binary_expression "local_24 == *(byte **)puVar1" identifier == (pointer_expression "*(byte **)puVar1" * (cast_expression "(byte **)puVar1" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "pbVar15 = local_24;" (assignment_expression "pbVar15 = local_24" identifier = identifier) ;) (expression_statement "puVar16 = PTR___stack_chk_fail_00029114;" (assignment_expression "puVar16 = PTR___stack_chk_fail_00029114" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00029114)();" (call_expression "(*(code *)PTR___stack_chk_fail_00029114)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00029114)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00029114" * (cast_expression "(code *)PTR___stack_chk_fail_00029114" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_610 = puVar16 + 0x1d138;" (assignment_expression "puStack_610 = puVar16 + 0x1d138" identifier = (binary_expression "puVar16 + 0x1d138" identifier + number_literal)) ;) (expression_statement "piVar12 = *(int **)(puVar16 + 0x15240);" (assignment_expression "piVar12 = *(int **)(puVar16 + 0x15240)" identifier = (pointer_expression "*(int **)(puVar16 + 0x15240)" * (cast_expression "(int **)(puVar16 + 0x15240)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x15240)" ( (binary_expression "puVar16 + 0x15240" identifier + number_literal) ))))) ;) (expression_statement "puVar8 = *(undefined1 **)(puVar16 + 0x15160);" (assignment_expression "puVar8 = *(undefined1 **)(puVar16 + 0x15160)" identifier = (pointer_expression "*(undefined1 **)(puVar16 + 0x15160)" * (cast_expression "(undefined1 **)(puVar16 + 0x15160)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x15160)" ( (binary_expression "puVar16 + 0x15160" identifier + number_literal) ))))) ;) (expression_statement "puStack_494 = puVar1;" (assignment_expression "puStack_494 = puVar1" identifier = identifier) ;) (expression_statement "iStack_4a4 = *piVar12;" (assignment_expression "iStack_4a4 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (expression_statement "iVar3 = *(int *)(puVar8 + -0x6a20);" (assignment_expression "iVar3 = *(int *)(puVar8 + -0x6a20)" identifier = (pointer_expression "*(int *)(puVar8 + -0x6a20)" * (cast_expression "(int *)(puVar8 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x6a20)" ( (binary_expression "puVar8 + -0x6a20" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar3 = iVar3 + -1;\n  }" { (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) })) (expression_statement "uVar10 = *(uint *)(pbVar15 + 0xc);" (assignment_expression "uVar10 = *(uint *)(pbVar15 + 0xc)" identifier = (pointer_expression "*(uint *)(pbVar15 + 0xc)" * (cast_expression "(uint *)(pbVar15 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar15 + 0xc)" ( (binary_expression "pbVar15 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }" if (parenthesized_expression "((uVar10 & 2) != 0)" ( (binary_expression "(uVar10 & 2) != 0" (parenthesized_expression "(uVar10 & 2)" ( (binary_expression "uVar10 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }" { (expression_statement "iVar4 = *(int *)(pbVar15 + 0x14);" (assignment_expression "iVar4 = *(int *)(pbVar15 + 0x14)" identifier = (pointer_expression "*(int *)(pbVar15 + 0x14)" * (cast_expression "(int *)(pbVar15 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar15 + 0x14)" ( (binary_expression "pbVar15 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }" if (parenthesized_expression "((iVar4 == 0) || (iVar4 == 0xe))" ( (binary_expression "(iVar4 == 0) || (iVar4 == 0xe)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 == 0xe)" ( (binary_expression "iVar4 == 0xe" identifier == number_literal) ))) )) (compound_statement "{\n      uVar10 = uVar10 | 0x20;\n    }" { (expression_statement "uVar10 = uVar10 | 0x20;" (assignment_expression "uVar10 = uVar10 | 0x20" identifier = (binary_expression "uVar10 | 0x20" identifier | number_literal)) ;) }) (else_clause "else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }" else (if_statement "if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n      uVar10 = uVar10 | 0x10;\n    }" { (expression_statement "uVar10 = uVar10 | 0x10;" (assignment_expression "uVar10 = uVar10 | 0x10" identifier = (binary_expression "uVar10 | 0x10" identifier | number_literal)) ;) })))) })) (expression_statement "uStack_61c = 1;" (assignment_expression "uStack_61c = 1" identifier = number_literal) ;) (expression_statement "uStack_620 = 0x100;" (assignment_expression "uStack_620 = 0x100" identifier = number_literal) ;) (expression_statement "iStack_618 = iVar3;" (assignment_expression "iStack_618 = iVar3" identifier = identifier) ;) (expression_statement "iStack_4a0 = param_1;" (assignment_expression "iStack_4a0 = param_1" identifier = identifier) ;) (expression_statement "uStack_49c = uVar9;" (assignment_expression "uStack_49c = uVar9" identifier = identifier) ;) (expression_statement "iStack_498 = param_2;" (assignment_expression "iStack_498 = param_2" identifier = identifier) ;) (expression_statement "uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;" (assignment_expression "uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14" identifier = (binary_expression "uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14" (binary_expression "uVar6 & 0xfffff000" identifier & number_literal) | (binary_expression "(uVar2 << 0xc) >> 0x14" (parenthesized_expression "(uVar2 << 0xc)" ( (binary_expression "uVar2 << 0xc" identifier << number_literal) )) >> number_literal))) ;) (expression_statement "puStack_48c = auStack_424;" (assignment_expression "puStack_48c = auStack_424" identifier = identifier) ;) (expression_statement "iStack_488 = unaff_s6;" (assignment_expression "iStack_488 = unaff_s6" identifier = identifier) ;) (expression_statement "iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);" (assignment_expression "iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4)" identifier = (call_expression "(**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4)" (parenthesized_expression "(**(code **)(puVar16 + 0x151c8))" ( (pointer_expression "**(code **)(puVar16 + 0x151c8)" * (pointer_expression "*(code **)(puVar16 + 0x151c8)" * (cast_expression "(code **)(puVar16 + 0x151c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar16 + 0x151c8)" ( (binary_expression "puVar16 + 0x151c8" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4)" ( (pointer_expression "*(undefined4 *)(pbVar15 + 0x10)" * (cast_expression "(undefined4 *)(pbVar15 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar15 + 0x10)" ( (binary_expression "pbVar15 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "&uStack_5a4" & identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }" { (if_statement "if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }" if (parenthesized_expression "(0x100 < uStack_5a4)" ( (binary_expression "0x100 < uStack_5a4" number_literal < identifier) )) (compound_statement "{\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6380" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier , number_literal ))) ;) })) (if_statement "if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }" if (parenthesized_expression "(2 < *(int *)(puVar8 + -0x6a20))" ( (binary_expression "2 < *(int *)(puVar8 + -0x6a20)" number_literal < (pointer_expression "*(int *)(puVar8 + -0x6a20)" * (cast_expression "(int *)(puVar8 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x6a20)" ( (binary_expression "puVar8 + -0x6a20" identifier + number_literal) ))))) )) (compound_statement "{\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x63c8)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x63c8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);" (call_expression "(**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f94))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f94)" * (pointer_expression "*(code **)(puStack_610 + -0x7f94)" * (cast_expression "(code **)(puStack_610 + -0x7f94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f94)" ( (binary_expression "puStack_610 + -0x7f94" identifier + number_literal) ))))) )) (argument_list "(&uStack_5a4,uStack_5a4,1)" ( (pointer_expression "&uStack_5a4" & identifier) , identifier , number_literal ))) ;) })) (expression_statement "iVar4 = *(int *)(puVar8 + -0x6a20);" (assignment_expression "iVar4 = *(int *)(puVar8 + -0x6a20)" identifier = (pointer_expression "*(int *)(puVar8 + -0x6a20)" * (cast_expression "(int *)(puVar8 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x6a20)" ( (binary_expression "puVar8 + -0x6a20" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" identifier = number_literal) ;) (if_statement "if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }" if (parenthesized_expression "(iStack_594 != 0)" ( (binary_expression "iStack_594 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = iStack_594;\n    }" { (expression_statement "iVar3 = iStack_594;" (assignment_expression "iVar3 = iStack_594" identifier = identifier) ;) })) (expression_statement "*(int *)(pbVar15 + 0x24) = iVar3;" (assignment_expression "*(int *)(pbVar15 + 0x24) = iVar3" (pointer_expression "*(int *)(pbVar15 + 0x24)" * (cast_expression "(int *)(pbVar15 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar15 + 0x24)" ( (binary_expression "pbVar15 + 0x24" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }" { (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fd8);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fd8)" * (cast_expression "(int *)(puStack_610 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fd8)" ( (binary_expression "puStack_610 + -0x7fd8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }" if (parenthesized_expression "(*(int *)(iVar3 + -0x6fec) < 0)" ( (binary_expression "*(int *)(iVar3 + -0x6fec) < 0" (pointer_expression "*(int *)(iVar3 + -0x6fec)" * (cast_expression "(int *)(iVar3 + -0x6fec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }" { (labeled_statement "LAB_00014094:\n        uVar5 = 2;" statement_identifier : (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" identifier = number_literal) ;)) (if_statement "if (iStack_58c != 0) {\n          uVar5 = 0;\n        }" if (parenthesized_expression "(iStack_58c != 0)" ( (binary_expression "iStack_58c != 0" identifier != number_literal) )) (compound_statement "{\n          uVar5 = 0;\n        }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)(iVar3 + -0x6fec) = uVar5;" (assignment_expression "*(undefined4 *)(iVar3 + -0x6fec) = uVar5" (pointer_expression "*(undefined4 *)(iVar3 + -0x6fec)" * (cast_expression "(undefined4 *)(iVar3 + -0x6fec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_0001409c;" goto statement_identifier ;) })) }) (else_clause "else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" else (compound_statement "{\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" { (expression_statement "iStack_608 = iStack_590;" (assignment_expression "iStack_608 = iStack_590" identifier = identifier) ;) (expression_statement "uStack_604 = (uint)bStack_5a0;" (assignment_expression "uStack_604 = (uint)bStack_5a0" identifier = (cast_expression "(uint)bStack_5a0" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uStack_600 = (uint)uStack_59c;" (assignment_expression "uStack_600 = (uint)uStack_59c" identifier = (cast_expression "(uint)uStack_59c" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6408" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x63e4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x641c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "uStack_604 & 1" identifier & number_literal) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6448" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6474" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64a0" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64c8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64e8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fd8);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fd8)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fd8)" * (cast_expression "(int *)(puStack_610 + -0x7fd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fd8)" ( (binary_expression "puStack_610 + -0x7fd8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;" if (parenthesized_expression "(*(int *)(iVar3 + -0x6fec) < 0)" ( (binary_expression "*(int *)(iVar3 + -0x6fec) < 0" (pointer_expression "*(int *)(iVar3 + -0x6fec)" * (cast_expression "(int *)(iVar3 + -0x6fec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) < number_literal) )) (goto_statement "goto LAB_00014094;" goto statement_identifier ;)) (labeled_statement "LAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" statement_identifier : (if_statement "if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" if (parenthesized_expression "(*(int *)(puVar8 + -0x6a20) != 0)" ( (binary_expression "*(int *)(puVar8 + -0x6a20) != 0" (pointer_expression "*(int *)(puVar8 + -0x6a20)" * (cast_expression "(int *)(puVar8 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x6a20)" ( (binary_expression "puVar8 + -0x6a20" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x650c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier , (pointer_expression "*(undefined4 *)(iVar3 + -0x6fec)" * (cast_expression "(undefined4 *)(iVar3 + -0x6fec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0x6fec)" ( (binary_expression "iVar3 + -0x6fec" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x653c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x656c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (if_statement "if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" if (parenthesized_expression "(bStack_57f < 0x1f)" ( (binary_expression "bStack_57f < 0x1f" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x65bc" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "1 << (bStack_57f & 0x1f)" number_literal << (parenthesized_expression "(bStack_57f & 0x1f)" ( (binary_expression "bStack_57f & 0x1f" identifier & number_literal) ))) ))) ;) }) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" else (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 26000)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 26000" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) (if_statement "if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" if (parenthesized_expression "(bStack_57e < 0x1f)" ( (binary_expression "bStack_57e < 0x1f" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6610" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "1 << (bStack_57e & 0x1f)" number_literal << (parenthesized_expression "(bStack_57e & 0x1f)" ( (binary_expression "bStack_57e & 0x1f" identifier & number_literal) ))) ))) ;) }) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" else (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x65e4)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x65e4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) (if_statement "if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" if (parenthesized_expression "(bStack_57d < 0x1f)" ( (binary_expression "bStack_57d < 0x1f" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f))" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6660" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , (binary_expression "1 << (bStack_57d & 0x1f)" number_literal << (parenthesized_expression "(bStack_57d & 0x1f)" ( (binary_expression "bStack_57d & 0x1f" identifier & number_literal) ))) ))) ;) }) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" else (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" { (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6638)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6638" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6688)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6688" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) ))) ;) }))) }))) (expression_statement "*(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);" (assignment_expression "*(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f)" (pointer_expression "*(int *)(pbVar15 + 0x20)" * (cast_expression "(int *)(pbVar15 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar15 + 0x20)" ( (binary_expression "pbVar15 + 0x20" identifier + number_literal) )))) = (binary_expression "1 << (bStack_57f & 0x1f)" number_literal << (parenthesized_expression "(bStack_57f & 0x1f)" ( (binary_expression "bStack_57f & 0x1f" identifier & number_literal) )))) ;) (if_statement "if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" if (parenthesized_expression "(bStack_579 == 0)" ( (binary_expression "bStack_579 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }" { (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fcc);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iStack_594;" (assignment_expression "iVar4 = iStack_594" identifier = identifier) ;) }) (else_clause "else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" else (compound_statement "{\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" { (expression_statement "pbVar15 = abStack_578;" (assignment_expression "pbVar15 = abStack_578" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(puStack_610 + -0x7fc8);" (assignment_expression "iVar4 = *(int *)(puStack_610 + -0x7fc8)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fc8)" * (cast_expression "(int *)(puStack_610 + -0x7fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fc8)" ( (binary_expression "puStack_610 + -0x7fc8" identifier + number_literal) ))))) ;) (expression_statement "uStack_604 = *(uint *)(puStack_610 + -0x7fcc);" (assignment_expression "uStack_604 = *(uint *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(uint *)(puStack_610 + -0x7fcc)" * (cast_expression "(uint *)(puStack_610 + -0x7fcc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;" (assignment_expression "iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4" identifier = (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6bc4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);" (assignment_expression "uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(undefined4 *)(puStack_610 + -0x7fcc)" * (cast_expression "(undefined4 *)(puStack_610 + -0x7fcc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;" (assignment_expression "uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78" identifier = (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6b78" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal)) ;) (do_statement "do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);" do (compound_statement "{\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      }" { (if_statement "if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }" if (parenthesized_expression "(*pbVar15 < 0xff)" ( (binary_expression "*pbVar15 < 0xff" (pointer_expression "*pbVar15" * identifier) < number_literal) )) (compound_statement "{\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }" { (expression_statement "iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();" (assignment_expression "iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))()" identifier = (call_expression "(*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))()" (parenthesized_expression "(*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))" ( (pointer_expression "*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4))" * (cast_expression "(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4))" ( (binary_expression "puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" identifier + (pointer_expression "*(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" * (cast_expression "(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" ( (binary_expression "iVar4 + -0x7b40 + (uint)*pbVar15 * 4" (binary_expression "iVar4 + -0x7b40" identifier + number_literal) + (binary_expression "(uint)*pbVar15 * 4" (binary_expression "(uint)*pbVar15" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(iStack_608);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(iStack_608)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(iStack_608)" ( identifier ))) ;) (expression_statement "pbVar15 = pbVar15 + 1;" (assignment_expression "pbVar15 = pbVar15 + 1" identifier = (binary_expression "pbVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579)" ( (binary_expression "pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579" (binary_expression "pbVar15 + (-0x2c - (int)&uStack_5a4)" identifier + (parenthesized_expression "(-0x2c - (int)&uStack_5a4)" ( (binary_expression "-0x2c - (int)&uStack_5a4" number_literal - (cast_expression "(int)&uStack_5a4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&uStack_5a4" & identifier))) ))) < (cast_expression "(byte *)(uint)bStack_579" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)bStack_579" ( (type_descriptor "uint" type_identifier) ) identifier))) )) ;) (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fcc);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fcc)" identifier = (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar4 + -0x7b40;" (assignment_expression "iVar4 = iVar4 + -0x7b40" identifier = (binary_expression "iVar4 + -0x7b40" identifier + number_literal)) ;) }))) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(iVar3 + 0x66ac)" ( (binary_expression "iVar3 + 0x66ac" identifier + number_literal) ))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }" else (compound_statement "{\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }" { (expression_statement "puVar8 = auStack_5f4;" (assignment_expression "puVar8 = auStack_5f4" identifier = identifier) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);" (call_expression "(**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f84))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f84)" * (pointer_expression "*(code **)(puStack_610 + -0x7f84)" * (cast_expression "(code **)(puStack_610 + -0x7f84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f84)" ( (binary_expression "puStack_610 + -0x7f84" identifier + number_literal) ))))) )) (argument_list "(iVar4,0x50,puVar8,iVar3)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" ( (pointer_expression "**(code **)(puStack_610 + -0x7f10)" * (pointer_expression "*(code **)(puStack_610 + -0x7f10)" * (cast_expression "(code **)(puStack_610 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f10)" ( (binary_expression "puStack_610 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8)" ( (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6360" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" * (cast_expression "(int *)(puStack_610 + -0x7fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_610 + -0x7fcc)" ( (binary_expression "puStack_610 + -0x7fcc" identifier + number_literal) )))) + number_literal) , identifier ))) ;) (expression_statement "iVar3 = -iVar4;" (assignment_expression "iVar3 = -iVar4" identifier = (unary_expression "-iVar4" - identifier)) ;) }))) (if_statement "if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }" if (parenthesized_expression "(iStack_4a4 == *piVar12)" ( (binary_expression "iStack_4a4 == *piVar12" identifier == (pointer_expression "*piVar12" * identifier)) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "pcVar17 = *(code **)(puStack_610 + -0x7f0c);" (assignment_expression "pcVar17 = *(code **)(puStack_610 + -0x7f0c)" identifier = (pointer_expression "*(code **)(puStack_610 + -0x7f0c)" * (cast_expression "(code **)(puStack_610 + -0x7f0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puStack_610 + -0x7f0c)" ( (binary_expression "puStack_610 + -0x7f0c" identifier + number_literal) ))))) ;) (expression_statement "pcVar18 = FUN_0001493c;" (assignment_expression "pcVar18 = FUN_0001493c" identifier = identifier) ;) (expression_statement "iVar3 = iStack_4a4;" (assignment_expression "iVar3 = iStack_4a4" identifier = identifier) ;) (expression_statement "(*pcVar17)();" (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "puVar13 = *(uint **)(pcVar17 + 0x147ec);" (assignment_expression "puVar13 = *(uint **)(pcVar17 + 0x147ec)" identifier = (pointer_expression "*(uint **)(pcVar17 + 0x147ec)" * (cast_expression "(uint **)(pcVar17 + 0x147ec)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147ec)" ( (binary_expression "pcVar17 + 0x147ec" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = *(int *)(pcVar17 + 0x1470c);" (assignment_expression "iVar14 = *(int *)(pcVar17 + 0x1470c)" identifier = (pointer_expression "*(int *)(pcVar17 + 0x1470c)" * (cast_expression "(int *)(pcVar17 + 0x1470c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x1470c)" ( (binary_expression "pcVar17 + 0x1470c" identifier + number_literal) ))))) ;) (expression_statement "uStack_654 = *puVar13;" (assignment_expression "uStack_654 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "iVar11 = *(int *)(iVar14 + -0x6a20);" (assignment_expression "iVar11 = *(int *)(iVar14 + -0x6a20)" identifier = (pointer_expression "*(int *)(iVar14 + -0x6a20)" * (cast_expression "(int *)(iVar14 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + -0x6a20)" ( (binary_expression "iVar14 + -0x6a20" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar11 = iVar11 + -1;\n  }" { (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) })) (expression_statement "puStack_650 = puVar8;" (assignment_expression "puStack_650 = puVar8" identifier = identifier) ;) (expression_statement "puStack_64c = &uStack_5a4;" (assignment_expression "puStack_64c = &uStack_5a4" identifier = (pointer_expression "&uStack_5a4" & identifier)) ;) (expression_statement "uStack_648 = uVar10;" (assignment_expression "uStack_648 = uVar10" identifier = identifier) ;) (expression_statement "puStack_644 = puVar7;" (assignment_expression "puStack_644 = puVar7" identifier = identifier) ;) (expression_statement "piStack_640 = piVar12;" (assignment_expression "piStack_640 = piVar12" identifier = identifier) ;) (expression_statement "iStack_63c = iVar4;" (assignment_expression "iStack_63c = iVar4" identifier = identifier) ;) (expression_statement "pbStack_638 = pbVar15;" (assignment_expression "pbStack_638 = pbVar15" identifier = identifier) ;) (expression_statement "pcStack_634 = pcVar18;" (assignment_expression "pcStack_634 = pcVar18" identifier = identifier) ;) (expression_statement "iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;" (assignment_expression "iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)" identifier = (call_expression "(**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x1480c))" ( (pointer_expression "**(code **)(pcVar17 + 0x1480c)" * (pointer_expression "*(code **)(pcVar17 + 0x1480c)" * (cast_expression "(code **)(pcVar17 + 0x1480c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x1480c)" ( (binary_expression "pcVar17 + 0x1480c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "&uStack_6c4" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }" { (if_statement "if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }" if (parenthesized_expression "((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff)" ( (binary_expression "(uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff" (parenthesized_expression "(uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4)" ( (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4" (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_" (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_" (field_expression "uStack_6c4._0_1_" identifier . field_identifier) & (field_expression "uStack_6c4._1_1_" identifier . field_identifier)) & (field_expression "uStack_6c4._2_1_" identifier . field_identifier)) & (cast_expression "(byte)uStack_6c4" ( (type_descriptor "byte" type_identifier) ) identifier)) )) == number_literal) )) (compound_statement "{\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }" { (expression_statement "iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);" (assignment_expression "iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11)" identifier = (call_expression "(**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14808))" ( (pointer_expression "**(code **)(pcVar17 + 0x14808)" * (pointer_expression "*(code **)(pcVar17 + 0x14808)" * (cast_expression "(code **)(pcVar17 + 0x14808)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x14808)" ( (binary_expression "pcVar17 + 0x14808" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11)" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) , number_literal , number_literal , number_literal , (pointer_expression "&uStack_6c4" & identifier) , number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }" { (expression_statement "piVar12 = aiStack_6a4;" (assignment_expression "piVar12 = aiStack_6a4" identifier = identifier) ;) (expression_statement "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);" (call_expression "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14760))" ( (pointer_expression "**(code **)(pcVar17 + 0x14760)" * (pointer_expression "*(code **)(pcVar17 + 0x14760)" * (cast_expression "(code **)(pcVar17 + 0x14760)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x14760)" ( (binary_expression "pcVar17 + 0x14760" identifier + number_literal) ))))) )) (argument_list "(iVar4,0x50,piVar12,iVar11)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);" (call_expression "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04)" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d4)" * (pointer_expression "*(code **)(pcVar17 + 0x147d4)" * (cast_expression "(code **)(pcVar17 + 0x147d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d4)" ( (binary_expression "pcVar17 + 0x147d4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6c04)" ( (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6c04" (pointer_expression "*(int *)(pcVar17 + 0x14718)" * (cast_expression "(int *)(pcVar17 + 0x14718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x14718)" ( (binary_expression "pcVar17 + 0x14718" identifier + number_literal) )))) + number_literal) ))) ;) (goto_statement "goto LAB_00014a1c;" goto statement_identifier ;) })) (expression_statement "*(int **)(iVar3 + 8) = piStack_6bc;" (assignment_expression "*(int **)(iVar3 + 8) = piStack_6bc" (pointer_expression "*(int **)(iVar3 + 8)" * (cast_expression "(int **)(iVar3 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) = (binary_expression "uStack_6c0 + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;" (assignment_expression "*(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4" (pointer_expression "*(uint *)(iVar3 + 0x28)" * (cast_expression "(uint *)(iVar3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) = (binary_expression "(uStack_6c0 + 1 < uStack_6c0) + uStack_6c4" (parenthesized_expression "(uStack_6c0 + 1 < uStack_6c0)" ( (binary_expression "uStack_6c0 + 1 < uStack_6c0" (binary_expression "uStack_6c0 + 1" identifier + number_literal) < identifier) )) + identifier)) ;) (expression_statement "piVar12 = piStack_6bc;" (assignment_expression "piVar12 = piStack_6bc" identifier = identifier) ;) }) (else_clause "else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }" else (compound_statement "{\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }" { (expression_statement "*(uint *)(iVar3 + 8) = uStack_6c0;" (assignment_expression "*(uint *)(iVar3 + 8) = uStack_6c0" (pointer_expression "*(uint *)(iVar3 + 8)" * (cast_expression "(uint *)(iVar3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" * (cast_expression "(uint *)(iVar3 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) = (binary_expression "uStack_6c4 + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);" (assignment_expression "*(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4)" (pointer_expression "*(uint *)(iVar3 + 0x28)" * (cast_expression "(uint *)(iVar3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) = (call_expression "(uint)(uStack_6c4 + 1 < uStack_6c4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uStack_6c4 + 1 < uStack_6c4)" ( (binary_expression "uStack_6c4 + 1 < uStack_6c4" (binary_expression "uStack_6c4 + 1" identifier + number_literal) < identifier) )))) ;) (expression_statement "piVar12 = (int *)(uint)uStack_6c4._2_1_;" (assignment_expression "piVar12 = (int *)(uint)uStack_6c4._2_1_" identifier = (cast_expression "(int *)(uint)uStack_6c4._2_1_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)uStack_6c4._2_1_" ( (type_descriptor "uint" type_identifier) ) (field_expression "uStack_6c4._2_1_" identifier . field_identifier)))) ;) }))) (expression_statement "iVar4 = *(int *)(iVar14 + -0x6a20);" (assignment_expression "iVar4 = *(int *)(iVar14 + -0x6a20)" identifier = (pointer_expression "*(int *)(iVar14 + -0x6a20)" * (cast_expression "(int *)(iVar14 + -0x6a20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + -0x6a20)" ( (binary_expression "iVar14 + -0x6a20" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }" { (expression_statement "piVar12 = (int *)(iVar3 + 0x30);" (assignment_expression "piVar12 = (int *)(iVar3 + 0x30)" identifier = (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "(**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));" (call_expression "(**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8))" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d4)" * (pointer_expression "*(code **)(pcVar17 + 0x147d4)" * (cast_expression "(code **)(pcVar17 + 0x147d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d4)" ( (binary_expression "pcVar17 + 0x147d4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8))" ( (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6c1c" (pointer_expression "*(int *)(pcVar17 + 0x14718)" * (cast_expression "(int *)(pcVar17 + 0x14718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x14718)" ( (binary_expression "pcVar17 + 0x14718" identifier + number_literal) )))) + number_literal) , identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x28)" * (cast_expression "(undefined4 *)(iVar3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x2c)" * (cast_expression "(undefined4 *)(iVar3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x28)" * (cast_expression "(undefined4 *)(iVar3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x2c)" * (cast_expression "(undefined4 *)(iVar3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c)" ( (binary_expression "iVar3 + 0x2c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) ))) ;) })) }) (else_clause "else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" else (compound_statement "{\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" { (expression_statement "piVar12 = aiStack_6a4;" (assignment_expression "piVar12 = aiStack_6a4" identifier = identifier) ;) (expression_statement "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);" (call_expression "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14760))" ( (pointer_expression "**(code **)(pcVar17 + 0x14760)" * (pointer_expression "*(code **)(pcVar17 + 0x14760)" * (cast_expression "(code **)(pcVar17 + 0x14760)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x14760)" ( (binary_expression "pcVar17 + 0x14760" identifier + number_literal) ))))) )) (argument_list "(iVar4,0x50,piVar12,iVar11)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);" (call_expression "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec)" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d4)" * (pointer_expression "*(code **)(pcVar17 + 0x147d4)" * (cast_expression "(code **)(pcVar17 + 0x147d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d4)" ( (binary_expression "pcVar17 + 0x147d4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6bec)" ( (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6bec" (pointer_expression "*(int *)(pcVar17 + 0x14718)" * (cast_expression "(int *)(pcVar17 + 0x14718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0x14718)" ( (binary_expression "pcVar17 + 0x14718" identifier + number_literal) )))) + number_literal) ))) ;) }))) (labeled_statement "LAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }" statement_identifier : (if_statement "if (uStack_654 == *puVar13) {\n    return iVar4;\n  }" if (parenthesized_expression "(uStack_654 == *puVar13)" ( (binary_expression "uStack_654 == *puVar13" identifier == (pointer_expression "*puVar13" * identifier)) )) (compound_statement "{\n    return iVar4;\n  }" { (return_statement "return iVar4;" return identifier ;) }))) (expression_statement "(**(code **)(pcVar17 + 0x147d8))();" (call_expression "(**(code **)(pcVar17 + 0x147d8))()" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d8))" ( (pointer_expression "**(code **)(pcVar17 + 0x147d8)" * (pointer_expression "*(code **)(pcVar17 + 0x147d8)" * (cast_expression "(code **)(pcVar17 + 0x147d8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0x147d8)" ( (binary_expression "pcVar17 + 0x147d8" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (uStack_654 == 0x10) {\n    return 0x10;\n  }" if (parenthesized_expression "(uStack_654 == 0x10)" ( (binary_expression "uStack_654 == 0x10" identifier == number_literal) )) (compound_statement "{\n    return 0x10;\n  }" { (return_statement "return 0x10;" return number_literal ;) })) (if_statement "if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" if (parenthesized_expression "((int)uStack_654 < 0x11)" ( (binary_expression "(int)uStack_654 < 0x11" (cast_expression "(int)uStack_654" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }" { (if_statement "if (uStack_654 == 1) {\n      return 1;\n    }" if (parenthesized_expression "(uStack_654 == 1)" ( (binary_expression "uStack_654 == 1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (uStack_654 == 8) {\n      return 8;\n    }" if (parenthesized_expression "(uStack_654 == 8)" ( (binary_expression "uStack_654 == 8" identifier == number_literal) )) (compound_statement "{\n      return 8;\n    }" { (return_statement "return 8;" return number_literal ;) })) }) (else_clause "else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" else (compound_statement "{\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" { (if_statement "if (uStack_654 == 0x40) {\n      return 0x40;\n    }" if (parenthesized_expression "(uStack_654 == 0x40)" ( (binary_expression "uStack_654 == 0x40" identifier == number_literal) )) (compound_statement "{\n      return 0x40;\n    }" { (return_statement "return 0x40;" return number_literal ;) })) (if_statement "if (uStack_654 == 0x80) {\n      return 0x80;\n    }" if (parenthesized_expression "(uStack_654 == 0x80)" ( (binary_expression "uStack_654 == 0x80" identifier == number_literal) )) (compound_statement "{\n      return 0x80;\n    }" { (return_statement "return 0x80;" return number_literal ;) })) (if_statement "if (uStack_654 == 0x20) {\n      return 0x20;\n    }" if (parenthesized_expression "(uStack_654 == 0x20)" ( (binary_expression "uStack_654 == 0x20" identifier == number_literal) )) (compound_statement "{\n      return 0x20;\n    }" { (return_statement "return 0x20;" return number_literal ;) })) }))) (if_statement "if ((uStack_654 & 2) == 0) {\n    return 1;\n  }" if (parenthesized_expression "((uStack_654 & 2) == 0)" ( (binary_expression "(uStack_654 & 2) == 0" (parenthesized_expression "(uStack_654 & 2)" ( (binary_expression "uStack_654 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar3 = *piVar12;" (assignment_expression "iVar3 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (if_statement "if (iVar3 == 0) {\n    return 0x20;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0x20;\n  }" { (return_statement "return 0x20;" return number_literal ;) })) (if_statement "if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" if (parenthesized_expression "(iVar3 != 0xe)" ( (binary_expression "iVar3 != 0xe" identifier != number_literal) )) (compound_statement "{\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" { (expression_statement "iVar4 = 0x10;" (assignment_expression "iVar4 = 0x10" identifier = number_literal) ;) (if_statement "if (iVar3 != 1) {\n      iVar4 = 1;\n    }" if (parenthesized_expression "(iVar3 != 1)" ( (binary_expression "iVar3 != 1" identifier != number_literal) )) (compound_statement "{\n      iVar4 = 1;\n    }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) })) (return_statement "return iVar4;" return identifier ;) })) (return_statement "return 0x20;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE 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 (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT << LIT) | (binary_expression (binary_expression IDENT >> LIT) & LIT)) | (binary_expression IDENT & LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (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 (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , LIT ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , LIT ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (unary_expression - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = 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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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 = (binary_expression IDENT + LIT)) ;) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) })))) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT & LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT << LIT) )) >> LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) , IDENT , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression IDENT & LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) }))) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < 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 IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT))) ))) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT , (pointer_expression & IDENT) , LIT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (field_expression IDENT . field_identifier) & (field_expression IDENT . field_identifier)) & (field_expression IDENT . field_identifier)) & (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT , LIT , (pointer_expression & IDENT) , LIT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < IDENT) )) + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + LIT) < IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) (field_expression IDENT . field_identifier)))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_00013b90(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  int *piVar12;\n  uint *puVar13;\n  int iVar14;\n  int unaff_s6;\n  byte *pbVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  undefined1 *puStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  int iStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  undefined1 *puStack_48c;\n  int iStack_488;\n  undefined1 uStack_44c;\n  byte local_44b;\n  undefined1 auStack_444 [9];\n  undefined1 auStack_43b [23];\n  undefined1 auStack_424 [1023];\n  undefined1 local_25;\n  byte *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = *(uint *)(param_1 + 0x1c);\n  uVar6 = *(uint *)(param_1 + 0x18);\n  local_24 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);\n  *(int *)(param_1 + 0x10) = iVar3;\n  if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }\n  if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  pbVar15 = local_24;\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar12 = *(int **)(puVar16 + 0x15240);\n  puVar8 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar12;\n  iVar3 = *(int *)(puVar8 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar10 = *(uint *)(pbVar15 + 0xc);\n  if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  iStack_4a0 = param_1;\n  uStack_49c = uVar9;\n  iStack_498 = param_2;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  puStack_48c = auStack_424;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = FUN_0001493c;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar13 = *(uint **)(pcVar17 + 0x147ec);\n  iVar14 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar13;\n  iVar11 = *(int *)(iVar14 + -0x6a20);\n  if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }\n  puStack_650 = puVar8;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar10;\n  puStack_644 = puVar7;\n  piStack_640 = piVar12;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar15;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar12;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}" (primitive_type "int") (function_declarator "FUN_00013b90(int param_1,int param_2)" (identifier "FUN_00013b90") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  int *piVar12;\n  uint *puVar13;\n  int iVar14;\n  int unaff_s6;\n  byte *pbVar15;\n  undefined *puVar16;\n  code *pcVar17;\n  code *pcVar18;\n  undefined4 uStack_6c4;\n  uint uStack_6c0;\n  int *piStack_6bc;\n  int aiStack_6a4 [20];\n  uint uStack_654;\n  undefined1 *puStack_650;\n  uint *puStack_64c;\n  uint uStack_648;\n  undefined1 *puStack_644;\n  int *piStack_640;\n  int iStack_63c;\n  byte *pbStack_638;\n  code *pcStack_634;\n  undefined4 uStack_620;\n  undefined4 uStack_61c;\n  int iStack_618;\n  undefined *puStack_610;\n  int iStack_608;\n  uint uStack_604;\n  uint uStack_600;\n  undefined4 uStack_5fc;\n  undefined1 auStack_5f4 [80];\n  uint uStack_5a4;\n  byte bStack_5a0;\n  ushort uStack_59c;\n  undefined2 uStack_59a;\n  undefined4 uStack_598;\n  int iStack_594;\n  int iStack_590;\n  int iStack_58c;\n  undefined4 uStack_588;\n  undefined1 uStack_580;\n  byte bStack_57f;\n  byte bStack_57e;\n  byte bStack_57d;\n  byte bStack_579;\n  byte abStack_578 [212];\n  int iStack_4a4;\n  int iStack_4a0;\n  uint uStack_49c;\n  int iStack_498;\n  undefined *puStack_494;\n  uint uStack_490;\n  undefined1 *puStack_48c;\n  int iStack_488;\n  undefined1 uStack_44c;\n  byte local_44b;\n  undefined1 auStack_444 [9];\n  undefined1 auStack_43b [23];\n  undefined1 auStack_424 [1023];\n  undefined1 local_25;\n  byte *local_24;\n  \n  puVar1 = PTR___stack_chk_guard_00029128;\n  uVar2 = *(uint *)(param_1 + 0x1c);\n  uVar6 = *(uint *)(param_1 + 0x18);\n  local_24 = *(byte **)PTR___stack_chk_guard_00029128;\n  uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;\n  if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);\n  *(int *)(param_1 + 0x10) = iVar3;\n  if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }\n  if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }\n  pbVar15 = local_24;\n  puVar16 = PTR___stack_chk_fail_00029114;\n  (*(code *)PTR___stack_chk_fail_00029114)();\n  puStack_610 = puVar16 + 0x1d138;\n  piVar12 = *(int **)(puVar16 + 0x15240);\n  puVar8 = *(undefined1 **)(puVar16 + 0x15160);\n  puStack_494 = puVar1;\n  iStack_4a4 = *piVar12;\n  iVar3 = *(int *)(puVar8 + -0x6a20);\n  if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }\n  uVar10 = *(uint *)(pbVar15 + 0xc);\n  if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }\n  uStack_61c = 1;\n  uStack_620 = 0x100;\n  iStack_618 = iVar3;\n  iStack_4a0 = param_1;\n  uStack_49c = uVar9;\n  iStack_498 = param_2;\n  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;\n  puStack_48c = auStack_424;\n  iStack_488 = unaff_s6;\n  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);\n  if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }\n  if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }\n  pcVar17 = *(code **)(puStack_610 + -0x7f0c);\n  pcVar18 = FUN_0001493c;\n  iVar3 = iStack_4a4;\n  (*pcVar17)();\n  puVar13 = *(uint **)(pcVar17 + 0x147ec);\n  iVar14 = *(int *)(pcVar17 + 0x1470c);\n  uStack_654 = *puVar13;\n  iVar11 = *(int *)(iVar14 + -0x6a20);\n  if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }\n  puStack_650 = puVar8;\n  puStack_64c = &uStack_5a4;\n  uStack_648 = uVar10;\n  puStack_644 = puVar7;\n  piStack_640 = piVar12;\n  iStack_63c = iVar4;\n  pbStack_638 = pbVar15;\n  pcStack_634 = pcVar18;\n  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;\n  if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }\nLAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }\n  (**(code **)(pcVar17 + 0x147d8))();\n  if (uStack_654 == 0x10) {\n    return 0x10;\n  }\n  if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }\n  if ((uStack_654 & 2) == 0) {\n    return 1;\n  }\n  iVar3 = *piVar12;\n  if (iVar3 == 0) {\n    return 0x20;\n  }\n  if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }\n  return 0x20;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "uint *puVar13;" (type_identifier "uint") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "int unaff_s6;" (primitive_type "int") (identifier "unaff_s6") (; ";")) (declaration "byte *pbVar15;" (type_identifier "byte") (pointer_declarator "*pbVar15" (* "*") (identifier "pbVar15")) (; ";")) (declaration "undefined *puVar16;" (type_identifier "undefined") (pointer_declarator "*puVar16" (* "*") (identifier "puVar16")) (; ";")) (declaration "code *pcVar17;" (type_identifier "code") (pointer_declarator "*pcVar17" (* "*") (identifier "pcVar17")) (; ";")) (declaration "code *pcVar18;" (type_identifier "code") (pointer_declarator "*pcVar18" (* "*") (identifier "pcVar18")) (; ";")) (declaration "undefined4 uStack_6c4;" (type_identifier "undefined4") (identifier "uStack_6c4") (; ";")) (declaration "uint uStack_6c0;" (type_identifier "uint") (identifier "uStack_6c0") (; ";")) (declaration "int *piStack_6bc;" (primitive_type "int") (pointer_declarator "*piStack_6bc" (* "*") (identifier "piStack_6bc")) (; ";")) (declaration "int aiStack_6a4 [20];" (primitive_type "int") (array_declarator "aiStack_6a4 [20]" (identifier "aiStack_6a4") ([ "[") (number_literal "20") (] "]")) (; ";")) (declaration "uint uStack_654;" (type_identifier "uint") (identifier "uStack_654") (; ";")) (declaration "undefined1 *puStack_650;" (type_identifier "undefined1") (pointer_declarator "*puStack_650" (* "*") (identifier "puStack_650")) (; ";")) (declaration "uint *puStack_64c;" (type_identifier "uint") (pointer_declarator "*puStack_64c" (* "*") (identifier "puStack_64c")) (; ";")) (declaration "uint uStack_648;" (type_identifier "uint") (identifier "uStack_648") (; ";")) (declaration "undefined1 *puStack_644;" (type_identifier "undefined1") (pointer_declarator "*puStack_644" (* "*") (identifier "puStack_644")) (; ";")) (declaration "int *piStack_640;" (primitive_type "int") (pointer_declarator "*piStack_640" (* "*") (identifier "piStack_640")) (; ";")) (declaration "int iStack_63c;" (primitive_type "int") (identifier "iStack_63c") (; ";")) (declaration "byte *pbStack_638;" (type_identifier "byte") (pointer_declarator "*pbStack_638" (* "*") (identifier "pbStack_638")) (; ";")) (declaration "code *pcStack_634;" (type_identifier "code") (pointer_declarator "*pcStack_634" (* "*") (identifier "pcStack_634")) (; ";")) (declaration "undefined4 uStack_620;" (type_identifier "undefined4") (identifier "uStack_620") (; ";")) (declaration "undefined4 uStack_61c;" (type_identifier "undefined4") (identifier "uStack_61c") (; ";")) (declaration "int iStack_618;" (primitive_type "int") (identifier "iStack_618") (; ";")) (declaration "undefined *puStack_610;" (type_identifier "undefined") (pointer_declarator "*puStack_610" (* "*") (identifier "puStack_610")) (; ";")) (declaration "int iStack_608;" (primitive_type "int") (identifier "iStack_608") (; ";")) (declaration "uint uStack_604;" (type_identifier "uint") (identifier "uStack_604") (; ";")) (declaration "uint uStack_600;" (type_identifier "uint") (identifier "uStack_600") (; ";")) (declaration "undefined4 uStack_5fc;" (type_identifier "undefined4") (identifier "uStack_5fc") (; ";")) (declaration "undefined1 auStack_5f4 [80];" (type_identifier "undefined1") (array_declarator "auStack_5f4 [80]" (identifier "auStack_5f4") ([ "[") (number_literal "80") (] "]")) (; ";")) (declaration "uint uStack_5a4;" (type_identifier "uint") (identifier "uStack_5a4") (; ";")) (declaration "byte bStack_5a0;" (type_identifier "byte") (identifier "bStack_5a0") (; ";")) (declaration "ushort uStack_59c;" (type_identifier "ushort") (identifier "uStack_59c") (; ";")) (declaration "undefined2 uStack_59a;" (type_identifier "undefined2") (identifier "uStack_59a") (; ";")) (declaration "undefined4 uStack_598;" (type_identifier "undefined4") (identifier "uStack_598") (; ";")) (declaration "int iStack_594;" (primitive_type "int") (identifier "iStack_594") (; ";")) (declaration "int iStack_590;" (primitive_type "int") (identifier "iStack_590") (; ";")) (declaration "int iStack_58c;" (primitive_type "int") (identifier "iStack_58c") (; ";")) (declaration "undefined4 uStack_588;" (type_identifier "undefined4") (identifier "uStack_588") (; ";")) (declaration "undefined1 uStack_580;" (type_identifier "undefined1") (identifier "uStack_580") (; ";")) (declaration "byte bStack_57f;" (type_identifier "byte") (identifier "bStack_57f") (; ";")) (declaration "byte bStack_57e;" (type_identifier "byte") (identifier "bStack_57e") (; ";")) (declaration "byte bStack_57d;" (type_identifier "byte") (identifier "bStack_57d") (; ";")) (declaration "byte bStack_579;" (type_identifier "byte") (identifier "bStack_579") (; ";")) (declaration "byte abStack_578 [212];" (type_identifier "byte") (array_declarator "abStack_578 [212]" (identifier "abStack_578") ([ "[") (number_literal "212") (] "]")) (; ";")) (declaration "int iStack_4a4;" (primitive_type "int") (identifier "iStack_4a4") (; ";")) (declaration "int iStack_4a0;" (primitive_type "int") (identifier "iStack_4a0") (; ";")) (declaration "uint uStack_49c;" (type_identifier "uint") (identifier "uStack_49c") (; ";")) (declaration "int iStack_498;" (primitive_type "int") (identifier "iStack_498") (; ";")) (declaration "undefined *puStack_494;" (type_identifier "undefined") (pointer_declarator "*puStack_494" (* "*") (identifier "puStack_494")) (; ";")) (declaration "uint uStack_490;" (type_identifier "uint") (identifier "uStack_490") (; ";")) (declaration "undefined1 *puStack_48c;" (type_identifier "undefined1") (pointer_declarator "*puStack_48c" (* "*") (identifier "puStack_48c")) (; ";")) (declaration "int iStack_488;" (primitive_type "int") (identifier "iStack_488") (; ";")) (declaration "undefined1 uStack_44c;" (type_identifier "undefined1") (identifier "uStack_44c") (; ";")) (declaration "byte local_44b;" (type_identifier "byte") (identifier "local_44b") (; ";")) (declaration "undefined1 auStack_444 [9];" (type_identifier "undefined1") (array_declarator "auStack_444 [9]" (identifier "auStack_444") ([ "[") (number_literal "9") (] "]")) (; ";")) (declaration "undefined1 auStack_43b [23];" (type_identifier "undefined1") (array_declarator "auStack_43b [23]" (identifier "auStack_43b") ([ "[") (number_literal "23") (] "]")) (; ";")) (declaration "undefined1 auStack_424 [1023];" (type_identifier "undefined1") (array_declarator "auStack_424 [1023]" (identifier "auStack_424") ([ "[") (number_literal "1023") (] "]")) (; ";")) (declaration "undefined1 local_25;" (type_identifier "undefined1") (identifier "local_25") (; ";")) (declaration "byte *local_24;" (type_identifier "byte") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_00029128;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00029128" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_00029128")) (; ";")) (expression_statement "uVar2 = *(uint *)(param_1 + 0x1c);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x1c)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 0x1c)" (* "*") (cast_expression "(uint *)(param_1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "uVar6 = *(uint *)(param_1 + 0x18);" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x18)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "local_24 = *(byte **)PTR___stack_chk_guard_00029128;" (assignment_expression "local_24 = *(byte **)PTR___stack_chk_guard_00029128" (identifier "local_24") (= "=") (pointer_expression "*(byte **)PTR___stack_chk_guard_00029128" (* "*") (cast_expression "(byte **)PTR___stack_chk_guard_00029128" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_00029128")))) (; ";")) (expression_statement "uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;" (assignment_expression "uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff" (identifier "uVar9") (= "=") (binary_expression "uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff" (binary_expression "uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00" (binary_expression "uVar6 << 0x14" (identifier "uVar6") (<< "<<") (number_literal "0x14")) (| "|") (binary_expression "uVar2 >> 0xc & 0xffffff00" (binary_expression "uVar2 >> 0xc" (identifier "uVar2") (>> ">>") (number_literal "0xc")) (& "&") (number_literal "0xffffff00"))) (| "|") (binary_expression "uVar2 & 0xff" (identifier "uVar2") (& "&") (number_literal "0xff")))) (; ";")) (if_statement "if ((*(uint *)(param_1 + 0xc) & 2) == 0) {\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }\n  else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0xc) & 2) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0xc) & 2) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0xc) & 2)" (( "(") (binary_expression "*(uint *)(param_1 + 0xc) & 2" (pointer_expression "*(uint *)(param_1 + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }\n  }" ({ "{") (if_statement "if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }\n    else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0xc) & 0x21) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0xc) & 0x21) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0xc) & 0x21)" (( "(") (binary_expression "*(uint *)(param_1 + 0xc) & 0x21" (pointer_expression "*(uint *)(param_1 + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0x21")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);\n    }" ({ "{") (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" (( "(") (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" (* "*") (cast_expression "(code *)PTR___snprintf_chk_0002914c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___snprintf_chk_0002914c"))) () ")")) (argument_list "(auStack_424,0x400)" (( "(") (identifier "auStack_424") (, ",") (number_literal "0x400") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);\n      if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }\n      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    }" ({ "{") (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" (( "(") (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" (* "*") (cast_expression "(code *)PTR___snprintf_chk_0002914c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___snprintf_chk_0002914c"))) () ")")) (argument_list "(auStack_424,0x400,1,0x400)" (( "(") (identifier "auStack_424") (, ",") (number_literal "0x400") (, ",") (number_literal "1") (, ",") (number_literal "0x400") () ")"))) (; ";")) (expression_statement "unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);" (assignment_expression "unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0)" (identifier "unaff_s6") (= "=") (call_expression "(*(code *)PTR_open64_000290d4)(auStack_424,0)" (parenthesized_expression "(*(code *)PTR_open64_000290d4)" (( "(") (pointer_expression "*(code *)PTR_open64_000290d4" (* "*") (cast_expression "(code *)PTR_open64_000290d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_open64_000290d4"))) () ")")) (argument_list "(auStack_424,0)" (( "(") (identifier "auStack_424") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (-1 < unaff_s6) {\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }" (if "if") (parenthesized_expression "(-1 < unaff_s6)" (( "(") (binary_expression "-1 < unaff_s6" (number_literal "-1") (< "<") (identifier "unaff_s6")) () ")")) (compound_statement "{\n        local_25 = 0;\n        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);\n        if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }\n        (*(code *)PTR_close_00029078)(unaff_s6);\n      }" ({ "{") (expression_statement "local_25 = 0;" (assignment_expression "local_25 = 0" (identifier "local_25") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);" (assignment_expression "iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff)" (parenthesized_expression "(*(code *)PTR_read_00029134)" (( "(") (pointer_expression "*(code *)PTR_read_00029134" (* "*") (cast_expression "(code *)PTR_read_00029134" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_read_00029134"))) () ")")) (argument_list "(unaff_s6,auStack_424,0x3ff)" (( "(") (identifier "unaff_s6") (, ",") (identifier "auStack_424") (, ",") (number_literal "0x3ff") () ")")))) (; ";")) (if_statement "if (iVar3 < 0) {\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }\n        else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);\n        }" ({ "{") (expression_statement "(*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);" (call_expression "(*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4)" (parenthesized_expression "(*(code *)PTR_perror_00029108)" (( "(") (pointer_expression "*(code *)PTR_perror_00029108" (* "*") (cast_expression "(code *)PTR_perror_00029108" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_perror_00029108"))) () ")")) (argument_list "(PTR_00029054 + 0x62b4)" (( "(") (binary_expression "PTR_00029054 + 0x62b4" (identifier "PTR_00029054") (+ "+") (number_literal "0x62b4")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }" (else "else") (compound_statement "{\n          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);\n          uVar9 = uVar9 - iVar3;\n        }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);" (assignment_expression "iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strtoul_000290e8)(auStack_424,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_000290e8)" (( "(") (pointer_expression "*(code *)PTR_strtoul_000290e8" (* "*") (cast_expression "(code *)PTR_strtoul_000290e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtoul_000290e8"))) () ")")) (argument_list "(auStack_424,0,10)" (( "(") (identifier "auStack_424") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "uVar9 = uVar9 - iVar3;" (assignment_expression "uVar9 = uVar9 - iVar3" (identifier "uVar9") (= "=") (binary_expression "uVar9 - iVar3" (identifier "uVar9") (- "-") (identifier "iVar3"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_close_00029078)(unaff_s6);" (call_expression "(*(code *)PTR_close_00029078)(unaff_s6)" (parenthesized_expression "(*(code *)PTR_close_00029078)" (( "(") (pointer_expression "*(code *)PTR_close_00029078" (* "*") (cast_expression "(code *)PTR_close_00029078" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_00029078"))) () ")")) (argument_list "(unaff_s6)" (( "(") (identifier "unaff_s6") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" (( "(") (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" (* "*") (cast_expression "(code *)PTR___snprintf_chk_0002914c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___snprintf_chk_0002914c"))) () ")")) (argument_list "(auStack_424,0x400,1,0x400)" (( "(") (identifier "auStack_424") (, ",") (number_literal "0x400") (, ",") (number_literal "1") (, ",") (number_literal "0x400") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }" (else "else") (compound_statement "{\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n  }" ({ "{") (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" (( "(") (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" (* "*") (cast_expression "(code *)PTR___snprintf_chk_0002914c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___snprintf_chk_0002914c"))) () ")")) (argument_list "(auStack_424,0x400,1,0x400)" (( "(") (identifier "auStack_424") (, ",") (number_literal "0x400") (, ",") (number_literal "1") (, ",") (number_literal "0x400") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);" (assignment_expression "iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2)" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00029084)" (( "(") (pointer_expression "*(code *)PTR_sg_cmds_open_device_00029084" (* "*") (cast_expression "(code *)PTR_sg_cmds_open_device_00029084" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_cmds_open_device_00029084"))) () ")")) (argument_list "(auStack_424,0,param_2)" (( "(") (identifier "auStack_424") (, ",") (number_literal "0") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x10) = iVar3;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar3" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 < 0) {\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }\n  else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    puVar7 = (undefined1 *)0x400;\n    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);\n    (*(code *)PTR_perror_00029108)(auStack_424);\n    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));\n    iVar3 = -iVar3;\n  }" ({ "{") (expression_statement "puVar7 = (undefined1 *)0x400;" (assignment_expression "puVar7 = (undefined1 *)0x400" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)0x400" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x400"))) (; ";")) (expression_statement "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);" (call_expression "(*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400)" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0002914c)" (( "(") (pointer_expression "*(code *)PTR___snprintf_chk_0002914c" (* "*") (cast_expression "(code *)PTR___snprintf_chk_0002914c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___snprintf_chk_0002914c"))) () ")")) (argument_list "(auStack_424,0x400,1,0x400)" (( "(") (identifier "auStack_424") (, ",") (number_literal "0x400") (, ",") (number_literal "1") (, ",") (number_literal "0x400") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_perror_00029108)(auStack_424);" (call_expression "(*(code *)PTR_perror_00029108)(auStack_424)" (parenthesized_expression "(*(code *)PTR_perror_00029108)" (( "(") (pointer_expression "*(code *)PTR_perror_00029108" (* "*") (cast_expression "(code *)PTR_perror_00029108" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_perror_00029108"))) () ")")) (argument_list "(auStack_424)" (( "(") (identifier "auStack_424") () ")"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));" (assignment_expression "iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10))" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000290b8)" (( "(") (pointer_expression "*(code *)PTR_sg_convert_errno_000290b8" (* "*") (cast_expression "(code *)PTR_sg_convert_errno_000290b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_convert_errno_000290b8"))) () ")")) (argument_list "(-*(int *)(param_1 + 0x10))" (( "(") (unary_expression "-*(int *)(param_1 + 0x10)" (- "-") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (; ";")) (expression_statement "iVar3 = -iVar3;" (assignment_expression "iVar3 = -iVar3" (identifier "iVar3") (= "=") (unary_expression "-iVar3" (- "-") (identifier "iVar3"))) (; ";")) (} "}")) (else_clause "else {\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }" (else "else") (compound_statement "{\n    puVar7 = &uStack_44c;\n    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);\n    if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }\n  }" ({ "{") (expression_statement "puVar7 = &uStack_44c;" (assignment_expression "puVar7 = &uStack_44c" (identifier "puVar7") (= "=") (pointer_expression "&uStack_44c" (& "&") (identifier "uStack_44c"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);" (assignment_expression "iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2)" (parenthesized_expression "(*(code *)PTR_sg_simple_inquiry_00029150)" (( "(") (pointer_expression "*(code *)PTR_sg_simple_inquiry_00029150" (* "*") (cast_expression "(code *)PTR_sg_simple_inquiry_00029150" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_simple_inquiry_00029150"))) () ")")) (argument_list "(iVar3,puVar7,0,param_2)" (( "(") (identifier "iVar3") (, ",") (identifier "puVar7") (, ",") (number_literal "0") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }\n    else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(uint *)(param_1 + 0x14) = (uint)local_44b;\n      if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }\n      iVar3 = *(int *)(param_1 + 0x10);\n    }" ({ "{") (expression_statement "*(uint *)(param_1 + 0x14) = (uint)local_44b;" (assignment_expression "*(uint *)(param_1 + 0x14) = (uint)local_44b" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (cast_expression "(uint)local_44b" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_44b"))) (; ";")) (if_statement "if (param_2 != 0) {\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar7 = (undefined1 *)(param_1 + 0x30);\n        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);\n      }" ({ "{") (expression_statement "puVar7 = (undefined1 *)(param_1 + 0x30);" (assignment_expression "puVar7 = (undefined1 *)(param_1 + 0x30)" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);" (call_expression "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b)" (parenthesized_expression "(*(code *)PTR_pr2serr_00029110)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_00029110" (* "*") (cast_expression "(code *)PTR_pr2serr_00029110" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_00029110"))) () ")")) (argument_list "(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b)" (( "(") (binary_expression "PTR_00029054 + 0x6330" (identifier "PTR_00029054") (+ "+") (number_literal "0x6330")) (, ",") (identifier "puVar7") (, ",") (identifier "auStack_444") (, ",") (identifier "auStack_43b") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }" (else "else") (compound_statement "{\n      puVar7 = auStack_424;\n      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);\n      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));\n      iVar3 = -1;\n      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;\n    }" ({ "{") (expression_statement "puVar7 = auStack_424;" (assignment_expression "puVar7 = auStack_424" (identifier "puVar7") (= "=") (identifier "auStack_424")) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);" (call_expression "(*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318)" (parenthesized_expression "(*(code *)PTR_pr2serr_00029110)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_00029110" (* "*") (cast_expression "(code *)PTR_pr2serr_00029110" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_00029110"))) () ")")) (argument_list "(PTR_00029054 + 0x6318)" (( "(") (binary_expression "PTR_00029054 + 0x6318" (identifier "PTR_00029054") (+ "+") (number_literal "0x6318")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));" (call_expression "(*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_00029120)" (( "(") (pointer_expression "*(code *)PTR_sg_cmds_close_device_00029120" (* "*") (cast_expression "(code *)PTR_sg_cmds_close_device_00029120" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_cmds_close_device_00029120"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" (identifier "iVar3") (= "=") (number_literal "-1")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (} "}")))) (if_statement "if (local_24 == *(byte **)puVar1) {\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(local_24 == *(byte **)puVar1)" (( "(") (binary_expression "local_24 == *(byte **)puVar1" (identifier "local_24") (== "==") (pointer_expression "*(byte **)puVar1" (* "*") (cast_expression "(byte **)puVar1" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return iVar3;\n  }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "pbVar15 = local_24;" (assignment_expression "pbVar15 = local_24" (identifier "pbVar15") (= "=") (identifier "local_24")) (; ";")) (expression_statement "puVar16 = PTR___stack_chk_fail_00029114;" (assignment_expression "puVar16 = PTR___stack_chk_fail_00029114" (identifier "puVar16") (= "=") (identifier "PTR___stack_chk_fail_00029114")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00029114)();" (call_expression "(*(code *)PTR___stack_chk_fail_00029114)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00029114)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00029114" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00029114" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00029114"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puStack_610 = puVar16 + 0x1d138;" (assignment_expression "puStack_610 = puVar16 + 0x1d138" (identifier "puStack_610") (= "=") (binary_expression "puVar16 + 0x1d138" (identifier "puVar16") (+ "+") (number_literal "0x1d138"))) (; ";")) (expression_statement "piVar12 = *(int **)(puVar16 + 0x15240);" (assignment_expression "piVar12 = *(int **)(puVar16 + 0x15240)" (identifier "piVar12") (= "=") (pointer_expression "*(int **)(puVar16 + 0x15240)" (* "*") (cast_expression "(int **)(puVar16 + 0x15240)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x15240)" (( "(") (binary_expression "puVar16 + 0x15240" (identifier "puVar16") (+ "+") (number_literal "0x15240")) () ")"))))) (; ";")) (expression_statement "puVar8 = *(undefined1 **)(puVar16 + 0x15160);" (assignment_expression "puVar8 = *(undefined1 **)(puVar16 + 0x15160)" (identifier "puVar8") (= "=") (pointer_expression "*(undefined1 **)(puVar16 + 0x15160)" (* "*") (cast_expression "(undefined1 **)(puVar16 + 0x15160)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x15160)" (( "(") (binary_expression "puVar16 + 0x15160" (identifier "puVar16") (+ "+") (number_literal "0x15160")) () ")"))))) (; ";")) (expression_statement "puStack_494 = puVar1;" (assignment_expression "puStack_494 = puVar1" (identifier "puStack_494") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "iStack_4a4 = *piVar12;" (assignment_expression "iStack_4a4 = *piVar12" (identifier "iStack_4a4") (= "=") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (; ";")) (expression_statement "iVar3 = *(int *)(puVar8 + -0x6a20);" (assignment_expression "iVar3 = *(int *)(puVar8 + -0x6a20)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puVar8 + -0x6a20)" (* "*") (cast_expression "(int *)(puVar8 + -0x6a20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x6a20)" (( "(") (binary_expression "puVar8 + -0x6a20" (identifier "puVar8") (+ "+") (number_literal "-0x6a20")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n    iVar3 = iVar3 + -1;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = iVar3 + -1;\n  }" ({ "{") (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "uVar10 = *(uint *)(pbVar15 + 0xc);" (assignment_expression "uVar10 = *(uint *)(pbVar15 + 0xc)" (identifier "uVar10") (= "=") (pointer_expression "*(uint *)(pbVar15 + 0xc)" (* "*") (cast_expression "(uint *)(pbVar15 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar15 + 0xc)" (( "(") (binary_expression "pbVar15 + 0xc" (identifier "pbVar15") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if ((uVar10 & 2) != 0) {\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }" (if "if") (parenthesized_expression "((uVar10 & 2) != 0)" (( "(") (binary_expression "(uVar10 & 2) != 0" (parenthesized_expression "(uVar10 & 2)" (( "(") (binary_expression "uVar10 & 2" (identifier "uVar10") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = *(int *)(pbVar15 + 0x14);\n    if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }\n  }" ({ "{") (expression_statement "iVar4 = *(int *)(pbVar15 + 0x14);" (assignment_expression "iVar4 = *(int *)(pbVar15 + 0x14)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(pbVar15 + 0x14)" (* "*") (cast_expression "(int *)(pbVar15 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar15 + 0x14)" (( "(") (binary_expression "pbVar15 + 0x14" (identifier "pbVar15") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((iVar4 == 0) || (iVar4 == 0xe)) {\n      uVar10 = uVar10 | 0x20;\n    }\n    else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }" (if "if") (parenthesized_expression "((iVar4 == 0) || (iVar4 == 0xe))" (( "(") (binary_expression "(iVar4 == 0) || (iVar4 == 0xe)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar4 == 0xe)" (( "(") (binary_expression "iVar4 == 0xe" (identifier "iVar4") (== "==") (number_literal "0xe")) () ")"))) () ")")) (compound_statement "{\n      uVar10 = uVar10 | 0x20;\n    }" ({ "{") (expression_statement "uVar10 = uVar10 | 0x20;" (assignment_expression "uVar10 = uVar10 | 0x20" (identifier "uVar10") (= "=") (binary_expression "uVar10 | 0x20" (identifier "uVar10") (| "|") (number_literal "0x20"))) (; ";")) (} "}")) (else_clause "else if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }" (else "else") (if_statement "if (iVar4 == 1) {\n      uVar10 = uVar10 | 0x10;\n    }" (if "if") (parenthesized_expression "(iVar4 == 1)" (( "(") (binary_expression "iVar4 == 1" (identifier "iVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      uVar10 = uVar10 | 0x10;\n    }" ({ "{") (expression_statement "uVar10 = uVar10 | 0x10;" (assignment_expression "uVar10 = uVar10 | 0x10" (identifier "uVar10") (= "=") (binary_expression "uVar10 | 0x10" (identifier "uVar10") (| "|") (number_literal "0x10"))) (; ";")) (} "}"))))) (} "}"))) (expression_statement "uStack_61c = 1;" (assignment_expression "uStack_61c = 1" (identifier "uStack_61c") (= "=") (number_literal "1")) (; ";")) (expression_statement "uStack_620 = 0x100;" (assignment_expression "uStack_620 = 0x100" (identifier "uStack_620") (= "=") (number_literal "0x100")) (; ";")) (expression_statement "iStack_618 = iVar3;" (assignment_expression "iStack_618 = iVar3" (identifier "iStack_618") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iStack_4a0 = param_1;" (assignment_expression "iStack_4a0 = param_1" (identifier "iStack_4a0") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uStack_49c = uVar9;" (assignment_expression "uStack_49c = uVar9" (identifier "uStack_49c") (= "=") (identifier "uVar9")) (; ";")) (expression_statement "iStack_498 = param_2;" (assignment_expression "iStack_498 = param_2" (identifier "iStack_498") (= "=") (identifier "param_2")) (; ";")) (expression_statement "uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;" (assignment_expression "uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14" (identifier "uStack_490") (= "=") (binary_expression "uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14" (binary_expression "uVar6 & 0xfffff000" (identifier "uVar6") (& "&") (number_literal "0xfffff000")) (| "|") (binary_expression "(uVar2 << 0xc) >> 0x14" (parenthesized_expression "(uVar2 << 0xc)" (( "(") (binary_expression "uVar2 << 0xc" (identifier "uVar2") (<< "<<") (number_literal "0xc")) () ")")) (>> ">>") (number_literal "0x14")))) (; ";")) (expression_statement "puStack_48c = auStack_424;" (assignment_expression "puStack_48c = auStack_424" (identifier "puStack_48c") (= "=") (identifier "auStack_424")) (; ";")) (expression_statement "iStack_488 = unaff_s6;" (assignment_expression "iStack_488 = unaff_s6" (identifier "iStack_488") (= "=") (identifier "unaff_s6")) (; ";")) (expression_statement "iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);" (assignment_expression "iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4)" (parenthesized_expression "(**(code **)(puVar16 + 0x151c8))" (( "(") (pointer_expression "**(code **)(puVar16 + 0x151c8)" (* "*") (pointer_expression "*(code **)(puVar16 + 0x151c8)" (* "*") (cast_expression "(code **)(puVar16 + 0x151c8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar16 + 0x151c8)" (( "(") (binary_expression "puVar16 + 0x151c8" (identifier "puVar16") (+ "+") (number_literal "0x151c8")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4)" (( "(") (pointer_expression "*(undefined4 *)(pbVar15 + 0x10)" (* "*") (cast_expression "(undefined4 *)(pbVar15 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar15 + 0x10)" (( "(") (binary_expression "pbVar15 + 0x10" (identifier "pbVar15") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (number_literal "3") (, ",") (number_literal "0") (, ",") (pointer_expression "&uStack_5a4" (& "&") (identifier "uStack_5a4")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }\n  else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }\n    if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }\n    iVar4 = *(int *)(puVar8 + -0x6a20);\n    iVar3 = -1;\n    if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }\n    *(int *)(pbVar15 + 0x24) = iVar3;\n    if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }\n    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);\n    if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }\n    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);\n    iVar3 = 0;\n  }" ({ "{") (if_statement "if (0x100 < uStack_5a4) {\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }" (if "if") (parenthesized_expression "(0x100 < uStack_5a4)" (( "(") (binary_expression "0x100 < uStack_5a4" (number_literal "0x100") (< "<") (identifier "uStack_5a4")) () ")")) (compound_statement "{\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);\n    }" ({ "{") (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6380" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6380")) (, ",") (identifier "uStack_5a4") (, ",") (number_literal "0x100") () ")"))) (; ";")) (} "}"))) (if_statement "if (2 < *(int *)(puVar8 + -0x6a20)) {\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }" (if "if") (parenthesized_expression "(2 < *(int *)(puVar8 + -0x6a20))" (( "(") (binary_expression "2 < *(int *)(puVar8 + -0x6a20)" (number_literal "2") (< "<") (pointer_expression "*(int *)(puVar8 + -0x6a20)" (* "*") (cast_expression "(int *)(puVar8 + -0x6a20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x6a20)" (( "(") (binary_expression "puVar8 + -0x6a20" (identifier "puVar8") (+ "+") (number_literal "-0x6a20")) () ")"))))) () ")")) (compound_statement "{\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);\n      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);\n    }" ({ "{") (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x63c8)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x63c8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x63c8")) () ")"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);" (call_expression "(**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f94))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f94)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f94)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f94)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f94)" (( "(") (binary_expression "puStack_610 + -0x7f94" (identifier "puStack_610") (+ "+") (number_literal "-0x7f94")) () ")"))))) () ")")) (argument_list "(&uStack_5a4,uStack_5a4,1)" (( "(") (pointer_expression "&uStack_5a4" (& "&") (identifier "uStack_5a4")) (, ",") (identifier "uStack_5a4") (, ",") (number_literal "1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = *(int *)(puVar8 + -0x6a20);" (assignment_expression "iVar4 = *(int *)(puVar8 + -0x6a20)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(puVar8 + -0x6a20)" (* "*") (cast_expression "(int *)(puVar8 + -0x6a20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x6a20)" (( "(") (binary_expression "puVar8 + -0x6a20" (identifier "puVar8") (+ "+") (number_literal "-0x6a20")) () ")"))))) (; ";")) (expression_statement "iVar3 = -1;" (assignment_expression "iVar3 = -1" (identifier "iVar3") (= "=") (number_literal "-1")) (; ";")) (if_statement "if (iStack_594 != 0) {\n      iVar3 = iStack_594;\n    }" (if "if") (parenthesized_expression "(iStack_594 != 0)" (( "(") (binary_expression "iStack_594 != 0" (identifier "iStack_594") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = iStack_594;\n    }" ({ "{") (expression_statement "iVar3 = iStack_594;" (assignment_expression "iVar3 = iStack_594" (identifier "iVar3") (= "=") (identifier "iStack_594")) (; ";")) (} "}"))) (expression_statement "*(int *)(pbVar15 + 0x24) = iVar3;" (assignment_expression "*(int *)(pbVar15 + 0x24) = iVar3" (pointer_expression "*(int *)(pbVar15 + 0x24)" (* "*") (cast_expression "(int *)(pbVar15 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar15 + 0x24)" (( "(") (binary_expression "pbVar15 + 0x24" (identifier "pbVar15") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar4 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }\n    else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fd8);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fd8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puStack_610 + -0x7fd8)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fd8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fd8)" (( "(") (binary_expression "puStack_610 + -0x7fd8" (identifier "puStack_610") (+ "+") (number_literal "-0x7fd8")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar3 + -0x6fec) < 0) {\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + -0x6fec) < 0)" (( "(") (binary_expression "*(int *)(iVar3 + -0x6fec) < 0" (pointer_expression "*(int *)(iVar3 + -0x6fec)" (* "*") (cast_expression "(int *)(iVar3 + -0x6fec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0x6fec)" (( "(") (binary_expression "iVar3 + -0x6fec" (identifier "iVar3") (+ "+") (number_literal "-0x6fec")) () ")")))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00014094:\n        uVar5 = 2;\n        if (iStack_58c != 0) {\n          uVar5 = 0;\n        }\n        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;\n        goto LAB_0001409c;\n      }" ({ "{") (labeled_statement "LAB_00014094:\n        uVar5 = 2;" (statement_identifier "LAB_00014094") (: ":") (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" (identifier "uVar5") (= "=") (number_literal "2")) (; ";"))) (if_statement "if (iStack_58c != 0) {\n          uVar5 = 0;\n        }" (if "if") (parenthesized_expression "(iStack_58c != 0)" (( "(") (binary_expression "iStack_58c != 0" (identifier "iStack_58c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar5 = 0;\n        }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar3 + -0x6fec) = uVar5;" (assignment_expression "*(undefined4 *)(iVar3 + -0x6fec) = uVar5" (pointer_expression "*(undefined4 *)(iVar3 + -0x6fec)" (* "*") (cast_expression "(undefined4 *)(iVar3 + -0x6fec)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0x6fec)" (( "(") (binary_expression "iVar3 + -0x6fec" (identifier "iVar3") (+ "+") (number_literal "-0x6fec")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (goto_statement "goto LAB_0001409c;" (goto "goto") (statement_identifier "LAB_0001409c") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" (else "else") (compound_statement "{\n      iStack_608 = iStack_590;\n      uStack_604 = (uint)bStack_5a0;\n      uStack_600 = (uint)uStack_59c;\n      (**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);\n      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);\n      iVar3 = *(int *)(puStack_610 + -0x7fd8);\n      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;\nLAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }\n    }" ({ "{") (expression_statement "iStack_608 = iStack_590;" (assignment_expression "iStack_608 = iStack_590" (identifier "iStack_608") (= "=") (identifier "iStack_590")) (; ";")) (expression_statement "uStack_604 = (uint)bStack_5a0;" (assignment_expression "uStack_604 = (uint)bStack_5a0" (identifier "uStack_604") (= "=") (cast_expression "(uint)bStack_5a0" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bStack_5a0"))) (; ";")) (expression_statement "uStack_600 = (uint)uStack_59c;" (assignment_expression "uStack_600 = (uint)uStack_59c" (identifier "uStack_600") (= "=") (cast_expression "(uint)uStack_59c" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uStack_59c"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6408" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6408")) (, ",") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x63e4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x63e4")) () ")"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x641c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x641c")) (, ",") (binary_expression "uStack_604 & 1" (identifier "uStack_604") (& "&") (number_literal "1")) () ")"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6448" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6448")) (, ",") (identifier "uStack_600") () ")"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6474" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6474")) (, ",") (identifier "uStack_59a") () ")"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64a0" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x64a0")) (, ",") (identifier "uStack_598") () ")"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64c8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x64c8")) (, ",") (identifier "iStack_594") () ")"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x64e8" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x64e8")) (, ",") (identifier "iStack_608") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fd8);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fd8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puStack_610 + -0x7fd8)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fd8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fd8)" (( "(") (binary_expression "puStack_610 + -0x7fd8" (identifier "puStack_610") (+ "+") (number_literal "-0x7fd8")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;" (if "if") (parenthesized_expression "(*(int *)(iVar3 + -0x6fec) < 0)" (( "(") (binary_expression "*(int *)(iVar3 + -0x6fec) < 0" (pointer_expression "*(int *)(iVar3 + -0x6fec)" (* "*") (cast_expression "(int *)(iVar3 + -0x6fec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0x6fec)" (( "(") (binary_expression "iVar3 + -0x6fec" (identifier "iVar3") (+ "+") (number_literal "-0x6fec")) () ")")))) (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_00014094;" (goto "goto") (statement_identifier "LAB_00014094") (; ";"))) (labeled_statement "LAB_0001409c:\n      if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" (statement_identifier "LAB_0001409c") (: ":") (if_statement "if (*(int *)(puVar8 + -0x6a20) != 0) {\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" (if "if") (parenthesized_expression "(*(int *)(puVar8 + -0x6a20) != 0)" (( "(") (binary_expression "*(int *)(puVar8 + -0x6a20) != 0" (pointer_expression "*(int *)(puVar8 + -0x6a20)" (* "*") (cast_expression "(int *)(puVar8 + -0x6a20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x6a20)" (( "(") (binary_expression "puVar8 + -0x6a20" (identifier "puVar8") (+ "+") (number_literal "-0x6a20")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);\n        if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }\n        if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }\n        if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }\n        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);\n      }" ({ "{") (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,\n                   *(undefined4 *)(iVar3 + -0x6fec))" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x650c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x650c")) (, ",") (identifier "iStack_58c") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + -0x6fec)" (* "*") (cast_expression "(undefined4 *)(iVar3 + -0x6fec)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0x6fec)" (( "(") (binary_expression "iVar3 + -0x6fec" (identifier "iVar3") (+ "+") (number_literal "-0x6fec")) () ")")))) () ")"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x653c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x653c")) (, ",") (identifier "uStack_588") () ")"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x656c" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x656c")) (, ",") (identifier "uStack_580") () ")"))) (; ";")) (if_statement "if (bStack_57f < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" (if "if") (parenthesized_expression "(bStack_57f < 0x1f)" (( "(") (binary_expression "bStack_57f < 0x1f" (identifier "bStack_57f") (< "<") (number_literal "0x1f")) () ")")) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));\n        }" ({ "{") (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f))" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x65bc" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x65bc")) (, ",") (binary_expression "1 << (bStack_57f & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(bStack_57f & 0x1f)" (( "(") (binary_expression "bStack_57f & 0x1f" (identifier "bStack_57f") (& "&") (number_literal "0x1f")) () ")"))) () ")"))) (; ";")) (} "}")) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" (else "else") (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);\n        }" ({ "{") (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 26000)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 26000" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "26000")) () ")"))) (; ";")) (} "}")))) (if_statement "if (bStack_57e < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" (if "if") (parenthesized_expression "(bStack_57e < 0x1f)" (( "(") (binary_expression "bStack_57e < 0x1f" (identifier "bStack_57e") (< "<") (number_literal "0x1f")) () ")")) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));\n        }" ({ "{") (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f))" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6610" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6610")) (, ",") (binary_expression "1 << (bStack_57e & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(bStack_57e & 0x1f)" (( "(") (binary_expression "bStack_57e & 0x1f" (identifier "bStack_57e") (& "&") (number_literal "0x1f")) () ")"))) () ")"))) (; ";")) (} "}")) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" (else "else") (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);\n        }" ({ "{") (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x65e4)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x65e4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x65e4")) () ")"))) (; ";")) (} "}")))) (if_statement "if (bStack_57d < 0x1f) {\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }\n        else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" (if "if") (parenthesized_expression "(bStack_57d < 0x1f)" (( "(") (binary_expression "bStack_57d < 0x1f" (identifier "bStack_57d") (< "<") (number_literal "0x1f")) () ")")) (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));\n        }" ({ "{") (expression_statement "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));" (call_expression "(**(code **)(puStack_610 + -0x7f10))\n                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f))" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f))" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6660" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6660")) (, ",") (binary_expression "1 << (bStack_57d & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(bStack_57d & 0x1f)" (( "(") (binary_expression "bStack_57d & 0x1f" (identifier "bStack_57d") (& "&") (number_literal "0x1f")) () ")"))) () ")"))) (; ";")) (} "}")) (else_clause "else {\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" (else "else") (compound_statement "{\n          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);\n        }" ({ "{") (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6638)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6638" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6638")) () ")"))) (; ";")) (} "}")))) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6688)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6688" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6688")) () ")"))) (; ";")) (} "}")))) (} "}")))) (expression_statement "*(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);" (assignment_expression "*(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f)" (pointer_expression "*(int *)(pbVar15 + 0x20)" (* "*") (cast_expression "(int *)(pbVar15 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar15 + 0x20)" (( "(") (binary_expression "pbVar15 + 0x20" (identifier "pbVar15") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "1 << (bStack_57f & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(bStack_57f & 0x1f)" (( "(") (binary_expression "bStack_57f & 0x1f" (identifier "bStack_57f") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (bStack_579 == 0) {\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }\n    else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" (if "if") (parenthesized_expression "(bStack_579 == 0)" (( "(") (binary_expression "bStack_579 == 0" (identifier "bStack_579") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iStack_594;\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fcc);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fcc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")"))))) (; ";")) (expression_statement "iVar4 = iStack_594;" (assignment_expression "iVar4 = iStack_594" (identifier "iVar4") (= "=") (identifier "iStack_594")) (; ";")) (} "}")) (else_clause "else {\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" (else "else") (compound_statement "{\n      pbVar15 = abStack_578;\n      iVar4 = *(int *)(puStack_610 + -0x7fc8);\n      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);\n      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;\n      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);\n      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;\n      do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);\n      iVar3 = *(int *)(puStack_610 + -0x7fcc);\n      iVar4 = iVar4 + -0x7b40;\n    }" ({ "{") (expression_statement "pbVar15 = abStack_578;" (assignment_expression "pbVar15 = abStack_578" (identifier "pbVar15") (= "=") (identifier "abStack_578")) (; ";")) (expression_statement "iVar4 = *(int *)(puStack_610 + -0x7fc8);" (assignment_expression "iVar4 = *(int *)(puStack_610 + -0x7fc8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(puStack_610 + -0x7fc8)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fc8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fc8)" (( "(") (binary_expression "puStack_610 + -0x7fc8" (identifier "puStack_610") (+ "+") (number_literal "-0x7fc8")) () ")"))))) (; ";")) (expression_statement "uStack_604 = *(uint *)(puStack_610 + -0x7fcc);" (assignment_expression "uStack_604 = *(uint *)(puStack_610 + -0x7fcc)" (identifier "uStack_604") (= "=") (pointer_expression "*(uint *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(uint *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")"))))) (; ";")) (expression_statement "iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;" (assignment_expression "iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4" (identifier "iStack_608") (= "=") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6bc4" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6bc4"))) (; ";")) (expression_statement "uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);" (assignment_expression "uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc)" (identifier "uStack_5fc") (= "=") (pointer_expression "*(undefined4 *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(undefined4 *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")"))))) (; ";")) (expression_statement "uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;" (assignment_expression "uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78" (identifier "uStack_600") (= "=") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6b78" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6b78"))) (; ";")) (do_statement "do {\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);" (do "do") (compound_statement "{\n        if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }\n        (**(code **)(puStack_610 + -0x7f10))(iStack_608);\n        pbVar15 = pbVar15 + 1;\n      }" ({ "{") (if_statement "if (*pbVar15 < 0xff) {\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }" (if "if") (parenthesized_expression "(*pbVar15 < 0xff)" (( "(") (binary_expression "*pbVar15 < 0xff" (pointer_expression "*pbVar15" (* "*") (identifier "pbVar15")) (< "<") (number_literal "0xff")) () ")")) (compound_statement "{\n                    \n                    \n          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();\n          return iVar3;\n        }" ({ "{") (expression_statement "iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();" (assignment_expression "iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))()" (identifier "iVar3") (= "=") (call_expression "(*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))()" (parenthesized_expression "(*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))" (( "(") (pointer_expression "*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4))" (* "*") (cast_expression "(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4))" (( "(") (binary_expression "puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" (identifier "puStack_610") (+ "+") (pointer_expression "*(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" (* "*") (cast_expression "(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)" (( "(") (binary_expression "iVar4 + -0x7b40 + (uint)*pbVar15 * 4" (binary_expression "iVar4 + -0x7b40" (identifier "iVar4") (+ "+") (number_literal "-0x7b40")) (+ "+") (binary_expression "(uint)*pbVar15 * 4" (binary_expression "(uint)*pbVar15" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar15")) (* "*") (number_literal "4"))) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(iStack_608);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(iStack_608)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(iStack_608)" (( "(") (identifier "iStack_608") () ")"))) (; ";")) (expression_statement "pbVar15 = pbVar15 + 1;" (assignment_expression "pbVar15 = pbVar15 + 1" (identifier "pbVar15") (= "=") (binary_expression "pbVar15 + 1" (identifier "pbVar15") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579)" (( "(") (binary_expression "pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579" (binary_expression "pbVar15 + (-0x2c - (int)&uStack_5a4)" (identifier "pbVar15") (+ "+") (parenthesized_expression "(-0x2c - (int)&uStack_5a4)" (( "(") (binary_expression "-0x2c - (int)&uStack_5a4" (number_literal "-0x2c") (- "-") (cast_expression "(int)&uStack_5a4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&uStack_5a4" (& "&") (identifier "uStack_5a4")))) () ")"))) (< "<") (cast_expression "(byte *)(uint)bStack_579" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(uint)bStack_579" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bStack_579")))) () ")")) (; ";")) (expression_statement "iVar3 = *(int *)(puStack_610 + -0x7fcc);" (assignment_expression "iVar3 = *(int *)(puStack_610 + -0x7fcc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")"))))) (; ";")) (expression_statement "iVar4 = iVar4 + -0x7b40;" (assignment_expression "iVar4 = iVar4 + -0x7b40" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -0x7b40" (identifier "iVar4") (+ "+") (number_literal "-0x7b40"))) (; ";")) (} "}")))) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(iVar3 + 0x66ac)" (( "(") (binary_expression "iVar3 + 0x66ac" (identifier "iVar3") (+ "+") (number_literal "0x66ac")) () ")"))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }" (else "else") (compound_statement "{\n    puVar8 = auStack_5f4;\n    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);\n    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);\n    iVar3 = -iVar4;\n  }" ({ "{") (expression_statement "puVar8 = auStack_5f4;" (assignment_expression "puVar8 = auStack_5f4" (identifier "puVar8") (= "=") (identifier "auStack_5f4")) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);" (call_expression "(**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f84))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f84)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f84)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f84)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f84)" (( "(") (binary_expression "puStack_610 + -0x7f84" (identifier "puStack_610") (+ "+") (number_literal "-0x7f84")) () ")"))))) () ")")) (argument_list "(iVar4,0x50,puVar8,iVar3)" (( "(") (identifier "iVar4") (, ",") (number_literal "0x50") (, ",") (identifier "puVar8") (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);" (call_expression "(**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8)" (parenthesized_expression "(**(code **)(puStack_610 + -0x7f10))" (( "(") (pointer_expression "**(code **)(puStack_610 + -0x7f10)" (* "*") (pointer_expression "*(code **)(puStack_610 + -0x7f10)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f10)" (( "(") (binary_expression "puStack_610 + -0x7f10" (identifier "puStack_610") (+ "+") (number_literal "-0x7f10")) () ")"))))) () ")")) (argument_list "(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8)" (( "(") (binary_expression "*(int *)(puStack_610 + -0x7fcc) + 0x6360" (pointer_expression "*(int *)(puStack_610 + -0x7fcc)" (* "*") (cast_expression "(int *)(puStack_610 + -0x7fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puStack_610 + -0x7fcc)" (( "(") (binary_expression "puStack_610 + -0x7fcc" (identifier "puStack_610") (+ "+") (number_literal "-0x7fcc")) () ")")))) (+ "+") (number_literal "0x6360")) (, ",") (identifier "puVar8") () ")"))) (; ";")) (expression_statement "iVar3 = -iVar4;" (assignment_expression "iVar3 = -iVar4" (identifier "iVar3") (= "=") (unary_expression "-iVar4" (- "-") (identifier "iVar4"))) (; ";")) (} "}")))) (if_statement "if (iStack_4a4 == *piVar12) {\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(iStack_4a4 == *piVar12)" (( "(") (binary_expression "iStack_4a4 == *piVar12" (identifier "iStack_4a4") (== "==") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) () ")")) (compound_statement "{\n    return iVar3;\n  }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "pcVar17 = *(code **)(puStack_610 + -0x7f0c);" (assignment_expression "pcVar17 = *(code **)(puStack_610 + -0x7f0c)" (identifier "pcVar17") (= "=") (pointer_expression "*(code **)(puStack_610 + -0x7f0c)" (* "*") (cast_expression "(code **)(puStack_610 + -0x7f0c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puStack_610 + -0x7f0c)" (( "(") (binary_expression "puStack_610 + -0x7f0c" (identifier "puStack_610") (+ "+") (number_literal "-0x7f0c")) () ")"))))) (; ";")) (expression_statement "pcVar18 = FUN_0001493c;" (assignment_expression "pcVar18 = FUN_0001493c" (identifier "pcVar18") (= "=") (identifier "FUN_0001493c")) (; ";")) (expression_statement "iVar3 = iStack_4a4;" (assignment_expression "iVar3 = iStack_4a4" (identifier "iVar3") (= "=") (identifier "iStack_4a4")) (; ";")) (expression_statement "(*pcVar17)();" (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" (( "(") (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar13 = *(uint **)(pcVar17 + 0x147ec);" (assignment_expression "puVar13 = *(uint **)(pcVar17 + 0x147ec)" (identifier "puVar13") (= "=") (pointer_expression "*(uint **)(pcVar17 + 0x147ec)" (* "*") (cast_expression "(uint **)(pcVar17 + 0x147ec)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x147ec)" (( "(") (binary_expression "pcVar17 + 0x147ec" (identifier "pcVar17") (+ "+") (number_literal "0x147ec")) () ")"))))) (; ";")) (expression_statement "iVar14 = *(int *)(pcVar17 + 0x1470c);" (assignment_expression "iVar14 = *(int *)(pcVar17 + 0x1470c)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(pcVar17 + 0x1470c)" (* "*") (cast_expression "(int *)(pcVar17 + 0x1470c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar17 + 0x1470c)" (( "(") (binary_expression "pcVar17 + 0x1470c" (identifier "pcVar17") (+ "+") (number_literal "0x1470c")) () ")"))))) (; ";")) (expression_statement "uStack_654 = *puVar13;" (assignment_expression "uStack_654 = *puVar13" (identifier "uStack_654") (= "=") (pointer_expression "*puVar13" (* "*") (identifier "puVar13"))) (; ";")) (expression_statement "iVar11 = *(int *)(iVar14 + -0x6a20);" (assignment_expression "iVar11 = *(int *)(iVar14 + -0x6a20)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar14 + -0x6a20)" (* "*") (cast_expression "(int *)(iVar14 + -0x6a20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + -0x6a20)" (( "(") (binary_expression "iVar14 + -0x6a20" (identifier "iVar14") (+ "+") (number_literal "-0x6a20")) () ")"))))) (; ";")) (if_statement "if (iVar11 != 0) {\n    iVar11 = iVar11 + -1;\n  }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar11 = iVar11 + -1;\n  }" ({ "{") (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + -1" (identifier "iVar11") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "puStack_650 = puVar8;" (assignment_expression "puStack_650 = puVar8" (identifier "puStack_650") (= "=") (identifier "puVar8")) (; ";")) (expression_statement "puStack_64c = &uStack_5a4;" (assignment_expression "puStack_64c = &uStack_5a4" (identifier "puStack_64c") (= "=") (pointer_expression "&uStack_5a4" (& "&") (identifier "uStack_5a4"))) (; ";")) (expression_statement "uStack_648 = uVar10;" (assignment_expression "uStack_648 = uVar10" (identifier "uStack_648") (= "=") (identifier "uVar10")) (; ";")) (expression_statement "puStack_644 = puVar7;" (assignment_expression "puStack_644 = puVar7" (identifier "puStack_644") (= "=") (identifier "puVar7")) (; ";")) (expression_statement "piStack_640 = piVar12;" (assignment_expression "piStack_640 = piVar12" (identifier "piStack_640") (= "=") (identifier "piVar12")) (; ";")) (expression_statement "iStack_63c = iVar4;" (assignment_expression "iStack_63c = iVar4" (identifier "iStack_63c") (= "=") (identifier "iVar4")) (; ";")) (expression_statement "pbStack_638 = pbVar15;" (assignment_expression "pbStack_638 = pbVar15" (identifier "pbStack_638") (= "=") (identifier "pbVar15")) (; ";")) (expression_statement "pcStack_634 = pcVar18;" (assignment_expression "pcStack_634 = pcVar18" (identifier "pcStack_634") (= "=") (identifier "pcVar18")) (; ";")) (expression_statement "iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)\n  ;" (assignment_expression "iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x1480c))" (( "(") (pointer_expression "**(code **)(pcVar17 + 0x1480c)" (* "*") (pointer_expression "*(code **)(pcVar17 + 0x1480c)" (* "*") (cast_expression "(code **)(pcVar17 + 0x1480c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x1480c)" (( "(") (binary_expression "pcVar17 + 0x1480c" (identifier "pcVar17") (+ "+") (number_literal "0x1480c")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (pointer_expression "&uStack_6c4" (& "&") (identifier "uStack_6c4")) (, ",") (number_literal "8") (, ",") (number_literal "1") (, ",") (identifier "iVar11") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }\n  else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }\n    iVar4 = *(int *)(iVar14 + -0x6a20);\n    if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }\n  }" ({ "{") (if_statement "if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }\n    else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }" (if "if") (parenthesized_expression "((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff)" (( "(") (binary_expression "(uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff" (parenthesized_expression "(uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4)" (( "(") (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4" (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_" (binary_expression "uStack_6c4._0_1_ & uStack_6c4._1_1_" (field_expression "uStack_6c4._0_1_" (identifier "uStack_6c4") (. ".") (field_identifier "_0_1_")) (& "&") (field_expression "uStack_6c4._1_1_" (identifier "uStack_6c4") (. ".") (field_identifier "_1_1_"))) (& "&") (field_expression "uStack_6c4._2_1_" (identifier "uStack_6c4") (. ".") (field_identifier "_2_1_"))) (& "&") (cast_expression "(byte)uStack_6c4" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uStack_6c4"))) () ")")) (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n      iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);\n      if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }\n      *(int **)(iVar3 + 8) = piStack_6bc;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;\n      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;\n      piVar12 = piStack_6bc;\n    }" ({ "{") (expression_statement "iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);" (assignment_expression "iVar4 = (**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(pcVar17 + 0x14808))\n                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14808))" (( "(") (pointer_expression "**(code **)(pcVar17 + 0x14808)" (* "*") (pointer_expression "*(code **)(pcVar17 + 0x14808)" (* "*") (cast_expression "(code **)(pcVar17 + 0x14808)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x14808)" (( "(") (binary_expression "pcVar17 + 0x14808" (identifier "pcVar17") (+ "+") (number_literal "0x14808")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11)" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (pointer_expression "&uStack_6c4" (& "&") (identifier "uStack_6c4")) (, ",") (number_literal "0x20") (, ",") (number_literal "1") (, ",") (identifier "iVar11") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        piVar12 = aiStack_6a4;\n        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);\n        goto LAB_00014a1c;\n      }" ({ "{") (expression_statement "piVar12 = aiStack_6a4;" (assignment_expression "piVar12 = aiStack_6a4" (identifier "piVar12") (= "=") (identifier "aiStack_6a4")) (; ";")) (expression_statement "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);" (call_expression "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14760))" (( "(") (pointer_expression "**(code **)(pcVar17 + 0x14760)" (* "*") (pointer_expression "*(code **)(pcVar17 + 0x14760)" (* "*") (cast_expression "(code **)(pcVar17 + 0x14760)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x14760)" (( "(") (binary_expression "pcVar17 + 0x14760" (identifier "pcVar17") (+ "+") (number_literal "0x14760")) () ")"))))) () ")")) (argument_list "(iVar4,0x50,piVar12,iVar11)" (( "(") (identifier "iVar4") (, ",") (number_literal "0x50") (, ",") (identifier "piVar12") (, ",") (identifier "iVar11") () ")"))) (; ";")) (expression_statement "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);" (call_expression "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04)" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" (( "(") (pointer_expression "**(code **)(pcVar17 + 0x147d4)" (* "*") (pointer_expression "*(code **)(pcVar17 + 0x147d4)" (* "*") (cast_expression "(code **)(pcVar17 + 0x147d4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x147d4)" (( "(") (binary_expression "pcVar17 + 0x147d4" (identifier "pcVar17") (+ "+") (number_literal "0x147d4")) () ")"))))) () ")")) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6c04)" (( "(") (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6c04" (pointer_expression "*(int *)(pcVar17 + 0x14718)" (* "*") (cast_expression "(int *)(pcVar17 + 0x14718)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar17 + 0x14718)" (( "(") (binary_expression "pcVar17 + 0x14718" (identifier "pcVar17") (+ "+") (number_literal "0x14718")) () ")")))) (+ "+") (number_literal "0x6c04")) () ")"))) (; ";")) (goto_statement "goto LAB_00014a1c;" (goto "goto") (statement_identifier "LAB_00014a1c") (; ";")) (} "}"))) (expression_statement "*(int **)(iVar3 + 8) = piStack_6bc;" (assignment_expression "*(int **)(iVar3 + 8) = piStack_6bc" (pointer_expression "*(int **)(iVar3 + 8)" (* "*") (cast_expression "(int **)(iVar3 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "piStack_6bc")) (; ";")) (expression_statement "*(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar3 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2c)" (( "(") (binary_expression "iVar3 + 0x2c" (identifier "iVar3") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "uStack_6c0 + 1" (identifier "uStack_6c0") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;" (assignment_expression "*(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4" (pointer_expression "*(uint *)(iVar3 + 0x28)" (* "*") (cast_expression "(uint *)(iVar3 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x28)" (( "(") (binary_expression "iVar3 + 0x28" (identifier "iVar3") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "(uStack_6c0 + 1 < uStack_6c0) + uStack_6c4" (parenthesized_expression "(uStack_6c0 + 1 < uStack_6c0)" (( "(") (binary_expression "uStack_6c0 + 1 < uStack_6c0" (binary_expression "uStack_6c0 + 1" (identifier "uStack_6c0") (+ "+") (number_literal "1")) (< "<") (identifier "uStack_6c0")) () ")")) (+ "+") (identifier "uStack_6c4"))) (; ";")) (expression_statement "piVar12 = piStack_6bc;" (assignment_expression "piVar12 = piStack_6bc" (identifier "piVar12") (= "=") (identifier "piStack_6bc")) (; ";")) (} "}")) (else_clause "else {\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }" (else "else") (compound_statement "{\n      *(uint *)(iVar3 + 8) = uStack_6c0;\n      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;\n      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);\n      piVar12 = (int *)(uint)uStack_6c4._2_1_;\n    }" ({ "{") (expression_statement "*(uint *)(iVar3 + 8) = uStack_6c0;" (assignment_expression "*(uint *)(iVar3 + 8) = uStack_6c0" (pointer_expression "*(uint *)(iVar3 + 8)" (* "*") (cast_expression "(uint *)(iVar3 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uStack_6c0")) (; ";")) (expression_statement "*(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;" (assignment_expression "*(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1" (pointer_expression "*(uint *)(iVar3 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar3 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2c)" (( "(") (binary_expression "iVar3 + 0x2c" (identifier "iVar3") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "uStack_6c4 + 1" (identifier "uStack_6c4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);" (assignment_expression "*(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4)" (pointer_expression "*(uint *)(iVar3 + 0x28)" (* "*") (cast_expression "(uint *)(iVar3 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x28)" (( "(") (binary_expression "iVar3 + 0x28" (identifier "iVar3") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (call_expression "(uint)(uStack_6c4 + 1 < uStack_6c4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uStack_6c4 + 1 < uStack_6c4)" (( "(") (binary_expression "uStack_6c4 + 1 < uStack_6c4" (binary_expression "uStack_6c4 + 1" (identifier "uStack_6c4") (+ "+") (number_literal "1")) (< "<") (identifier "uStack_6c4")) () ")")))) (; ";")) (expression_statement "piVar12 = (int *)(uint)uStack_6c4._2_1_;" (assignment_expression "piVar12 = (int *)(uint)uStack_6c4._2_1_" (identifier "piVar12") (= "=") (cast_expression "(int *)(uint)uStack_6c4._2_1_" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(uint)uStack_6c4._2_1_" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (field_expression "uStack_6c4._2_1_" (identifier "uStack_6c4") (. ".") (field_identifier "_2_1_"))))) (; ";")) (} "}")))) (expression_statement "iVar4 = *(int *)(iVar14 + -0x6a20);" (assignment_expression "iVar4 = *(int *)(iVar14 + -0x6a20)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar14 + -0x6a20)" (* "*") (cast_expression "(int *)(iVar14 + -0x6a20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + -0x6a20)" (( "(") (binary_expression "iVar14 + -0x6a20" (identifier "iVar14") (+ "+") (number_literal "-0x6a20")) () ")"))))) (; ";")) (if_statement "if (iVar4 != 0) {\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      piVar12 = (int *)(iVar3 + 0x30);\n      iVar4 = 0;\n      (**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));\n    }" ({ "{") (expression_statement "piVar12 = (int *)(iVar3 + 0x30);" (assignment_expression "piVar12 = (int *)(iVar3 + 0x30)" (identifier "piVar12") (= "=") (cast_expression "(int *)(iVar3 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x30)" (( "(") (binary_expression "iVar3 + 0x30" (identifier "iVar3") (+ "+") (number_literal "0x30")) () ")")))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "(**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));" (call_expression "(**(code **)(pcVar17 + 0x147d4))\n                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8))" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" (( "(") (pointer_expression "**(code **)(pcVar17 + 0x147d4)" (* "*") (pointer_expression "*(code **)(pcVar17 + 0x147d4)" (* "*") (cast_expression "(code **)(pcVar17 + 0x147d4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x147d4)" (( "(") (binary_expression "pcVar17 + 0x147d4" (identifier "pcVar17") (+ "+") (number_literal "0x147d4")) () ")"))))) () ")")) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),\n                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8))" (( "(") (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6c1c" (pointer_expression "*(int *)(pcVar17 + 0x14718)" (* "*") (cast_expression "(int *)(pcVar17 + 0x14718)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar17 + 0x14718)" (( "(") (binary_expression "pcVar17 + 0x14718" (identifier "pcVar17") (+ "+") (number_literal "0x14718")) () ")")))) (+ "+") (number_literal "0x6c1c")) (, ",") (identifier "piVar12") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x28)" (( "(") (binary_expression "iVar3 + 0x28" (identifier "iVar3") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2c)" (( "(") (binary_expression "iVar3 + 0x2c" (identifier "iVar3") (+ "+") (number_literal "0x2c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x28)" (( "(") (binary_expression "iVar3 + 0x28" (identifier "iVar3") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2c)" (( "(") (binary_expression "iVar3 + 0x2c" (identifier "iVar3") (+ "+") (number_literal "0x2c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" (else "else") (compound_statement "{\n    piVar12 = aiStack_6a4;\n    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);\n    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);\n  }" ({ "{") (expression_statement "piVar12 = aiStack_6a4;" (assignment_expression "piVar12 = aiStack_6a4" (identifier "piVar12") (= "=") (identifier "aiStack_6a4")) (; ";")) (expression_statement "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);" (call_expression "(**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11)" (parenthesized_expression "(**(code **)(pcVar17 + 0x14760))" (( "(") (pointer_expression "**(code **)(pcVar17 + 0x14760)" (* "*") (pointer_expression "*(code **)(pcVar17 + 0x14760)" (* "*") (cast_expression "(code **)(pcVar17 + 0x14760)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x14760)" (( "(") (binary_expression "pcVar17 + 0x14760" (identifier "pcVar17") (+ "+") (number_literal "0x14760")) () ")"))))) () ")")) (argument_list "(iVar4,0x50,piVar12,iVar11)" (( "(") (identifier "iVar4") (, ",") (number_literal "0x50") (, ",") (identifier "piVar12") (, ",") (identifier "iVar11") () ")"))) (; ";")) (expression_statement "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);" (call_expression "(**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec)" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d4))" (( "(") (pointer_expression "**(code **)(pcVar17 + 0x147d4)" (* "*") (pointer_expression "*(code **)(pcVar17 + 0x147d4)" (* "*") (cast_expression "(code **)(pcVar17 + 0x147d4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x147d4)" (( "(") (binary_expression "pcVar17 + 0x147d4" (identifier "pcVar17") (+ "+") (number_literal "0x147d4")) () ")"))))) () ")")) (argument_list "(*(int *)(pcVar17 + 0x14718) + 0x6bec)" (( "(") (binary_expression "*(int *)(pcVar17 + 0x14718) + 0x6bec" (pointer_expression "*(int *)(pcVar17 + 0x14718)" (* "*") (cast_expression "(int *)(pcVar17 + 0x14718)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar17 + 0x14718)" (( "(") (binary_expression "pcVar17 + 0x14718" (identifier "pcVar17") (+ "+") (number_literal "0x14718")) () ")")))) (+ "+") (number_literal "0x6bec")) () ")"))) (; ";")) (} "}")))) (labeled_statement "LAB_00014a1c:\n  if (uStack_654 == *puVar13) {\n    return iVar4;\n  }" (statement_identifier "LAB_00014a1c") (: ":") (if_statement "if (uStack_654 == *puVar13) {\n    return iVar4;\n  }" (if "if") (parenthesized_expression "(uStack_654 == *puVar13)" (( "(") (binary_expression "uStack_654 == *puVar13" (identifier "uStack_654") (== "==") (pointer_expression "*puVar13" (* "*") (identifier "puVar13"))) () ")")) (compound_statement "{\n    return iVar4;\n  }" ({ "{") (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))) (expression_statement "(**(code **)(pcVar17 + 0x147d8))();" (call_expression "(**(code **)(pcVar17 + 0x147d8))()" (parenthesized_expression "(**(code **)(pcVar17 + 0x147d8))" (( "(") (pointer_expression "**(code **)(pcVar17 + 0x147d8)" (* "*") (pointer_expression "*(code **)(pcVar17 + 0x147d8)" (* "*") (cast_expression "(code **)(pcVar17 + 0x147d8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar17 + 0x147d8)" (( "(") (binary_expression "pcVar17 + 0x147d8" (identifier "pcVar17") (+ "+") (number_literal "0x147d8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (uStack_654 == 0x10) {\n    return 0x10;\n  }" (if "if") (parenthesized_expression "(uStack_654 == 0x10)" (( "(") (binary_expression "uStack_654 == 0x10" (identifier "uStack_654") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n    return 0x10;\n  }" ({ "{") (return_statement "return 0x10;" (return "return") (number_literal "0x10") (; ";")) (} "}"))) (if_statement "if ((int)uStack_654 < 0x11) {\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }\n  else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" (if "if") (parenthesized_expression "((int)uStack_654 < 0x11)" (( "(") (binary_expression "(int)uStack_654 < 0x11" (cast_expression "(int)uStack_654" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uStack_654")) (< "<") (number_literal "0x11")) () ")")) (compound_statement "{\n    if (uStack_654 == 1) {\n      return 1;\n    }\n    if (uStack_654 == 8) {\n      return 8;\n    }\n  }" ({ "{") (if_statement "if (uStack_654 == 1) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(uStack_654 == 1)" (( "(") (binary_expression "uStack_654 == 1" (identifier "uStack_654") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (uStack_654 == 8) {\n      return 8;\n    }" (if "if") (parenthesized_expression "(uStack_654 == 8)" (( "(") (binary_expression "uStack_654 == 8" (identifier "uStack_654") (== "==") (number_literal "8")) () ")")) (compound_statement "{\n      return 8;\n    }" ({ "{") (return_statement "return 8;" (return "return") (number_literal "8") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" (else "else") (compound_statement "{\n    if (uStack_654 == 0x40) {\n      return 0x40;\n    }\n    if (uStack_654 == 0x80) {\n      return 0x80;\n    }\n    if (uStack_654 == 0x20) {\n      return 0x20;\n    }\n  }" ({ "{") (if_statement "if (uStack_654 == 0x40) {\n      return 0x40;\n    }" (if "if") (parenthesized_expression "(uStack_654 == 0x40)" (( "(") (binary_expression "uStack_654 == 0x40" (identifier "uStack_654") (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n      return 0x40;\n    }" ({ "{") (return_statement "return 0x40;" (return "return") (number_literal "0x40") (; ";")) (} "}"))) (if_statement "if (uStack_654 == 0x80) {\n      return 0x80;\n    }" (if "if") (parenthesized_expression "(uStack_654 == 0x80)" (( "(") (binary_expression "uStack_654 == 0x80" (identifier "uStack_654") (== "==") (number_literal "0x80")) () ")")) (compound_statement "{\n      return 0x80;\n    }" ({ "{") (return_statement "return 0x80;" (return "return") (number_literal "0x80") (; ";")) (} "}"))) (if_statement "if (uStack_654 == 0x20) {\n      return 0x20;\n    }" (if "if") (parenthesized_expression "(uStack_654 == 0x20)" (( "(") (binary_expression "uStack_654 == 0x20" (identifier "uStack_654") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n      return 0x20;\n    }" ({ "{") (return_statement "return 0x20;" (return "return") (number_literal "0x20") (; ";")) (} "}"))) (} "}")))) (if_statement "if ((uStack_654 & 2) == 0) {\n    return 1;\n  }" (if "if") (parenthesized_expression "((uStack_654 & 2) == 0)" (( "(") (binary_expression "(uStack_654 & 2) == 0" (parenthesized_expression "(uStack_654 & 2)" (( "(") (binary_expression "uStack_654 & 2" (identifier "uStack_654") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar3 = *piVar12;" (assignment_expression "iVar3 = *piVar12" (identifier "iVar3") (= "=") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (; ";")) (if_statement "if (iVar3 == 0) {\n    return 0x20;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0x20;\n  }" ({ "{") (return_statement "return 0x20;" (return "return") (number_literal "0x20") (; ";")) (} "}"))) (if_statement "if (iVar3 != 0xe) {\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0xe)" (( "(") (binary_expression "iVar3 != 0xe" (identifier "iVar3") (!= "!=") (number_literal "0xe")) () ")")) (compound_statement "{\n    iVar4 = 0x10;\n    if (iVar3 != 1) {\n      iVar4 = 1;\n    }\n    return iVar4;\n  }" ({ "{") (expression_statement "iVar4 = 0x10;" (assignment_expression "iVar4 = 0x10" (identifier "iVar4") (= "=") (number_literal "0x10")) (; ";")) (if_statement "if (iVar3 != 1) {\n      iVar4 = 1;\n    }" (if "if") (parenthesized_expression "(iVar3 != 1)" (( "(") (binary_expression "iVar3 != 1" (identifier "iVar3") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      iVar4 = 1;\n    }" ({ "{") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (return_statement "return 0x20;" (return "return") (number_literal "0x20") (; ";")) (} "}")))

int function_1(type_1 *fp,int var_7)

{
  type_2 *puVar1;
  type_3 var_2;
  int var_4;
  int var_12;
  type_4 uVar5;
  type_3 var_1;
  type_5 *psVar7;
  type_6 *var_8;
  type_7 *var_10;
  type_3 var_6;
  type_3 var_11;
  int var_25;
  int *piVar13;
  type_3 *puVar14;
  int var_24;
  int var_3;
  type_2 *var_9;
  type_8 *var_23;
  type_8 *pcVar18;
  type_4 var_27;
  type_3 var_26;
  int *piStack_6bc;
  int aiStack_6a4 [20];
  type_3 var_28;
  type_7 *puStack_650;
  type_3 *puStack_64c;
  type_3 uStack_648;
  type_5 *psStack_644;
  int *piStack_640;
  int iStack_63c;
  type_6 *pbStack_638;
  type_8 *pcStack_634;
  type_4 uStack_620;
  type_4 uStack_61c;
  int iStack_618;
  type_2 *var_14;
  int iStack_608;
  type_3 var_17;
  type_3 uStack_600;
  type_4 uStack_5fc;
  type_7 auStack_5f4 [80];
  type_3 var_13;
  type_6 bStack_5a0;
  type_9 uStack_59c;
  type_10 uStack_59a;
  type_4 uStack_598;
  int var_15;
  int iStack_590;
  int var_16;
  type_4 uStack_588;
  type_7 uStack_580;
  type_6 var_18;
  type_6 var_19;
  type_6 var_20;
  type_6 var_21;
  type_6 abStack_578 [212];
  int var_22;
  type_1 *pxStack_4a0;
  type_3 uStack_49c;
  int iStack_498;
  type_2 *puStack_494;
  type_3 uStack_490;
  type_5 *psStack_48c;
  int iStack_488;
  type_5 sir;
  char ebuff [1024];
  
  puVar1 = PTR___stack_chk_guard_00029128;
  var_2 = (type_3)fp->devno;
  var_1 = *(type_3 *)&fp->devno;
  var_8 = *(type_6 **)PTR___stack_chk_guard_00029128;
  var_6 = var_1 << 0x14 | var_2 >> 0xc & 0xffffff00 | var_2 & 0xff;
  if ((fp->sg_type & 2U) == 0) {
    if ((fp->sg_type & 0x21U) == 0) {
      (*(type_8 *)PTR___snprintf_chk_0002914c)(ebuff,0x400);
    }
    else {
      (*(type_8 *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);
      var_3 = (*(type_8 *)PTR_open64_000290d4)(ebuff,0);
      if (-1 < var_3) {
        ebuff[0x3ff] = '\0';
        var_4 = (*(type_8 *)PTR_read_00029134)(var_3,ebuff,0x3ff);
        if (var_4 < 0) {
          (*(type_8 *)PTR_perror_00029108)(var_5 + 0x62b4);
        }
        else {
          var_4 = (*(type_8 *)PTR_strtoul_000290e8)(ebuff,0,10);
          var_6 = var_6 - var_4;
        }
        (*(type_8 *)PTR_close_00029078)(var_3);
      }
      (*(type_8 *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);
    }
  }
  else {
    (*(type_8 *)PTR___snprintf_chk_0002914c)(ebuff,0x400,1,0x400);
  }
  var_4 = (*(type_8 *)PTR_sg_cmds_open_device_00029084)((type_5 *)ebuff,0,var_7);
  fp->sg_fd = var_4;
  if (var_4 < 0) {
    psVar7 = (type_5 *)0x400;
    (*(type_8 *)PTR___snprintf_chk_0002914c)((type_5 *)ebuff,0x400,1,0x400);
    (*(type_8 *)PTR_perror_00029108)((type_5 *)ebuff);
    var_4 = (*(type_8 *)PTR_sg_convert_errno_000290b8)(-fp->sg_fd);
    var_4 = -var_4;
  }
  else {
    psVar7 = &sir;
    var_4 = (*(type_8 *)PTR_sg_simple_inquiry_00029150)(var_4,psVar7,0,var_7);
    if (var_4 == 0) {
      fp->pdt = (type_3)sir.peripheral_type;
      if (var_7 != 0) {
        psVar7 = (type_5 *)fp->fname;
        (*(type_8 *)PTR_pr2serr_00029110)(var_5 + 0x6330,psVar7,sir.vendor,sir.product);
      }
      var_4 = fp->sg_fd;
    }
    else {
      psVar7 = (type_5 *)ebuff;
      (*(type_8 *)PTR_pr2serr_00029110)(var_5 + 0x6318);
      (*(type_8 *)PTR_sg_cmds_close_device_00029120)(fp->sg_fd);
      var_4 = -1;
      fp->sg_fd = -1;
    }
  }
  if (var_8 == *(type_6 **)puVar1) {
    return var_4;
  }
  var_9 = PTR___stack_chk_fail_00029114;
  (*(type_8 *)PTR___stack_chk_fail_00029114)();
  var_14 = var_9 + 0x1d138;
  piVar13 = *(int **)(var_9 + 0x15240);
  var_10 = *(type_7 **)(var_9 + 0x15160);
  puStack_494 = puVar1;
  var_22 = *piVar13;
  var_4 = *(int *)(var_10 + -0x6a20);
  if (var_4 != 0) {
    var_4 = var_4 + -1;
  }
  var_11 = *(type_3 *)(var_8 + 0xc);
  if ((var_11 & 2) != 0) {
    var_12 = *(int *)(var_8 + 0x14);
    if ((var_12 == 0) || (var_12 == 0xe)) {
      var_11 = var_11 | 0x20;
    }
    else if (var_12 == 1) {
      var_11 = var_11 | 0x10;
    }
  }
  uStack_61c = 1;
  uStack_620 = 0x100;
  iStack_618 = var_4;
  pxStack_4a0 = fp;
  uStack_49c = var_6;
  iStack_498 = var_7;
  uStack_490 = var_1 & 0xfffff000 | (var_2 << 0xc) >> 0x14;
  psStack_48c = (type_5 *)ebuff;
  iStack_488 = var_3;
  var_12 = (**(type_8 **)(var_9 + 0x151c8))(*(type_4 *)(var_8 + 0x10),3,0,&var_13);
  if (var_12 == 0) {
    if (0x100 < var_13) {
      (**(type_8 **)(var_14 + -0x7f10))
                (*(int *)(var_14 + -0x7fcc) + 0x6380,var_13,0x100);
    }
    if (2 < *(int *)(var_10 + -0x6a20)) {
      (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x63c8);
      (**(type_8 **)(var_14 + -0x7f94))(&var_13,var_13,1);
    }
    var_12 = *(int *)(var_10 + -0x6a20);
    var_4 = -1;
    if (var_15 != 0) {
      var_4 = var_15;
    }
    *(int *)(var_8 + 0x24) = var_4;
    if (var_12 == 0) {
      var_4 = *(int *)(var_14 + -0x7fd8);
      if (*(int *)(var_4 + -0x6fec) < 0) {
LAB_00014094:
        uVar5 = 2;
        if (var_16 != 0) {
          uVar5 = 0;
        }
        *(type_4 *)(var_4 + -0x6fec) = uVar5;
        goto LAB_0001409c;
      }
    }
    else {
      iStack_608 = iStack_590;
      var_17 = (type_3)bStack_5a0;
      uStack_600 = (type_3)uStack_59c;
      (**(type_8 **)(var_14 + -0x7f10))
                (*(int *)(var_14 + -0x7fcc) + 0x6408,*(int *)(var_14 + -0x7fcc) + 0x63e4);
      (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x641c,var_17 & 1);
      (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x6448,uStack_600);
      (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x6474,uStack_59a);
      (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x64a0,uStack_598);
      (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x64c8,var_15);
      (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x64e8,iStack_608);
      var_4 = *(int *)(var_14 + -0x7fd8);
      if (*(int *)(var_4 + -0x6fec) < 0) goto LAB_00014094;
LAB_0001409c:
      if (*(int *)(var_10 + -0x6a20) != 0) {
        (**(type_8 **)(var_14 + -0x7f10))
                  (*(int *)(var_14 + -0x7fcc) + 0x650c,var_16,
                   *(type_4 *)(var_4 + -0x6fec));
        (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x653c,uStack_588);
        (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x656c,uStack_580);
        if (var_18 < 0x1f) {
          (**(type_8 **)(var_14 + -0x7f10))
                    (*(int *)(var_14 + -0x7fcc) + 0x65bc,1 << (var_18 & 0x1f));
        }
        else {
          (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 26000);
        }
        if (var_19 < 0x1f) {
          (**(type_8 **)(var_14 + -0x7f10))
                    (*(int *)(var_14 + -0x7fcc) + 0x6610,1 << (var_19 & 0x1f));
        }
        else {
          (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x65e4);
        }
        if (var_20 < 0x1f) {
          (**(type_8 **)(var_14 + -0x7f10))
                    (*(int *)(var_14 + -0x7fcc) + 0x6660,1 << (var_20 & 0x1f));
        }
        else {
          (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x6638);
        }
        (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x6688);
      }
    }
    *(int *)(var_8 + 0x20) = 1 << (var_18 & 0x1f);
    if (var_21 == 0) {
      var_4 = *(int *)(var_14 + -0x7fcc);
      var_12 = var_15;
    }
    else {
      var_8 = abStack_578;
      var_12 = *(int *)(var_14 + -0x7fc8);
      var_17 = *(type_3 *)(var_14 + -0x7fcc);
      iStack_608 = *(int *)(var_14 + -0x7fcc) + 0x6bc4;
      uStack_5fc = *(type_4 *)(var_14 + -0x7fcc);
      uStack_600 = *(int *)(var_14 + -0x7fcc) + 0x6b78;
      do {
        if (*var_8 < 0xff) {
                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          var_4 = (*(type_8 *)(var_14 + *(int *)(var_12 + -0x7b40 + (type_3)*var_8 * 4)))();
          return var_4;
        }
        (**(type_8 **)(var_14 + -0x7f10))(iStack_608);
        var_8 = var_8 + 1;
      } while (var_8 + (-0x2c - (int)&var_13) < (type_6 *)(type_3)var_21);
      var_4 = *(int *)(var_14 + -0x7fcc);
      var_12 = var_12 + -0x7b40;
    }
    (**(type_8 **)(var_14 + -0x7f10))(var_4 + 0x66ac);
    var_4 = 0;
  }
  else {
    var_10 = auStack_5f4;
    (**(type_8 **)(var_14 + -0x7f84))(var_12,0x50,var_10,var_4);
    (**(type_8 **)(var_14 + -0x7f10))(*(int *)(var_14 + -0x7fcc) + 0x6360,var_10);
    var_4 = -var_12;
  }
  if (var_22 == *piVar13) {
    return var_4;
  }
  var_23 = *(type_8 **)(var_14 + -0x7f0c);
  pcVar18 = scsi_read_capacity;
  var_4 = var_22;
  (*var_23)();
  puVar14 = *(type_3 **)(var_23 + 0x147ec);
  var_24 = *(int *)(var_23 + 0x1470c);
  var_28 = *puVar14;
  var_25 = *(int *)(var_24 + -0x6a20);
  if (var_25 != 0) {
    var_25 = var_25 + -1;
  }
  puStack_650 = var_10;
  puStack_64c = &var_13;
  uStack_648 = var_11;
  psStack_644 = psVar7;
  piStack_640 = piVar13;
  iStack_63c = var_12;
  pbStack_638 = var_8;
  pcStack_634 = pcVar18;
  var_12 = (**(type_8 **)(var_23 + 0x1480c))(*(type_4 *)(var_4 + 0x10),0,0,&var_27,8,1,var_25)
  ;
  if (var_12 == 0) {
    if ((var_27._0_1_ & var_27._1_1_ & var_27._2_1_ & (type_6)var_27) == 0xff) {
      var_12 = (**(type_8 **)(var_23 + 0x14808))
                        (*(type_4 *)(var_4 + 0x10),0,0,0,&var_27,0x20,1,var_25);
      if (var_12 != 0) {
        piVar13 = aiStack_6a4;
        (**(type_8 **)(var_23 + 0x14760))(var_12,0x50,piVar13,var_25);
        (**(type_8 **)(var_23 + 0x147d4))(*(int *)(var_23 + 0x14718) + 0x6c04);
        goto LAB_00014a1c;
      }
      *(int **)(var_4 + 8) = piStack_6bc;
      *(type_3 *)(var_4 + 0x2c) = var_26 + 1;
      *(type_3 *)(var_4 + 0x28) = (var_26 + 1 < var_26) + var_27;
      piVar13 = piStack_6bc;
    }
    else {
      *(type_3 *)(var_4 + 8) = var_26;
      *(type_3 *)(var_4 + 0x2c) = var_27 + 1;
      *(type_3 *)(var_4 + 0x28) = (type_3)(var_27 + 1 < var_27);
      piVar13 = (int *)(type_3)var_27._2_1_;
    }
    var_12 = *(int *)(var_24 + -0x6a20);
    if (var_12 != 0) {
      piVar13 = (int *)(var_4 + 0x30);
      var_12 = 0;
      (**(type_8 **)(var_23 + 0x147d4))
                (*(int *)(var_23 + 0x14718) + 0x6c1c,piVar13,*(type_4 *)(var_4 + 0x28),
                 *(type_4 *)(var_4 + 0x2c),*(type_4 *)(var_4 + 0x28),
                 *(type_4 *)(var_4 + 0x2c),*(type_4 *)(var_4 + 8));
    }
  }
  else {
    piVar13 = aiStack_6a4;
    (**(type_8 **)(var_23 + 0x14760))(var_12,0x50,piVar13,var_25);
    (**(type_8 **)(var_23 + 0x147d4))(*(int *)(var_23 + 0x14718) + 0x6bec);
  }
LAB_00014a1c:
  if (var_28 == *puVar14) {
    return var_12;
  }
  (**(type_8 **)(var_23 + 0x147d8))();
  if (var_28 == 0x10) {
    return 0x10;
  }
  if ((int)var_28 < 0x11) {
    if (var_28 == 1) {
      return 1;
    }
    if (var_28 == 8) {
      return 8;
    }
  }
  else {
    if (var_28 == 0x40) {
      return 0x40;
    }
    if (var_28 == 0x80) {
      return 0x80;
    }
    if (var_28 == 0x20) {
      return 0x20;
    }
  }
  if ((var_28 & 2) == 0) {
    return 1;
  }
  var_4 = *piVar13;
  if (var_4 == 0) {
    return 0x20;
  }
  if (var_4 != 0xe) {
    var_12 = 0x10;
    if (var_4 != 1) {
      var_12 = 1;
    }
    return var_12;
  }
  return 0x20;
}


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

int MASKED(int param_1,int param_2)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  uint uVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  uint uVar9;
  uint uVar10;
  int iVar11;
  int *piVar12;
  uint *puVar13;
  int iVar14;
  int unaff_s6;
  byte *pbVar15;
  undefined *puVar16;
  code *pcVar17;
  code *pcVar18;
  undefined4 uStack_6c4;
  uint uStack_6c0;
  int *piStack_6bc;
  int aiStack_6a4 [20];
  uint uStack_654;
  undefined1 *puStack_650;
  uint *puStack_64c;
  uint uStack_648;
  undefined1 *puStack_644;
  int *piStack_640;
  int iStack_63c;
  byte *pbStack_638;
  code *pcStack_634;
  undefined4 uStack_620;
  undefined4 uStack_61c;
  int iStack_618;
  undefined *puStack_610;
  int iStack_608;
  uint uStack_604;
  uint uStack_600;
  undefined4 uStack_5fc;
  undefined1 auStack_5f4 [80];
  uint uStack_5a4;
  byte bStack_5a0;
  ushort uStack_59c;
  undefined2 uStack_59a;
  undefined4 uStack_598;
  int iStack_594;
  int iStack_590;
  int iStack_58c;
  undefined4 uStack_588;
  undefined1 uStack_580;
  byte bStack_57f;
  byte bStack_57e;
  byte bStack_57d;
  byte bStack_579;
  byte abStack_578 [212];
  int iStack_4a4;
  int iStack_4a0;
  uint uStack_49c;
  int iStack_498;
  undefined *puStack_494;
  uint uStack_490;
  undefined1 *puStack_48c;
  int iStack_488;
  undefined1 uStack_44c;
  byte local_44b;
  undefined1 auStack_444 [9];
  undefined1 auStack_43b [23];
  undefined1 auStack_424 [1023];
  undefined1 local_25;
  byte *local_24;
  
  puVar1 = PTR___stack_chk_guard_00029128;
  uVar2 = *(uint *)(param_1 + 0x1c);
  uVar6 = *(uint *)(param_1 + 0x18);
  local_24 = *(byte **)PTR___stack_chk_guard_00029128;
  uVar9 = uVar6 << 0x14 | uVar2 >> 0xc & 0xffffff00 | uVar2 & 0xff;
  if ((*(uint *)(param_1 + 0xc) & 2) == 0) {
    if ((*(uint *)(param_1 + 0xc) & 0x21) == 0) {
      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400);
    }
    else {
      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);
      unaff_s6 = (*(code *)PTR_open64_000290d4)(auStack_424,0);
      if (-1 < unaff_s6) {
        local_25 = 0;
        iVar3 = (*(code *)PTR_read_00029134)(unaff_s6,auStack_424,0x3ff);
        if (iVar3 < 0) {
          (*(code *)PTR_perror_00029108)(PTR_00029054 + 0x62b4);
        }
        else {
          iVar3 = (*(code *)PTR_strtoul_000290e8)(auStack_424,0,10);
          uVar9 = uVar9 - iVar3;
        }
        (*(code *)PTR_close_00029078)(unaff_s6);
      }
      (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);
    }
  }
  else {
    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);
  }
  iVar3 = (*(code *)PTR_sg_cmds_open_device_00029084)(auStack_424,0,param_2);
  *(int *)(param_1 + 0x10) = iVar3;
  if (iVar3 < 0) {
    puVar7 = (undefined1 *)0x400;
    (*(code *)PTR___snprintf_chk_0002914c)(auStack_424,0x400,1,0x400);
    (*(code *)PTR_perror_00029108)(auStack_424);
    iVar3 = (*(code *)PTR_sg_convert_errno_000290b8)(-*(int *)(param_1 + 0x10));
    iVar3 = -iVar3;
  }
  else {
    puVar7 = &uStack_44c;
    iVar3 = (*(code *)PTR_sg_simple_inquiry_00029150)(iVar3,puVar7,0,param_2);
    if (iVar3 == 0) {
      *(uint *)(param_1 + 0x14) = (uint)local_44b;
      if (param_2 != 0) {
        puVar7 = (undefined1 *)(param_1 + 0x30);
        (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6330,puVar7,auStack_444,auStack_43b);
      }
      iVar3 = *(int *)(param_1 + 0x10);
    }
    else {
      puVar7 = auStack_424;
      (*(code *)PTR_pr2serr_00029110)(PTR_00029054 + 0x6318);
      (*(code *)PTR_sg_cmds_close_device_00029120)(*(undefined4 *)(param_1 + 0x10));
      iVar3 = -1;
      *(undefined4 *)(param_1 + 0x10) = 0xffffffff;
    }
  }
  if (local_24 == *(byte **)puVar1) {
    return iVar3;
  }
  pbVar15 = local_24;
  puVar16 = PTR___stack_chk_fail_00029114;
  (*(code *)PTR___stack_chk_fail_00029114)();
  puStack_610 = puVar16 + 0x1d138;
  piVar12 = *(int **)(puVar16 + 0x15240);
  puVar8 = *(undefined1 **)(puVar16 + 0x15160);
  puStack_494 = puVar1;
  iStack_4a4 = *piVar12;
  iVar3 = *(int *)(puVar8 + -0x6a20);
  if (iVar3 != 0) {
    iVar3 = iVar3 + -1;
  }
  uVar10 = *(uint *)(pbVar15 + 0xc);
  if ((uVar10 & 2) != 0) {
    iVar4 = *(int *)(pbVar15 + 0x14);
    if ((iVar4 == 0) || (iVar4 == 0xe)) {
      uVar10 = uVar10 | 0x20;
    }
    else if (iVar4 == 1) {
      uVar10 = uVar10 | 0x10;
    }
  }
  uStack_61c = 1;
  uStack_620 = 0x100;
  iStack_618 = iVar3;
  iStack_4a0 = param_1;
  uStack_49c = uVar9;
  iStack_498 = param_2;
  uStack_490 = uVar6 & 0xfffff000 | (uVar2 << 0xc) >> 0x14;
  puStack_48c = auStack_424;
  iStack_488 = unaff_s6;
  iVar4 = (**(code **)(puVar16 + 0x151c8))(*(undefined4 *)(pbVar15 + 0x10),3,0,&uStack_5a4);
  if (iVar4 == 0) {
    if (0x100 < uStack_5a4) {
      (**(code **)(puStack_610 + -0x7f10))
                (*(int *)(puStack_610 + -0x7fcc) + 0x6380,uStack_5a4,0x100);
    }
    if (2 < *(int *)(puVar8 + -0x6a20)) {
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x63c8);
      (**(code **)(puStack_610 + -0x7f94))(&uStack_5a4,uStack_5a4,1);
    }
    iVar4 = *(int *)(puVar8 + -0x6a20);
    iVar3 = -1;
    if (iStack_594 != 0) {
      iVar3 = iStack_594;
    }
    *(int *)(pbVar15 + 0x24) = iVar3;
    if (iVar4 == 0) {
      iVar3 = *(int *)(puStack_610 + -0x7fd8);
      if (*(int *)(iVar3 + -0x6fec) < 0) {
LAB_00014094:
        uVar5 = 2;
        if (iStack_58c != 0) {
          uVar5 = 0;
        }
        *(undefined4 *)(iVar3 + -0x6fec) = uVar5;
        goto LAB_0001409c;
      }
    }
    else {
      iStack_608 = iStack_590;
      uStack_604 = (uint)bStack_5a0;
      uStack_600 = (uint)uStack_59c;
      (**(code **)(puStack_610 + -0x7f10))
                (*(int *)(puStack_610 + -0x7fcc) + 0x6408,*(int *)(puStack_610 + -0x7fcc) + 0x63e4);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x641c,uStack_604 & 1);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6448,uStack_600);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6474,uStack_59a);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64a0,uStack_598);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64c8,iStack_594);
      (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x64e8,iStack_608);
      iVar3 = *(int *)(puStack_610 + -0x7fd8);
      if (*(int *)(iVar3 + -0x6fec) < 0) goto LAB_00014094;
LAB_0001409c:
      if (*(int *)(puVar8 + -0x6a20) != 0) {
        (**(code **)(puStack_610 + -0x7f10))
                  (*(int *)(puStack_610 + -0x7fcc) + 0x650c,iStack_58c,
                   *(undefined4 *)(iVar3 + -0x6fec));
        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x653c,uStack_588);
        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x656c,uStack_580);
        if (bStack_57f < 0x1f) {
          (**(code **)(puStack_610 + -0x7f10))
                    (*(int *)(puStack_610 + -0x7fcc) + 0x65bc,1 << (bStack_57f & 0x1f));
        }
        else {
          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 26000);
        }
        if (bStack_57e < 0x1f) {
          (**(code **)(puStack_610 + -0x7f10))
                    (*(int *)(puStack_610 + -0x7fcc) + 0x6610,1 << (bStack_57e & 0x1f));
        }
        else {
          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x65e4);
        }
        if (bStack_57d < 0x1f) {
          (**(code **)(puStack_610 + -0x7f10))
                    (*(int *)(puStack_610 + -0x7fcc) + 0x6660,1 << (bStack_57d & 0x1f));
        }
        else {
          (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6638);
        }
        (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6688);
      }
    }
    *(int *)(pbVar15 + 0x20) = 1 << (bStack_57f & 0x1f);
    if (bStack_579 == 0) {
      iVar3 = *(int *)(puStack_610 + -0x7fcc);
      iVar4 = iStack_594;
    }
    else {
      pbVar15 = abStack_578;
      iVar4 = *(int *)(puStack_610 + -0x7fc8);
      uStack_604 = *(uint *)(puStack_610 + -0x7fcc);
      iStack_608 = *(int *)(puStack_610 + -0x7fcc) + 0x6bc4;
      uStack_5fc = *(undefined4 *)(puStack_610 + -0x7fcc);
      uStack_600 = *(int *)(puStack_610 + -0x7fcc) + 0x6b78;
      do {
        if (*pbVar15 < 0xff) {
                    /* WARNING: Could not recover jumptable at 0x00014070. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          iVar3 = (*(code *)(puStack_610 + *(int *)(iVar4 + -0x7b40 + (uint)*pbVar15 * 4)))();
          return iVar3;
        }
        (**(code **)(puStack_610 + -0x7f10))(iStack_608);
        pbVar15 = pbVar15 + 1;
      } while (pbVar15 + (-0x2c - (int)&uStack_5a4) < (byte *)(uint)bStack_579);
      iVar3 = *(int *)(puStack_610 + -0x7fcc);
      iVar4 = iVar4 + -0x7b40;
    }
    (**(code **)(puStack_610 + -0x7f10))(iVar3 + 0x66ac);
    iVar3 = 0;
  }
  else {
    puVar8 = auStack_5f4;
    (**(code **)(puStack_610 + -0x7f84))(iVar4,0x50,puVar8,iVar3);
    (**(code **)(puStack_610 + -0x7f10))(*(int *)(puStack_610 + -0x7fcc) + 0x6360,puVar8);
    iVar3 = -iVar4;
  }
  if (iStack_4a4 == *piVar12) {
    return iVar3;
  }
  pcVar17 = *(code **)(puStack_610 + -0x7f0c);
  pcVar18 = FUN_0001493c;
  iVar3 = iStack_4a4;
  (*pcVar17)();
  puVar13 = *(uint **)(pcVar17 + 0x147ec);
  iVar14 = *(int *)(pcVar17 + 0x1470c);
  uStack_654 = *puVar13;
  iVar11 = *(int *)(iVar14 + -0x6a20);
  if (iVar11 != 0) {
    iVar11 = iVar11 + -1;
  }
  puStack_650 = puVar8;
  puStack_64c = &uStack_5a4;
  uStack_648 = uVar10;
  puStack_644 = puVar7;
  piStack_640 = piVar12;
  iStack_63c = iVar4;
  pbStack_638 = pbVar15;
  pcStack_634 = pcVar18;
  iVar4 = (**(code **)(pcVar17 + 0x1480c))(*(undefined4 *)(iVar3 + 0x10),0,0,&uStack_6c4,8,1,iVar11)
  ;
  if (iVar4 == 0) {
    if ((uStack_6c4._0_1_ & uStack_6c4._1_1_ & uStack_6c4._2_1_ & (byte)uStack_6c4) == 0xff) {
      iVar4 = (**(code **)(pcVar17 + 0x14808))
                        (*(undefined4 *)(iVar3 + 0x10),0,0,0,&uStack_6c4,0x20,1,iVar11);
      if (iVar4 != 0) {
        piVar12 = aiStack_6a4;
        (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);
        (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6c04);
        goto LAB_00014a1c;
      }
      *(int **)(iVar3 + 8) = piStack_6bc;
      *(uint *)(iVar3 + 0x2c) = uStack_6c0 + 1;
      *(uint *)(iVar3 + 0x28) = (uStack_6c0 + 1 < uStack_6c0) + uStack_6c4;
      piVar12 = piStack_6bc;
    }
    else {
      *(uint *)(iVar3 + 8) = uStack_6c0;
      *(uint *)(iVar3 + 0x2c) = uStack_6c4 + 1;
      *(uint *)(iVar3 + 0x28) = (uint)(uStack_6c4 + 1 < uStack_6c4);
      piVar12 = (int *)(uint)uStack_6c4._2_1_;
    }
    iVar4 = *(int *)(iVar14 + -0x6a20);
    if (iVar4 != 0) {
      piVar12 = (int *)(iVar3 + 0x30);
      iVar4 = 0;
      (**(code **)(pcVar17 + 0x147d4))
                (*(int *)(pcVar17 + 0x14718) + 0x6c1c,piVar12,*(undefined4 *)(iVar3 + 0x28),
                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 0x28),
                 *(undefined4 *)(iVar3 + 0x2c),*(undefined4 *)(iVar3 + 8));
    }
  }
  else {
    piVar12 = aiStack_6a4;
    (**(code **)(pcVar17 + 0x14760))(iVar4,0x50,piVar12,iVar11);
    (**(code **)(pcVar17 + 0x147d4))(*(int *)(pcVar17 + 0x14718) + 0x6bec);
  }
LAB_00014a1c:
  if (uStack_654 == *puVar13) {
    return iVar4;
  }
  (**(code **)(pcVar17 + 0x147d8))();
  if (uStack_654 == 0x10) {
    return 0x10;
  }
  if ((int)uStack_654 < 0x11) {
    if (uStack_654 == 1) {
      return 1;
    }
    if (uStack_654 == 8) {
      return 8;
    }
  }
  else {
    if (uStack_654 == 0x40) {
      return 0x40;
    }
    if (uStack_654 == 0x80) {
      return 0x80;
    }
    if (uStack_654 == 0x20) {
      return 0x20;
    }
  }
  if ((uStack_654 & 2) == 0) {
    return 1;
  }
  iVar3 = *piVar12;
  if (iVar3 == 0) {
    return 0x20;
  }
  if (iVar3 != 0xe) {
    iVar4 = 0x10;
    if (iVar3 != 1) {
      iVar4 = 1;
    }
    return iVar4;
  }
  return 0x20;
}

