
int main(int argc,char **argv)

{
  bool bVar1;
  bool bVar2;
  undefined *puVar3;
  char **ppcVar4;
  undefined *puVar5;
  int iVar6;
  undefined4 uVar7;
  uint8_t uVar8;
  int iVar9;
  undefined *puVar10;
  undefined *puVar11;
  char *unaff_s0;
  char **unaff_s1;
  int iVar12;
  uint8_t *puVar13;
  uint8_t *puVar14;
  int iVar15;
  undefined *puVar16;
  int iVar17;
  undefined *puVar18;
  char *pcVar19;
  code *pcVar20;
  char *local_10a0;
  int local_1094;
  int local_108c;
  int resid;
  char b [80];
  uint8_t rsp_buff [4096];
  
  puVar3 = PTR___stack_chk_guard_000230e4;
  puVar11 = PTR_00023064;
  puVar10 = PTR_DAT_00023058;
  iVar9 = *(int *)PTR___stack_chk_guard_000230e4;
  if (1 < argc) {
    local_1094 = -1;
    iVar12 = 1;
    puVar16 = PTR_00023064 + 0x1f94;
    puVar18 = PTR_00023064 + 0x1f98;
    local_10a0 = (char *)0x0;
    local_108c = 0;
    puVar5 = PTR_00023064 + 0x1fa0;
    bVar2 = false;
    bVar1 = false;
    ppcVar4 = argv + 1;
    do {
      while( true ) {
        unaff_s1 = ppcVar4;
        unaff_s0 = *unaff_s1;
        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);
        if (iVar6 != 0) break;
        *(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;
LAB_00010ac8:
        iVar12 = iVar12 + 1;
        ppcVar4 = unaff_s1 + 1;
        if (argc == iVar12) goto LAB_00010b80;
      }
      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3);
      if (iVar6 == 0) {
        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);
        bVar2 = true;
        goto LAB_00010ac8;
      }
      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18);
      if (iVar6 == 0) {
        bVar1 = true;
        goto LAB_00010ac8;
      }
      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c);
      if (iVar6 == 0) {
        local_108c = 1;
        goto LAB_00010ac8;
      }
      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);
      if (iVar6 == 0) {
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);
        iVar12 = 0;
        goto LAB_00010cf8;
      }
      if (*unaff_s0 == '-') {
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);
        goto LAB_00010cdc;
      }
      iVar12 = iVar12 + 1;
      if (local_10a0 != (char *)0x0) {
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);
        goto LAB_00010cdc;
      }
      ppcVar4 = unaff_s1 + 1;
      local_10a0 = unaff_s0;
    } while (argc != iVar12);
LAB_00010b80:
    unaff_s0 = PTR_DAT_00023058;
    unaff_s1 = unaff_s1 + 1;
    if (local_10a0 != (char *)0x0) {
      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_open_device_00023090)
                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));
      if ((int)unaff_s1 < 0) {
        unaff_s1 = (char **)-(int)unaff_s1;
        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);
        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);
        goto LAB_00010c68;
      }
      if (bVar1) {
        (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);
        iVar12 = *(int *)(unaff_s0 + 0x3110);
        if (local_108c == 0) {
          rsp_buff[0x2d] = '\x01';
          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;
          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);
          rsp_buff[0x30] = '\n';
          rsp_buff[0x31] = '\x02';
          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);
          if (iVar12 != 0) {
            iVar12 = 2;
          }
          uVar7 = 0x134;
          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;
        }
        else {
          rsp_buff[0xc] = ',';
          rsp_buff[0xd] = 'h';
          rsp_buff[0x2f] = '\x01';
          rsp_buff[0x32] = '\n';
          rsp_buff[0x33] = '\x02';
          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;
          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;
          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);
          if (iVar12 != 0) {
            iVar12 = 2;
          }
          uVar7 = 0x76;
          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;
        }
        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);
        iVar6 = *(int *)(unaff_s0 + 0x3110);
        if (iVar12 != 0) {
          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);
          goto LAB_00010f20;
        }
LAB_00010f18:
        if (iVar6 == 0) goto LAB_00010f20;
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);
        goto LAB_00010f20;
      }
      if (bVar2) {
        if (local_108c == 0) {
          if (0xff < local_1094) {
            iVar12 = -1;
            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);
            goto LAB_00010f20;
          }
          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);
          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);
          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;
          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);
          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);
          iVar12 = *(int *)(unaff_s0 + 0x3110);
          rsp_buff[local_1094 + 0x32] = 0x81;
          rsp_buff[0x2d] = '\x02';
          rsp_buff[0x30] = '\n';
          rsp_buff[0x31] = '\x02';
          if (iVar12 != 0) {
            iVar12 = 2;
          }
          uVar7 = 0x134;
          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;
        }
        else {
          if (0x1f < local_1094) goto LAB_000118b4;
          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);
          rsp_buff[0xc] = ',';
          rsp_buff[0xd] = 'h';
          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;
          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;
          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);
          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);
          iVar12 = *(int *)(unaff_s0 + 0x3110);
          rsp_buff[local_1094 + 0x34] = 0x81;
          rsp_buff[0x2f] = '\x02';
          rsp_buff[0x32] = '\n';
          rsp_buff[0x33] = '\x02';
          if (iVar12 != 0) {
            iVar12 = 2;
          }
          uVar7 = 0x76;
          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;
        }
        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);
        iVar6 = *(int *)(unaff_s0 + 0x3110);
        if (iVar12 != 0) {
          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);
          goto LAB_00010f20;
        }
        goto LAB_00010f18;
      }
      resid = 0;
      if (local_108c == 0) {
        iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)
                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,
                            *(undefined4 *)(unaff_s0 + 0x3110));
      }
      else {
        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)
                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));
      }
      if (iVar12 != 0) {
        if (iVar12 == 9) {
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);
        }
        else if (iVar12 == 5) {
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);
        }
        else {
          (*(code *)PTR_sg_get_category_sense_str_00023098)
                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);
        }
        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);
        if (-1 < iVar6) goto LAB_00010c68;
        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);
        goto LAB_00010c68;
      }
      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0);
      if (resid < 1) {
        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {
LAB_00011344:
          iVar15 = 0x10;
          local_10a0 = (char *)0x0;
          puVar10 = PTR_00023064 + 0x20d0;
          puVar11 = PTR_00023064 + 0x20d4;
          do {
            puVar13 = rsp_buff + (int)local_10a0;
            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);
            pcVar19 = local_10a0;
            do {
              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);
              if (iVar6 <= (int)pcVar19) {
                (*(code *)PTR_putchar_000230b0)(10);
                break;
              }
              pcVar19 = (char *)((int)pcVar19 + 1);
              puVar13 = puVar13 + 1;
            } while ((char *)iVar15 != pcVar19);
            iVar15 = iVar15 + 0x10;
            local_10a0 = (char *)((int)local_10a0 + 0x10);
            (*(code *)PTR_putchar_000230b0)(10);
          } while ((int)local_10a0 < iVar6);
        }
      }
      else {
        if (0x134 - resid < iVar6) {
          iVar6 = 0x134 - resid;
        }
        if (iVar6 < 2) {
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);
        }
        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;
      }
      if (local_108c == 0) {
        local_1094 = 0x100;
        puVar10 = PTR_00023064 + 0x1d9c;
        puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;
        puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;
      }
      else {
        local_1094 = 0x20;
        puVar10 = PTR_00023064 + 0x1d94;
        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;
        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar10);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar14);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar14 + 0x10);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);
      if (puVar14[0x20] == '\0') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);
      }
      else if (puVar14[0x20] == '\x01') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);
      }
      else {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);
      }
      uVar8 = puVar14[0x21];
      if (uVar8 == '\x01') {
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);
      }
      else if (uVar8 == '\0') {
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);
      }
      else if (uVar8 == '\x02') {
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);
      }
      else {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);
      if (puVar14[0x22] == '\0') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);
      }
      else if (puVar14[0x22] == '\x01') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);
      }
      else {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);
      }
      if (puVar14[0x23] < 5) {
                    /* WARNING: Could not emulate address calculation at 0x00011224 */
                    /* WARNING: Treating indirect jump as call */
        iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();
        return iVar9;
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar14[0x24]);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar14[0x25]);
      if ((puVar14[0x25] & 4) == 0) {
        puVar10 = PTR_00023064 + 0x1db0;
      }
      else {
        puVar10 = PTR_00023064 + 0x1da8;
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar10);
      puVar10 = PTR_00023064;
      if ((puVar14[0x25] & 2) == 0) {
        puVar11 = PTR_00023064 + 0x1db0;
      }
      else {
        puVar11 = PTR_00023064 + 0x1da8;
      }
      iVar6 = 0;
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar11);
      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);
      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);
      puVar11 = PTR_00023064 + 0x2330;
      puVar5 = PTR_00023064 + 0x2324;
      puVar16 = PTR_00023064 + 0x2320;
      do {
        iVar15 = 0;
        (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);
        uVar8 = *puVar13;
        if (uVar8 == '\x01') goto LAB_00011564;
LAB_0001150c:
        if (uVar8 == '\0') {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);
        }
        else if (uVar8 == '\x02') {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);
        }
        else if (uVar8 == '\x03') {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);
        }
        else {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);
        }
        bVar1 = iVar15 == 7;
        iVar15 = iVar15 + 1;
        if (bVar1) goto LAB_00011584;
        while (iVar15 != 0x10) {
          while( true ) {
            uVar8 = puVar13[iVar15];
            if (uVar8 != '\x01') goto LAB_0001150c;
LAB_00011564:
            iVar17 = iVar15 + 1;
            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);
            bVar1 = iVar15 != 7;
            iVar15 = iVar17;
            if (bVar1) break;
LAB_00011584:
            (*(code *)PTR_putchar_000230b0)(0x20);
          }
        }
        iVar6 = iVar6 + 0x10;
        puVar13 = puVar13 + 0x10;
        (*(code *)PTR_putchar_000230b0)(10);
      } while (iVar6 < local_1094);
      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);
      if ((int)unaff_s1 < 0) {
        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);
        goto LAB_00010f64;
      }
      if (*(int *)(unaff_s0 + 0x3110) == 0) {
        iVar12 = 0;
        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);
        if (iVar6 == 0) goto LAB_00010e64;
      }
      goto LAB_00010cf8;
    }
  }
LAB_00010cdc:
  iVar12 = 1;
  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);
LAB_00010cf8:
  while (iVar9 != *(int *)puVar3) {
    (*(code *)PTR___stack_chk_fail_000230dc)();
LAB_000118b4:
    iVar12 = -1;
    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);
LAB_00010f20:
    unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);
    if ((int)unaff_s1 < 0) {
      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);
      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);
      if (iVar12 == 0) {
LAB_00010f64:
        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);
      }
    }
LAB_00010c68:
    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&
       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0))
    {
LAB_00010e64:
      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);
    }
    if (iVar12 < 0) {
      iVar12 = 99;
    }
  }
  return iVar12;
}



int main(int param_1,int param_2)

{
  bool bVar1;
  bool bVar2;
  undefined *puVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  int iVar6;
  undefined4 uVar7;
  char cVar8;
  undefined *puVar9;
  undefined *puVar10;
  char *unaff_s0;
  undefined4 *unaff_s1;
  int iVar11;
  char *pcVar12;
  int iVar13;
  undefined *puVar14;
  undefined1 *puVar15;
  int iVar16;
  undefined *puVar17;
  code *pcVar18;
  char *local_10a0;
  int local_1094;
  int local_108c;
  int local_1080;
  undefined1 auStack_107c [80];
  uint local_102c;
  uint local_1028;
  undefined1 auStack_1026 [2];
  undefined4 local_1024;
  undefined2 local_1020 [13];
  char acStack_1006 [12];
  undefined2 local_ffa;
  undefined1 auStack_ff8 [4044];
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_000230e4;
  puVar10 = PTR_00023064;
  puVar9 = PTR_DAT_00023058;
  local_2c = *(int *)PTR___stack_chk_guard_000230e4;
  if (1 < param_1) {
    local_1094 = -1;
    iVar11 = 1;
    puVar14 = PTR_00023064 + 0x1f94;
    puVar17 = PTR_00023064 + 0x1f98;
    local_10a0 = (char *)0x0;
    local_108c = 0;
    puVar5 = PTR_00023064 + 0x1fa0;
    bVar2 = false;
    bVar1 = false;
    puVar4 = (undefined4 *)(param_2 + 4);
    do {
      while( true ) {
        unaff_s1 = puVar4;
        unaff_s0 = (char *)*unaff_s1;
        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);
        if (iVar6 != 0) break;
        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;
LAB_00010ac8:
        iVar11 = iVar11 + 1;
        puVar4 = unaff_s1 + 1;
        if (param_1 == iVar11) goto LAB_00010b80;
      }
      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);
      if (iVar6 == 0) {
        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);
        bVar2 = true;
        goto LAB_00010ac8;
      }
      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);
      if (iVar6 == 0) {
        bVar1 = true;
        goto LAB_00010ac8;
      }
      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);
      if (iVar6 == 0) {
        local_108c = 1;
        goto LAB_00010ac8;
      }
      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);
      if (iVar6 == 0) {
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);
        iVar11 = 0;
        goto LAB_00010cf8;
      }
      if (*unaff_s0 == '-') {
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);
        goto LAB_00010cdc;
      }
      iVar11 = iVar11 + 1;
      if (local_10a0 != (char *)0x0) {
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);
        goto LAB_00010cdc;
      }
      puVar4 = unaff_s1 + 1;
      local_10a0 = unaff_s0;
    } while (param_1 != iVar11);
LAB_00010b80:
    unaff_s0 = PTR_DAT_00023058;
    unaff_s1 = unaff_s1 + 1;
    if (local_10a0 != (char *)0x0) {
      unaff_s1 = (undefined4 *)
                 (*(code *)PTR_sg_cmds_open_device_00023090)
                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));
      if ((int)unaff_s1 < 0) {
        unaff_s1 = (undefined4 *)-(int)unaff_s1;
        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);
        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);
        goto LAB_00010c68;
      }
      if (bVar1) {
        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);
        iVar11 = *(int *)(unaff_s0 + 0x3110);
        if (local_108c == 0) {
          acStack_1006[7] = 1;
          local_102c = *(uint *)PTR_mode10_hdr_00023068;
          local_1024 = 0x6c010128;
          acStack_1006[10] = '\n';
          acStack_1006[0xb] = '\x02';
          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);
          if (iVar11 != 0) {
            iVar11 = 2;
          }
          uVar7 = 0x134;
          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;
        }
        else {
          local_1020[0] = 0x2c68;
          acStack_1006[9] = 1;
          local_ffa = 0xa02;
          local_102c = *(uint *)PTR_mode6_hdr_00023070;
          local_1028 = *(uint *)PTR_block_descriptor_0002306c;
          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);
          if (iVar11 != 0) {
            iVar11 = 2;
          }
          uVar7 = 0x76;
          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;
        }
        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);
        iVar6 = *(int *)(unaff_s0 + 0x3110);
        if (iVar11 != 0) {
          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);
          goto LAB_00010f20;
        }
LAB_00010f18:
        if (iVar6 == 0) goto LAB_00010f20;
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);
        goto LAB_00010f20;
      }
      if (bVar2) {
        if (local_108c == 0) {
          if (0xff < local_1094) {
            iVar11 = -1;
            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);
            goto LAB_00010f20;
          }
          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);
          local_1024 = 0x6c010128;
          local_102c = *(uint *)PTR_mode10_hdr_00023068;
          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);
          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);
          iVar11 = *(int *)(unaff_s0 + 0x3110);
          auStack_ff8[local_1094 + -2] = 0x81;
          acStack_1006[7] = 2;
          acStack_1006[10] = '\n';
          acStack_1006[0xb] = '\x02';
          if (iVar11 != 0) {
            iVar11 = 2;
          }
          uVar7 = 0x134;
          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;
        }
        else {
          if (0x1f < local_1094) goto LAB_000118b4;
          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);
          local_1020[0] = 0x2c68;
          local_1028 = *(uint *)PTR_block_descriptor_0002306c;
          local_102c = *(uint *)PTR_mode6_hdr_00023070;
          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);
          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);
          iVar11 = *(int *)(unaff_s0 + 0x3110);
          auStack_ff8[local_1094] = 0x81;
          acStack_1006[9] = 2;
          local_ffa = 0xa02;
          if (iVar11 != 0) {
            iVar11 = 2;
          }
          uVar7 = 0x76;
          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;
        }
        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);
        iVar6 = *(int *)(unaff_s0 + 0x3110);
        if (iVar11 != 0) {
          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);
          goto LAB_00010f20;
        }
        goto LAB_00010f18;
      }
      local_1080 = 0;
      if (local_108c == 0) {
        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)
                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,
                            *(undefined4 *)(unaff_s0 + 0x3110));
      }
      else {
        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)
                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,
                            *(undefined4 *)(unaff_s0 + 0x3110));
      }
      if (iVar11 != 0) {
        if (iVar11 == 9) {
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);
        }
        else if (iVar11 == 5) {
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);
        }
        else {
          (*(code *)PTR_sg_get_category_sense_str_00023098)
                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);
        }
        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);
        if (-1 < iVar6) goto LAB_00010c68;
        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);
        goto LAB_00010c68;
      }
      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);
      if (local_1080 < 1) {
        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {
LAB_00011344:
          iVar13 = 0x10;
          local_10a0 = (char *)0x0;
          puVar9 = PTR_00023064 + 0x20d0;
          puVar10 = PTR_00023064 + 0x20d4;
          do {
            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);
            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);
            pcVar12 = local_10a0;
            do {
              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);
              if (iVar6 <= (int)pcVar12) {
                (*(code *)PTR_putchar_000230b0)(10);
                break;
              }
              pcVar12 = (char *)((int)pcVar12 + 1);
              puVar15 = puVar15 + 1;
            } while ((char *)iVar13 != pcVar12);
            iVar13 = iVar13 + 0x10;
            local_10a0 = (char *)((int)local_10a0 + 0x10);
            (*(code *)PTR_putchar_000230b0)(10);
          } while ((int)local_10a0 < iVar6);
        }
      }
      else {
        if (0x134 - local_1080 < iVar6) {
          iVar6 = 0x134 - local_1080;
        }
        if (iVar6 < 2) {
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);
        }
        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;
      }
      if (local_108c == 0) {
        local_1094 = 0x100;
        puVar9 = PTR_00023064 + 0x1d9c;
        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));
        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);
      }
      else {
        local_1094 = 0x20;
        puVar9 = PTR_00023064 + 0x1d94;
        puVar15 = auStack_1026 + (local_102c & 0xff);
        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);
      if (puVar15[0x20] == '\0') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);
      }
      else if (puVar15[0x20] == '\x01') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);
      }
      else {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);
      }
      cVar8 = puVar15[0x21];
      if (cVar8 == '\x01') {
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);
      }
      else if (cVar8 == '\0') {
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);
      }
      else if (cVar8 == '\x02') {
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);
      }
      else {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);
      if (puVar15[0x22] == '\0') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);
      }
      else if (puVar15[0x22] == '\x01') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);
      }
      else {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);
      }
      if ((byte)puVar15[0x23] < 5) {
                    /* WARNING: Could not emulate address calculation at 0x00011224 */
                    /* WARNING: Treating indirect jump as call */
        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)
                           ))();
        return iVar11;
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);
      if ((puVar15[0x25] & 4) == 0) {
        puVar9 = PTR_00023064 + 0x1db0;
      }
      else {
        puVar9 = PTR_00023064 + 0x1da8;
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);
      puVar9 = PTR_00023064;
      if ((puVar15[0x25] & 2) == 0) {
        puVar10 = PTR_00023064 + 0x1db0;
      }
      else {
        puVar10 = PTR_00023064 + 0x1da8;
      }
      iVar6 = 0;
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);
      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);
      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);
      puVar10 = PTR_00023064 + 0x2330;
      puVar5 = PTR_00023064 + 0x2324;
      puVar14 = PTR_00023064 + 0x2320;
      do {
        iVar13 = 0;
        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);
        cVar8 = *pcVar12;
        if (cVar8 == '\x01') goto LAB_00011564;
LAB_0001150c:
        if (cVar8 == '\0') {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);
        }
        else if (cVar8 == '\x02') {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);
        }
        else if (cVar8 == '\x03') {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);
        }
        else {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);
        }
        bVar1 = iVar13 == 7;
        iVar13 = iVar13 + 1;
        if (bVar1) goto LAB_00011584;
        while (iVar13 != 0x10) {
          while( true ) {
            cVar8 = pcVar12[iVar13];
            if (cVar8 != '\x01') goto LAB_0001150c;
LAB_00011564:
            iVar16 = iVar13 + 1;
            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);
            bVar1 = iVar13 != 7;
            iVar13 = iVar16;
            if (bVar1) break;
LAB_00011584:
            (*(code *)PTR_putchar_000230b0)(0x20);
          }
        }
        iVar6 = iVar6 + 0x10;
        pcVar12 = pcVar12 + 0x10;
        (*(code *)PTR_putchar_000230b0)(10);
      } while (iVar6 < local_1094);
      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);
      if ((int)unaff_s1 < 0) {
        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);
        goto LAB_00010f64;
      }
      if (*(int *)(unaff_s0 + 0x3110) == 0) {
        iVar11 = 0;
        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);
        if (iVar6 == 0) goto LAB_00010e64;
      }
      goto LAB_00010cf8;
    }
  }
LAB_00010cdc:
  iVar11 = 1;
  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);
LAB_00010cf8:
  while (local_2c != *(int *)puVar3) {
    (*(code *)PTR___stack_chk_fail_000230dc)();
LAB_000118b4:
    iVar11 = -1;
    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);
LAB_00010f20:
    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);
    if ((int)unaff_s1 < 0) {
      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);
      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);
      if (iVar11 == 0) {
LAB_00010f64:
        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);
      }
    }
LAB_00010c68:
    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&
       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))
    {
LAB_00010e64:
      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);
    }
    if (iVar11 < 0) {
      iVar11 = 99;
    }
  }
  return iVar11;
}


lui gp,0x2
addiu gp,gp,-0x59e0
addu gp,gp,t9
lw v0,-0x7f4c(gp)
addiu sp,sp,-0x10d8
or v1,v0,zero
sw gp,0x30(sp)
sw v0,0x54(sp)
slti v0,a0,0x2
sw ra,0x10d4(sp)
sw s8,0x10d0(sp)
sw s7,0x10cc(sp)
sw s6,0x10c8(sp)
sw s5,0x10c4(sp)
sw s4,0x10c0(sp)
sw s3,0x10bc(sp)
sw s2,0x10b8(sp)
sw s1,0x10b4(sp)
sw s0,0x10b0(sp)
lw v1,0x0(v1)
sw v1,0x10ac(sp)
bne v0,zero,0x00010cdc
_li v0,-0x1
lw s6,-0x7fcc(gp)
lw s7,-0x7fcc(gp)
or s3,a0,zero
sw v0,0x44(sp)
addiu s1,a1,0x4
lw v0,-0x7fcc(gp)
li s2,0x1
lw s5,-0x7fcc(gp)
addiu s6,s6,0x1f94
lw s4,-0x7fd8(gp)
addiu s7,s7,0x1f98
sw v0,0x48(sp)
lw v0,-0x7fcc(gp)
sw zero,0x38(sp)
sw zero,0x4c(sp)
addiu v0,v0,0x1fa0
sw zero,0x40(sp)
sw zero,0x3c(sp)
b 0x00010ad4
_sw v0,0x50(sp)
lw v0,0x3110(s4)
addiu v0,v0,0x1
sw v0,0x3110(s4)
addiu s2,s2,0x1
beq s3,s2,0x00010b80
_addiu s1,s1,0x4
lw s0,0x0(s1)
addiu a1,s5,0x1f90
lw t9,-0x7f40(gp)
jalr t9
_or a0,s0,zero
beq v0,zero,0x00010abc
_lw gp,0x30(sp)
lw t9,-0x7fa4(gp)
li a2,0x3
or a1,s6,zero
jalr t9
_or a0,s0,zero
beq v0,zero,0x00010c90
_lw gp,0x30(sp)
lw t9,-0x7f40(gp)
or a1,s7,zero
jalr t9
_or a0,s0,zero
beq v0,zero,0x00010c84
_lw gp,0x30(sp)
lw v0,0x48(sp)
or a0,s0,zero
lw t9,-0x7f40(gp)
jalr t9
_addiu a1,v0,0x1f9c
beq v0,zero,0x00010cb8
_lw gp,0x30(sp)
lw t9,-0x7f40(gp)
or a0,s0,zero
jalr t9
_lw a1,0x50(sp)
lw gp,0x30(sp)
beq v0,zero,0x00011238
_or s8,v0,zero
lb v1,0x0(s0)
li v0,0x2d
beq v1,v0,0x00010cc4
_lw v0,0x38(sp)
bne v0,zero,0x00011258
_addiu s2,s2,0x1
sw s0,0x38(sp)
bne s3,s2,0x00010ad4
_addiu s1,s1,0x4
lw a0,0x38(sp)
beq a0,zero,0x00010cdc
_lw s0,-0x7fd8(gp)
or a1,zero,zero
lw t9,-0x7fa0(gp)
jalr t9
_lw a2,0x3110(s0)
lw gp,0x30(sp)
bltz v0,0x00010fd4
_or s1,v0,zero
lw v0,0x3c(sp)
bne v0,zero,0x00010e78
_lw v0,0x40(sp)
bne v0,zero,0x00010d38
_lw v1,0x4c(sp)
lw v0,0x3110(s0)
beq v1,zero,0x00010f7c
_sw zero,0x58(sp)
lw t9,-0x7f6c(gp)
addiu s4,sp,0xac
sw v0,0x20(sp)
li v0,0x1
li a3,0x2c
sw s4,0x14(sp)
sw v0,0x1c(sp)
li v0,0xfc
or a2,zero,zero
sw zero,0x10(sp)
or a1,zero,zero
sw v0,0x18(sp)
jalr t9
_or a0,s1,zero
lw gp,0x30(sp)
or s8,v0,zero
beq s8,zero,0x00011088
_li v0,0x9
beq s8,v0,0x00011788
_li v0,0x5
beq s8,v0,0x00011708
_lw t9,-0x7f98(gp)
addiu s2,sp,0x5c
lw a3,0x3110(s0)
li a1,0x50
or a0,s8,zero
jalr t9
_or a2,s2,zero
or a1,s2,zero
lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x23d8
lw gp,0x30(sp)
lw t9,-0x7f50(gp)
jalr t9
_or a0,s1,zero
bltz v0,0x00011720
_lw gp,0x30(sp)
lw v0,0x3110(s0)
beq v0,zero,0x00010e48
_lw a0,-0x7fcc(gp)
bgez s8,0x00010cf8
_lw v1,0x54(sp)
b 0x00010cf8
_li s8,0x63
li v0,0x1
b 0x00010ac8
_sw v0,0x3c(sp)
lw t9,-0x7f68(gp)
or a2,zero,zero
or a1,zero,zero
jalr t9
_addiu a0,s0,0x3
li v1,0x1
lw gp,0x30(sp)
sw v1,0x40(sp)
b 0x00010ac8
_sw v0,0x44(sp)
li v0,0x1
b 0x00010ac8
_sw v0,0x4c(sp)
lw a0,-0x7fcc(gp)
or a1,s0,zero
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x1fcc
lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
li s8,0x1
lw t9,-0x7f60(gp)
jalr t9
_addiu a0,a0,0x1dbc
lw gp,0x30(sp)
lw v1,0x54(sp)
or v0,s8,zero
lw a0,0x10ac(sp)
lw v1,0x0(v1)
bne a0,v1,0x000118a8
_lw ra,0x10d4(sp)
lw s8,0x10d0(sp)
lw s7,0x10cc(sp)
lw s6,0x10c8(sp)
lw s5,0x10c4(sp)
lw s4,0x10c0(sp)
lw s3,0x10bc(sp)
lw s2,0x10b8(sp)
lw s1,0x10b4(sp)
lw s0,0x10b0(sp)
jr ra
_addiu sp,sp,0x10d8
lw v0,0x4c(sp)
bne v0,zero,0x00011270
_lw v0,0x44(sp)
slti v0,v0,0x100
beq v0,zero,0x000118d0
_lw t9,-0x7f7c(gp)
addiu s4,sp,0xac
li a2,0x134
or a1,zero,zero
jalr t9
_or a0,s4,zero
lui v0,0x6c01
lw gp,0x30(sp)
or a1,zero,zero
addiu v0,v0,0x128
addiu a0,sp,0xde
sw v0,0xb4(sp)
li a2,0x100
lw v1,-0x7fc8(gp)
lw t9,-0x7f7c(gp)
lw a3,0x0(v1)
lw v0,0x4(v1)
sw a3,0xac(sp)
jalr t9
_sw v0,0xb0(sp)
addiu v1,sp,0x10b0
lw a1,0x44(sp)
li a0,-0x7f
lw gp,0x30(sp)
lw v0,0x3110(s0)
addu v1,v1,a1
sb a0,-0xfd2(v1)
li v1,0x2
sb v1,0xd9(sp)
li v1,0xa02
beq v0,zero,0x00010dd0
_sh v1,0xdc(sp)
li v0,0x2
lw t9,-0x7f84(gp)
or a2,zero,zero
sw v0,0x18(sp)
li v0,0x1
li a1,0x1
sw v0,0x14(sp)
li v0,0x134
or a3,s4,zero
sw v0,0x10(sp)
jalr t9
_or a0,s1,zero
lw gp,0x30(sp)
or s8,v0,zero
beq v0,zero,0x00010f18
_lw a3,0x3110(s0)
lw t9,-0x7f98(gp)
addiu s2,sp,0x5c
li a1,0x50
or a2,s2,zero
jalr t9
_or a0,v0,zero
or a2,s2,zero
lw gp,0x30(sp)
lw a1,0x44(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x2084
b 0x00010f20
_lw gp,0x30(sp)
or a1,s8,zero
lw t9,-0x7f74(gp)
jalr t9
_addiu a0,a0,0x2404
bne v0,zero,0x00010c74
_lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x2418
b 0x00010c74
_lw gp,0x30(sp)
lw t9,-0x7f7c(gp)
addiu s4,sp,0xac
li a2,0x134
or a1,zero,zero
jalr t9
_or a0,s4,zero
lw v1,0x4c(sp)
lw gp,0x30(sp)
beq v1,zero,0x00011030
_lw v0,0x3110(s0)
li a0,0x2c68
lw v1,-0x7fc4(gp)
sh a0,0xb8(sp)
li a0,0x1
sb a0,0xdb(sp)
li a0,0xa02
sh a0,0xde(sp)
lw a0,-0x7fc0(gp)
lw a1,0x0(a0)
lw a0,0x0(v1)
lw v1,0x4(v1)
sw a1,0xac(sp)
sw a0,0xb0(sp)
bne v0,zero,0x00011324
_sw v1,0xb4(sp)
lw t9,-0x7f5c(gp)
or a2,zero,zero
sw v0,0x18(sp)
li v0,0x1
li a1,0x1
sw v0,0x14(sp)
li v0,0x76
or a3,s4,zero
sw v0,0x10(sp)
jalr t9
_or a0,s1,zero
lw gp,0x30(sp)
or s8,v0,zero
bne v0,zero,0x000116d0
_lw a3,0x3110(s0)
bne a3,zero,0x000116a8
_lw a0,-0x7fcc(gp)
lw t9,-0x7f50(gp)
jalr t9
_or a0,s1,zero
lw gp,0x30(sp)
bgez v0,0x00010c68
_or s1,v0,zero
lw t9,-0x7f94(gp)
jalr t9
_subu a0,zero,v0
lw gp,0x30(sp)
or a1,v0,zero
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x23f0
bne s8,zero,0x00010c68
_lw gp,0x30(sp)
lw t9,-0x7f88(gp)
jalr t9
_or a0,s1,zero
lw gp,0x30(sp)
b 0x00010c68
_or s8,v0,zero
lw t9,-0x7f78(gp)
li v1,0x1
sw v0,0x2c(sp)
li v0,0x134
addiu s4,sp,0xac
sw v1,0x28(sp)
sw v0,0x1c(sp)
addiu v0,sp,0x58
or a3,zero,zero
sw zero,0x20(sp)
sw v0,0x24(sp)
li v0,0x2c
or a2,zero,zero
sw s4,0x18(sp)
or a1,zero,zero
sw v1,0x14(sp)
sw v0,0x10(sp)
jalr t9
_or a0,s1,zero
lw gp,0x30(sp)
b 0x00010c08
_or s8,v0,zero
lw t9,-0x7f94(gp)
subu s1,zero,v0
jalr t9
_or a0,s1,zero
lw gp,0x30(sp)
or a2,v0,zero
lw a1,0x38(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x1ffc
lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f60(gp)
jalr t9
_addiu a0,a0,0x1dbc
lw gp,0x30(sp)
lw t9,-0x7f88(gp)
jalr t9
_or a0,s1,zero
lw gp,0x30(sp)
b 0x00010c68
_or s8,v0,zero
li v1,0x1
lw a0,-0x7fc8(gp)
sb v1,0xd9(sp)
lui v1,0x6c01
addiu v1,v1,0x128
lw a1,0x0(a0)
sw v1,0xb4(sp)
li v1,0xa02
sw a1,0xac(sp)
sh v1,0xdc(sp)
lw v1,0x4(a0)
beq v0,zero,0x00011068
_sw v1,0xb0(sp)
li v0,0x2
lw t9,-0x7f84(gp)
or a2,zero,zero
sw v0,0x18(sp)
li v0,0x1
li a1,0x1
sw v0,0x14(sp)
b 0x00010ef8
_li v0,0x134
lw t9,-0x7f90(gp)
li a1,0x134
lw a2,0x4c(sp)
or a3,zero,zero
jalr t9
_or a0,s4,zero
lw a1,0x58(sp)
or s2,v0,zero
blez a1,0x0001132c
_lw gp,0x30(sp)
li v0,0x134
subu v0,v0,a1
slt v1,v0,s2
movn s2,v0,v1
slti v0,s2,0x2
bne v0,zero,0x00011890
_lw v0,0x3110(s0)
bne v0,zero,0x00011344
_lw s7,-0x7fcc(gp)
lw v0,0x4c(sp)
bne v0,zero,0x00011764
_lbu s2,0xaf(sp)
lbu s2,0xb3(sp)
li v0,0x100
lw a2,-0x7fcc(gp)
sw v0,0x44(sp)
addiu s2,s2,0x8
addiu a2,a2,0x1d9c
addu s2,s4,s2
addiu s3,s2,0x4
addiu s2,s2,0x2a
lw a1,-0x7fcc(gp)
li a0,0x1
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x20dc
li a0,0x1
lw gp,0x30(sp)
or a2,s3,zero
lw a1,-0x7fcc(gp)
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x20ec
addiu a2,s3,0x10
lw gp,0x30(sp)
li a0,0x1
lw a1,-0x7fcc(gp)
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x2108
li a0,0x1
lw gp,0x30(sp)
lw a1,-0x7fcc(gp)
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x212c
lbu a2,0x20(s3)
beq a2,zero,0x000117a0
_lw gp,0x30(sp)
li v0,0x1
beq a2,v0,0x000117f0
_li a0,0x1
lw a1,-0x7fcc(gp)
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x2194
lw gp,0x30(sp)
lbu a2,0x21(s3)
li v0,0x1
beq a2,v0,0x00011808
_lw a0,-0x7fcc(gp)
beq a2,zero,0x00011830
_li v0,0x2
beq a2,v0,0x0001181c
_lw a0,-0x7fcc(gp)
lw a1,-0x7fcc(gp)
li a0,0x1
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x21e0
lw gp,0x30(sp)
lw a1,-0x7fcc(gp)
li a0,0x1
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x21f8
lbu a2,0x22(s3)
beq a2,zero,0x000117d4
_lw gp,0x30(sp)
li v0,0x1
beq a2,v0,0x000117bc
_li a0,0x1
lw a1,-0x7fcc(gp)
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x221c
lw gp,0x30(sp)
lbu a2,0x23(s3)
sltiu v0,a2,0x5
beq v0,zero,0x00011874
_lw v0,-0x7fcc(gp)
sll a2,a2,0x2
addiu v0,v0,0x2460
addu v0,v0,a2
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_lw t9,-0x7f60(gp)
lw a1,-0x7fcc(gp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
addiu a1,a1,0x1fa4
jalr t9
_addiu a0,a0,0x1fb4
b 0x00010cf4
_lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x1fe8
b 0x00010cdc
_lw gp,0x30(sp)
slti v0,v0,0x20
beq v0,zero,0x000118b4
_lw t9,-0x7f7c(gp)
addiu s4,sp,0xac
li a2,0x134
or a1,zero,zero
jalr t9
_or a0,s4,zero
li v1,0x2c68
lw gp,0x30(sp)
or a1,zero,zero
sh v1,0xb8(sp)
addiu a0,sp,0xe0
li a2,0x20
lw v0,-0x7fc4(gp)
lw v1,-0x7fc0(gp)
lw t9,-0x7f7c(gp)
lw a3,0x0(v0)
lw v1,0x0(v1)
lw v0,0x4(v0)
sw a3,0xb0(sp)
sw v1,0xac(sp)
jalr t9
_sw v0,0xb4(sp)
addiu v1,sp,0x10b0
lw a1,0x44(sp)
li a0,-0x7f
lw gp,0x30(sp)
lw v0,0x3110(s0)
addu v1,v1,a1
sb a0,-0xfd0(v1)
li v1,0x2
sb v1,0xdb(sp)
li v1,0xa02
beq v0,zero,0x00011304
_sh v1,0xde(sp)
li v0,0x2
lw t9,-0x7f5c(gp)
or a2,zero,zero
sw v0,0x18(sp)
li v0,0x1
li a1,0x1
sw v0,0x14(sp)
b 0x00010dec
_li v0,0x76
b 0x00010edc
_li v0,0x2
lw v0,0x3110(s0)
beq v0,zero,0x000110d4
_slti v0,s2,0x2
bne v0,zero,0x000110d8
_lw v0,0x4c(sp)
lw s7,-0x7fcc(gp)
li s3,0x10
lw s5,-0x7fcc(gp)
sw zero,0x38(sp)
addiu v0,s7,0x20d0
addiu s5,s5,0x20d4
sw v0,0x3c(sp)
lw s7,0x38(sp)
li a0,0x1
lw t9,-0x7f8c(gp)
lw a1,0x3c(sp)
sra a2,s7,0x4
jalr t9
_addu s6,s4,s7
lw gp,0x30(sp)
lw t9,-0x7f8c(gp)
li a0,0x1
lbu a2,0x0(s6)
jalr t9
_or a1,s5,zero
slt v0,s7,s2
beq v0,zero,0x000116bc
_lw gp,0x30(sp)
addiu s7,s7,0x1
bne s3,s7,0x0001137c
_addiu s6,s6,0x1
lw v0,0x38(sp)
li a0,0xa
lw t9,-0x7f80(gp)
addiu s3,s3,0x10
addiu v0,v0,0x10
or s6,v0,zero
jalr t9
_sw v0,0x38(sp)
slt v0,s6,s2
bne v0,zero,0x0001135c
_lw gp,0x30(sp)
b 0x000110d8
_lw v0,0x4c(sp)
lw a1,-0x7fcc(gp)
li a0,0x1
lw t9,-0x7f8c(gp)
lbu a2,0x24(s3)
jalr t9
_addiu a1,a1,0x2250
li a0,0x1
lw gp,0x30(sp)
lbu a2,0x25(s3)
lw a1,-0x7fcc(gp)
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x226c
lbu v0,0x25(s3)
andi v0,v0,0x4
bne v0,zero,0x00011758
_lw gp,0x30(sp)
lw a2,-0x7fcc(gp)
addiu a2,a2,0x1db0
lw a1,-0x7fcc(gp)
li a0,0x1
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x2280
lbu v0,0x25(s3)
andi v0,v0,0x2
bne v0,zero,0x0001174c
_lw gp,0x30(sp)
lw a2,-0x7fcc(gp)
addiu a2,a2,0x1db0
lw v0,-0x7fcc(gp)
li a0,0x1
lw a1,-0x7fcc(gp)
or s3,zero,zero
lw t9,-0x7f8c(gp)
sw v0,0x48(sp)
lw v0,-0x7fcc(gp)
addiu a1,a1,0x2290
sw v0,0x38(sp)
lw v0,-0x7fcc(gp)
jalr t9
_sw v0,0x40(sp)
lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f60(gp)
jalr t9
_addiu a0,a0,0x22ac
lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f60(gp)
jalr t9
_addiu a0,a0,0x22e8
lw gp,0x30(sp)
lw v0,-0x7fcc(gp)
lw s4,-0x7fcc(gp)
lw s7,-0x7fcc(gp)
addiu v0,v0,0x2330
addiu s4,s4,0x2324
addiu s7,s7,0x2320
sw v0,0x3c(sp)
lw v0,0x48(sp)
li a0,0x1
lw t9,-0x7f8c(gp)
sra a2,s3,0x4
or s5,zero,zero
jalr t9
_addiu a1,v0,0x2314
addu v0,s2,s5
li a0,0x1
lbu v0,0x0(v0)
beq v0,a0,0x00011564
_lw gp,0x30(sp)
beq v0,zero,0x00011690
_li a0,0x2
beq v0,a0,0x00011674
_li a0,0x3
beq v0,a0,0x0001165c
_lw v0,0x40(sp)
lw t9,-0x7f8c(gp)
li a0,0x1
jalr t9
_lw a1,0x3c(sp)
lw gp,0x30(sp)
li v0,0x7
beq s5,v0,0x00011584
_addiu s6,s5,0x1
li v0,0x10
beq s6,v0,0x0001159c
_or s5,s6,zero
addu v0,s2,s5
li a0,0x1
lbu v0,0x0(v0)
bne v0,a0,0x0001150c
_nop
lw t9,-0x7f8c(gp)
li a0,0x1
or a1,s4,zero
jalr t9
_addiu s6,s5,0x1
li v0,0x7
bne s5,v0,0x00011544
_lw gp,0x30(sp)
lw t9,-0x7f80(gp)
li a0,0x20
jalr t9
_or s5,s6,zero
b 0x00011550
_lw gp,0x30(sp)
lw t9,-0x7f80(gp)
li a0,0xa
addiu s3,s3,0x10
jalr t9
_addiu s2,s2,0x10
lw v0,0x44(sp)
slt v0,s3,v0
bne v0,zero,0x000114dc
_lw gp,0x30(sp)
lw t9,-0x7f50(gp)
jalr t9
_or a0,s1,zero
lw gp,0x30(sp)
bltz v0,0x00011848
_or s1,v0,zero
lw v0,0x3110(s0)
bne v0,zero,0x00010cf8
_lw v1,0x54(sp)
lw a0,-0x7fcc(gp)
or a1,zero,zero
lw t9,-0x7f74(gp)
or s8,zero,zero
jalr t9
_addiu a0,a0,0x2404
bne v0,zero,0x00010cf4
_lw gp,0x30(sp)
b 0x00010e64
_lw a0,-0x7fcc(gp)
li a0,0x1
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,v0,0x232c
b 0x00011538
_lw gp,0x30(sp)
lw v0,0x38(sp)
li a0,0x1
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,v0,0x2328
b 0x00011538
_lw gp,0x30(sp)
lw t9,-0x7f8c(gp)
li a0,0x1
jalr t9
_or a1,s7,zero
b 0x00011538
_lw gp,0x30(sp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x2010
b 0x00010f20
_lw gp,0x30(sp)
lw t9,-0x7f80(gp)
jalr t9
_li a0,0xa
b 0x000113a8
_lw gp,0x30(sp)
lw t9,-0x7f98(gp)
addiu s2,sp,0x5c
li a1,0x50
or a0,v0,zero
jalr t9
_or a2,s2,zero
or a1,s2,zero
lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x2028
b 0x00010f20
_lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x2380
b 0x00010c54
_lw gp,0x30(sp)
lw t9,-0x7f94(gp)
jalr t9
_subu a0,zero,v0
lw gp,0x30(sp)
or a1,v0,zero
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x23f0
b 0x00010c68
_lw gp,0x30(sp)
lw a2,-0x7fcc(gp)
b 0x00011464
_addiu a2,a2,0x1da8
lw a2,-0x7fcc(gp)
b 0x00011438
_addiu a2,a2,0x1da8
li v0,0x20
lw a2,-0x7fcc(gp)
sw v0,0x44(sp)
addiu s2,s2,0x4
addiu a2,a2,0x1d94
addu s2,s4,s2
addiu s3,s2,0x2
b 0x00011104
_addiu s2,s2,0x28
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x2334
b 0x00010c54
_lw gp,0x30(sp)
lw a1,-0x7fcc(gp)
li a0,0x1
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x2150
b 0x00011194
_lw gp,0x30(sp)
lw a1,-0x7fcc(gp)
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x2174
b 0x0001120c
_lw gp,0x30(sp)
lw a1,-0x7fcc(gp)
li a0,0x1
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x2150
b 0x0001120c
_lw gp,0x30(sp)
lw a1,-0x7fcc(gp)
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x2174
b 0x00011194
_lw gp,0x30(sp)
lw t9,-0x7f60(gp)
jalr t9
_addiu a0,a0,0x21c4
b 0x000111cc
_lw gp,0x30(sp)
lw t9,-0x7f60(gp)
jalr t9
_addiu a0,a0,0x21cc
b 0x000111cc
_lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f60(gp)
jalr t9
_addiu a0,a0,0x21b8
b 0x000111cc
_lw gp,0x30(sp)
lw t9,-0x7f94(gp)
jalr t9
_subu a0,zero,s1
lw gp,0x30(sp)
or a1,v0,zero
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x23f0
b 0x00010f64
_lw gp,0x30(sp)
lw a1,-0x7fcc(gp)
li a0,0x1
lw t9,-0x7f8c(gp)
jalr t9
_addiu a1,a1,0x21e0
b 0x000113ec
_lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x20ac
b 0x000110d4
_lw gp,0x30(sp)
lw t9,-0x7f54(gp)
jalr t9
_nop
lw a0,-0x7fcc(gp)
li s8,-0x1
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x2040
b 0x00010f20
_lw gp,0x30(sp)
lw a0,-0x7fcc(gp)
li s8,-0x1
lw t9,-0x7f58(gp)
jalr t9
_addiu a0,a0,0x206c
b 0x00010f20
_lw gp,0x30(sp)
(translation_unit "int main(int param_1,int param_2)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  char cVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  char *unaff_s0;\n  undefined4 *unaff_s1;\n  int iVar11;\n  char *pcVar12;\n  int iVar13;\n  undefined *puVar14;\n  undefined1 *puVar15;\n  int iVar16;\n  undefined *puVar17;\n  code *pcVar18;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int local_1080;\n  undefined1 auStack_107c [80];\n  uint local_102c;\n  uint local_1028;\n  undefined1 auStack_1026 [2];\n  undefined4 local_1024;\n  undefined2 local_1020 [13];\n  char acStack_1006 [12];\n  undefined2 local_ffa;\n  undefined1 auStack_ff8 [4044];\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar10 = PTR_00023064;\n  puVar9 = PTR_DAT_00023058;\n  local_2c = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar11 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }\n  return iVar11;\n}\n\n" (function_definition "int main(int param_1,int param_2)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  char cVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  char *unaff_s0;\n  undefined4 *unaff_s1;\n  int iVar11;\n  char *pcVar12;\n  int iVar13;\n  undefined *puVar14;\n  undefined1 *puVar15;\n  int iVar16;\n  undefined *puVar17;\n  code *pcVar18;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int local_1080;\n  undefined1 auStack_107c [80];\n  uint local_102c;\n  uint local_1028;\n  undefined1 auStack_1026 [2];\n  undefined4 local_1024;\n  undefined2 local_1020 [13];\n  char acStack_1006 [12];\n  undefined2 local_ffa;\n  undefined1 auStack_ff8 [4044];\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar10 = PTR_00023064;\n  puVar9 = PTR_DAT_00023058;\n  local_2c = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar11 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }\n  return iVar11;\n}" primitive_type (function_declarator "main(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  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  char cVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  char *unaff_s0;\n  undefined4 *unaff_s1;\n  int iVar11;\n  char *pcVar12;\n  int iVar13;\n  undefined *puVar14;\n  undefined1 *puVar15;\n  int iVar16;\n  undefined *puVar17;\n  code *pcVar18;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int local_1080;\n  undefined1 auStack_107c [80];\n  uint local_102c;\n  uint local_1028;\n  undefined1 auStack_1026 [2];\n  undefined4 local_1024;\n  undefined2 local_1020 [13];\n  char acStack_1006 [12];\n  undefined2 local_ffa;\n  undefined1 auStack_ff8 [4044];\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar10 = PTR_00023064;\n  puVar9 = PTR_DAT_00023058;\n  local_2c = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar11 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }\n  return iVar11;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "char *unaff_s0;" primitive_type (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "undefined4 *unaff_s1;" type_identifier (pointer_declarator "*unaff_s1" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined1 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "undefined *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "code *pcVar18;" type_identifier (pointer_declarator "*pcVar18" * identifier) ;) (declaration "char *local_10a0;" primitive_type (pointer_declarator "*local_10a0" * identifier) ;) (declaration "int local_1094;" primitive_type identifier ;) (declaration "int local_108c;" primitive_type identifier ;) (declaration "int local_1080;" primitive_type identifier ;) (declaration "undefined1 auStack_107c [80];" type_identifier (array_declarator "auStack_107c [80]" identifier [ number_literal ]) ;) (declaration "uint local_102c;" type_identifier identifier ;) (declaration "uint local_1028;" type_identifier identifier ;) (declaration "undefined1 auStack_1026 [2];" type_identifier (array_declarator "auStack_1026 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_1024;" type_identifier identifier ;) (declaration "undefined2 local_1020 [13];" type_identifier (array_declarator "local_1020 [13]" identifier [ number_literal ]) ;) (declaration "char acStack_1006 [12];" primitive_type (array_declarator "acStack_1006 [12]" identifier [ number_literal ]) ;) (declaration "undefined2 local_ffa;" type_identifier identifier ;) (declaration "undefined1 auStack_ff8 [4044];" type_identifier (array_declarator "auStack_ff8 [4044]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_000230e4;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000230e4" identifier = identifier) ;) (expression_statement "puVar10 = PTR_00023064;" (assignment_expression "puVar10 = PTR_00023064" identifier = identifier) ;) (expression_statement "puVar9 = PTR_DAT_00023058;" (assignment_expression "puVar9 = PTR_DAT_00023058" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000230e4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000230e4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000230e4" * (cast_expression "(int *)PTR___stack_chk_guard_000230e4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }" if (parenthesized_expression "(1 < param_1)" ( (binary_expression "1 < param_1" number_literal < identifier) )) (compound_statement "{\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }" { (expression_statement "local_1094 = -1;" (assignment_expression "local_1094 = -1" identifier = number_literal) ;) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "puVar14 = PTR_00023064 + 0x1f94;" (assignment_expression "puVar14 = PTR_00023064 + 0x1f94" identifier = (binary_expression "PTR_00023064 + 0x1f94" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_00023064 + 0x1f98;" (assignment_expression "puVar17 = PTR_00023064 + 0x1f98" identifier = (binary_expression "PTR_00023064 + 0x1f98" identifier + number_literal)) ;) (expression_statement "local_10a0 = (char *)0x0;" (assignment_expression "local_10a0 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_108c = 0;" (assignment_expression "local_108c = 0" identifier = number_literal) ;) (expression_statement "puVar5 = PTR_00023064 + 0x1fa0;" (assignment_expression "puVar5 = PTR_00023064 + 0x1fa0" identifier = (binary_expression "PTR_00023064 + 0x1fa0" identifier + number_literal)) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "puVar4 = (undefined4 *)(param_2 + 4);" (assignment_expression "puVar4 = (undefined4 *)(param_2 + 4)" identifier = (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) ;) (do_statement "do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);" do (compound_statement "{\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    }" { (while_statement "while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }" { (expression_statement "unaff_s1 = puVar4;" (assignment_expression "unaff_s1 = puVar4" identifier = identifier) ;) (expression_statement "unaff_s0 = (char *)*unaff_s1;" (assignment_expression "unaff_s0 = (char *)*unaff_s1" identifier = (cast_expression "(char *)*unaff_s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_s1" * identifier))) ;) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar10 + 0x1f90)" ( identifier , (binary_expression "puVar10 + 0x1f90" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) break;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "*(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;" (assignment_expression "*(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1" (pointer_expression "*(int *)(puVar9 + 0x3110)" * (cast_expression "(int *)(puVar9 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x3110)" ( (binary_expression "puVar9 + 0x3110" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar9 + 0x3110) + 1" (pointer_expression "*(int *)(puVar9 + 0x3110)" * (cast_expression "(int *)(puVar9 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x3110)" ( (binary_expression "puVar9 + 0x3110" identifier + number_literal) )))) + number_literal)) ;) (labeled_statement "LAB_00010ac8:\n        iVar11 = iVar11 + 1;" statement_identifier : (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;)) (expression_statement "puVar4 = unaff_s1 + 1;" (assignment_expression "puVar4 = unaff_s1 + 1" identifier = (binary_expression "unaff_s1 + 1" identifier + number_literal)) ;) (if_statement "if (param_1 == iVar11) goto LAB_00010b80;" if (parenthesized_expression "(param_1 == iVar11)" ( (binary_expression "param_1 == iVar11" identifier == identifier) )) (goto_statement "goto LAB_00010b80;" goto statement_identifier ;)) })) (expression_statement "iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);" (assignment_expression "iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3)" identifier = (call_expression "(*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3)" (parenthesized_expression "(*(code *)PTR_strncmp_0002308c)" ( (pointer_expression "*(code *)PTR_strncmp_0002308c" * (cast_expression "(code *)PTR_strncmp_0002308c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar14,3)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }" { (expression_statement "local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);" (assignment_expression "local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0)" identifier = (call_expression "(*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0)" (parenthesized_expression "(*(code *)PTR_strtoul_000230c8)" ( (pointer_expression "*(code *)PTR_strtoul_000230c8" * (cast_expression "(code *)PTR_strtoul_000230c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0 + 3,0,0)" ( (binary_expression "unaff_s0 + 3" identifier + number_literal) , number_literal , number_literal )))) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (goto_statement "goto LAB_00010ac8;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar17)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (goto_statement "goto LAB_00010ac8;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar10 + 0x1f9c)" ( identifier , (binary_expression "puVar10 + 0x1f9c" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }" { (expression_statement "local_108c = 1;" (assignment_expression "local_108c = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00010ac8;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4)" ( (binary_expression "PTR_00023064 + 0x1fb4" identifier + number_literal) , (binary_expression "PTR_00023064 + 0x1fa4" identifier + number_literal) ))) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00010cf8;" goto statement_identifier ;) })) (if_statement "if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }" if (parenthesized_expression "(*unaff_s0 == '-')" ( (binary_expression "*unaff_s0 == '-'" (pointer_expression "*unaff_s0" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1fcc,unaff_s0)" ( (binary_expression "PTR_00023064 + 0x1fcc" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010cdc;" goto statement_identifier ;) })) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (if_statement "if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }" if (parenthesized_expression "(local_10a0 != (char *)0x0)" ( (binary_expression "local_10a0 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1fe8)" ( (binary_expression "PTR_00023064 + 0x1fe8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010cdc;" goto statement_identifier ;) })) (expression_statement "puVar4 = unaff_s1 + 1;" (assignment_expression "puVar4 = unaff_s1 + 1" identifier = (binary_expression "unaff_s1 + 1" identifier + number_literal)) ;) (expression_statement "local_10a0 = unaff_s0;" (assignment_expression "local_10a0 = unaff_s0" identifier = identifier) ;) }) while (parenthesized_expression "(param_1 != iVar11)" ( (binary_expression "param_1 != iVar11" identifier != identifier) )) ;) (labeled_statement "LAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;" statement_identifier : (expression_statement "unaff_s0 = PTR_DAT_00023058;" (assignment_expression "unaff_s0 = PTR_DAT_00023058" identifier = identifier) ;)) (expression_statement "unaff_s1 = unaff_s1 + 1;" (assignment_expression "unaff_s1 = unaff_s1 + 1" identifier = (binary_expression "unaff_s1 + 1" identifier + number_literal)) ;) (if_statement "if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }" if (parenthesized_expression "(local_10a0 != (char *)0x0)" ( (binary_expression "local_10a0 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }" { (expression_statement "unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));" (assignment_expression "unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" identifier = (cast_expression "(undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00023090)" ( (pointer_expression "*(code *)PTR_sg_cmds_open_device_00023090" * (cast_expression "(code *)PTR_sg_cmds_open_device_00023090" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(PTR_DAT_00023058 + 0x3110)" * (cast_expression "(undefined4 *)(PTR_DAT_00023058 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00023058 + 0x3110)" ( (binary_expression "PTR_DAT_00023058 + 0x3110" identifier + number_literal) )))) ))))) ;) (if_statement "if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }" if (parenthesized_expression "((int)unaff_s1 < 0)" ( (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }" { (expression_statement "unaff_s1 = (undefined4 *)-(int)unaff_s1;" (assignment_expression "unaff_s1 = (undefined4 *)-(int)unaff_s1" identifier = (cast_expression "(undefined4 *)-(int)unaff_s1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)unaff_s1" - (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1ffc,local_10a0,uVar7)" ( (binary_expression "PTR_00023064 + 0x1ffc" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1dbc)" ( (binary_expression "PTR_00023064 + 0x1dbc" identifier + number_literal) ))) ;) (expression_statement "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" (assignment_expression "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000230a8)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_000230a8" * (cast_expression "(code *)PTR_sg_convert_errno_000230a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;) (goto_statement "goto LAB_00010c68;" goto statement_identifier ;) })) (if_statement "if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }" { (expression_statement "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_102c,0,0x134)" ( (pointer_expression "&local_102c" & identifier) , number_literal , number_literal ))) ;) (expression_statement "iVar11 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar11 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (if_statement "if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }" { (expression_statement "acStack_1006[7] = 1;" (assignment_expression "acStack_1006[7] = 1" (subscript_expression "acStack_1006[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_102c = *(uint *)PTR_mode10_hdr_00023068;" (assignment_expression "local_102c = *(uint *)PTR_mode10_hdr_00023068" identifier = (pointer_expression "*(uint *)PTR_mode10_hdr_00023068" * (cast_expression "(uint *)PTR_mode10_hdr_00023068" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_1024 = 0x6c010128;" (assignment_expression "local_1024 = 0x6c010128" identifier = number_literal) ;) (expression_statement "acStack_1006[10] = '\n';" (assignment_expression "acStack_1006[10] = '\n'" (subscript_expression "acStack_1006[10]" identifier [ number_literal ]) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "acStack_1006[0xb] = '\x02';" (assignment_expression "acStack_1006[0xb] = '\x02'" (subscript_expression "acStack_1006[0xb]" identifier [ number_literal ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (expression_statement "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);" (assignment_expression "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4)" identifier = (pointer_expression "*(uint *)(PTR_mode10_hdr_00023068 + 4)" * (cast_expression "(uint *)(PTR_mode10_hdr_00023068 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mode10_hdr_00023068 + 4)" ( (binary_expression "PTR_mode10_hdr_00023068 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar11 = 2;\n          }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x134;" (assignment_expression "uVar7 = 0x134" identifier = number_literal) ;) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select10_000230ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" else (compound_statement "{\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" { (expression_statement "local_1020[0] = 0x2c68;" (assignment_expression "local_1020[0] = 0x2c68" (subscript_expression "local_1020[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "acStack_1006[9] = 1;" (assignment_expression "acStack_1006[9] = 1" (subscript_expression "acStack_1006[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_ffa = 0xa02;" (assignment_expression "local_ffa = 0xa02" identifier = number_literal) ;) (expression_statement "local_102c = *(uint *)PTR_mode6_hdr_00023070;" (assignment_expression "local_102c = *(uint *)PTR_mode6_hdr_00023070" identifier = (pointer_expression "*(uint *)PTR_mode6_hdr_00023070" * (cast_expression "(uint *)PTR_mode6_hdr_00023070" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_1028 = *(uint *)PTR_block_descriptor_0002306c;" (assignment_expression "local_1028 = *(uint *)PTR_block_descriptor_0002306c" identifier = (pointer_expression "*(uint *)PTR_block_descriptor_0002306c" * (cast_expression "(uint *)PTR_block_descriptor_0002306c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);" (assignment_expression "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4)" identifier = (pointer_expression "*(undefined4 *)(PTR_block_descriptor_0002306c + 4)" * (cast_expression "(undefined4 *)(PTR_block_descriptor_0002306c + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_block_descriptor_0002306c + 4)" ( (binary_expression "PTR_block_descriptor_0002306c + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar11 = 2;\n          }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x76;" (assignment_expression "uVar7 = 0x76" identifier = number_literal) ;) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select6_000230d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);" (assignment_expression "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" identifier = (call_expression "(*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" (parenthesized_expression "(*pcVar18)" ( (pointer_expression "*pcVar18" * identifier) )) (argument_list "(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" ( identifier , number_literal , number_literal , (pointer_expression "&local_102c" & identifier) , identifier , number_literal , identifier )))) ;) (expression_statement "iVar6 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar6 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11,0x50,auStack_107c)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2028,auStack_107c)" ( (binary_expression "PTR_00023064 + 0x2028" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (labeled_statement "LAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;" statement_identifier : (if_statement "if (iVar6 == 0) goto LAB_00010f20;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;))) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2010)" ( (binary_expression "PTR_00023064 + 0x2010" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (if_statement "if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }" { (if_statement "if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }" { (if_statement "if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }" if (parenthesized_expression "(0xff < local_1094)" ( (binary_expression "0xff < local_1094" number_literal < identifier) )) (compound_statement "{\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }" { (expression_statement "iVar11 = -1;" (assignment_expression "iVar11 = -1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x206c)" ( (binary_expression "PTR_00023064 + 0x206c" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_102c,0,0x134)" ( (pointer_expression "&local_102c" & identifier) , number_literal , number_literal ))) ;) (expression_statement "local_1024 = 0x6c010128;" (assignment_expression "local_1024 = 0x6c010128" identifier = number_literal) ;) (expression_statement "local_102c = *(uint *)PTR_mode10_hdr_00023068;" (assignment_expression "local_102c = *(uint *)PTR_mode10_hdr_00023068" identifier = (pointer_expression "*(uint *)PTR_mode10_hdr_00023068" * (cast_expression "(uint *)PTR_mode10_hdr_00023068" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);" (assignment_expression "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4)" identifier = (pointer_expression "*(uint *)(PTR_mode10_hdr_00023068 + 4)" * (cast_expression "(uint *)(PTR_mode10_hdr_00023068 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mode10_hdr_00023068 + 4)" ( (binary_expression "PTR_mode10_hdr_00023068 + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_ffa,0,0x100)" ( (pointer_expression "&local_ffa" & identifier) , number_literal , number_literal ))) ;) (expression_statement "iVar11 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar11 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (expression_statement "auStack_ff8[local_1094 + -2] = 0x81;" (assignment_expression "auStack_ff8[local_1094 + -2] = 0x81" (subscript_expression "auStack_ff8[local_1094 + -2]" identifier [ (binary_expression "local_1094 + -2" identifier + number_literal) ]) = number_literal) ;) (expression_statement "acStack_1006[7] = 2;" (assignment_expression "acStack_1006[7] = 2" (subscript_expression "acStack_1006[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "acStack_1006[10] = '\n';" (assignment_expression "acStack_1006[10] = '\n'" (subscript_expression "acStack_1006[10]" identifier [ number_literal ]) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "acStack_1006[0xb] = '\x02';" (assignment_expression "acStack_1006[0xb] = '\x02'" (subscript_expression "acStack_1006[0xb]" identifier [ number_literal ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar11 = 2;\n          }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x134;" (assignment_expression "uVar7 = 0x134" identifier = number_literal) ;) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select10_000230ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" else (compound_statement "{\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" { (if_statement "if (0x1f < local_1094) goto LAB_000118b4;" if (parenthesized_expression "(0x1f < local_1094)" ( (binary_expression "0x1f < local_1094" number_literal < identifier) )) (goto_statement "goto LAB_000118b4;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_102c,0,0x134)" ( (pointer_expression "&local_102c" & identifier) , number_literal , number_literal ))) ;) (expression_statement "local_1020[0] = 0x2c68;" (assignment_expression "local_1020[0] = 0x2c68" (subscript_expression "local_1020[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_1028 = *(uint *)PTR_block_descriptor_0002306c;" (assignment_expression "local_1028 = *(uint *)PTR_block_descriptor_0002306c" identifier = (pointer_expression "*(uint *)PTR_block_descriptor_0002306c" * (cast_expression "(uint *)PTR_block_descriptor_0002306c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_102c = *(uint *)PTR_mode6_hdr_00023070;" (assignment_expression "local_102c = *(uint *)PTR_mode6_hdr_00023070" identifier = (pointer_expression "*(uint *)PTR_mode6_hdr_00023070" * (cast_expression "(uint *)PTR_mode6_hdr_00023070" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);" (assignment_expression "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4)" identifier = (pointer_expression "*(undefined4 *)(PTR_block_descriptor_0002306c + 4)" * (cast_expression "(undefined4 *)(PTR_block_descriptor_0002306c + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_block_descriptor_0002306c + 4)" ( (binary_expression "PTR_block_descriptor_0002306c + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);" (call_expression "(*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_ff8,0,0x20)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iVar11 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar11 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (expression_statement "auStack_ff8[local_1094] = 0x81;" (assignment_expression "auStack_ff8[local_1094] = 0x81" (subscript_expression "auStack_ff8[local_1094]" identifier [ identifier ]) = number_literal) ;) (expression_statement "acStack_1006[9] = 2;" (assignment_expression "acStack_1006[9] = 2" (subscript_expression "acStack_1006[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_ffa = 0xa02;" (assignment_expression "local_ffa = 0xa02" identifier = number_literal) ;) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar11 = 2;\n          }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x76;" (assignment_expression "uVar7 = 0x76" identifier = number_literal) ;) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select6_000230d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);" (assignment_expression "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" identifier = (call_expression "(*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" (parenthesized_expression "(*pcVar18)" ( (pointer_expression "*pcVar18" * identifier) )) (argument_list "(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" ( identifier , number_literal , number_literal , (pointer_expression "&local_102c" & identifier) , identifier , number_literal , identifier )))) ;) (expression_statement "iVar6 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar6 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11,0x50,auStack_107c)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2084,local_1094,auStack_107c)" ( (binary_expression "PTR_00023064 + 0x2084" identifier + number_literal) , identifier , identifier ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (goto_statement "goto LAB_00010f18;" goto statement_identifier ;) })) (expression_statement "local_1080 = 0;" (assignment_expression "local_1080 = 0" identifier = number_literal) ;) (if_statement "if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" { (expression_statement "iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));" (assignment_expression "iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" identifier = (call_expression "(*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)" ( (pointer_expression "*(code *)PTR_sg_ll_mode_sense10_v2_000230b8" * (cast_expression "(code *)PTR_sg_ll_mode_sense10_v2_000230b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" ( identifier , number_literal , number_literal , number_literal , number_literal , number_literal , (pointer_expression "&local_102c" & identifier) , number_literal , number_literal , (pointer_expression "&local_1080" & identifier) , number_literal , (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" else (compound_statement "{\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" { (expression_statement "iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));" (assignment_expression "iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" identifier = (call_expression "(*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_ll_mode_sense6_000230c4)" ( (pointer_expression "*(code *)PTR_sg_ll_mode_sense6_000230c4" * (cast_expression "(code *)PTR_sg_ll_mode_sense6_000230c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" ( identifier , number_literal , number_literal , number_literal , number_literal , (pointer_expression "&local_102c" & identifier) , number_literal , number_literal , (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) )))) ;) }))) (if_statement "if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }" { (if_statement "if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" if (parenthesized_expression "(iVar11 == 9)" ( (binary_expression "iVar11 == 9" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2334)" ( (binary_expression "PTR_00023064 + 0x2334" identifier + number_literal) ))) ;) }) (else_clause "else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" else (if_statement "if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" if (parenthesized_expression "(iVar11 == 5)" ( (binary_expression "iVar11 == 5" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2380)" ( (binary_expression "PTR_00023064 + 0x2380" identifier + number_literal) ))) ;) }) (else_clause "else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" else (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110))" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23d8,auStack_107c)" ( (binary_expression "PTR_00023064 + 0x23d8" identifier + number_literal) , identifier ))) ;) }))))) (expression_statement "iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" * (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;) (if_statement "if (-1 < iVar6) goto LAB_00010c68;" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (goto_statement "goto LAB_00010c68;" goto statement_identifier ;)) (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-iVar6)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar6)" ( (unary_expression "-iVar6" - identifier) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" ( (binary_expression "PTR_00023064 + 0x23f0" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010c68;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);" (assignment_expression "iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0)" identifier = (call_expression "(*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0)" (parenthesized_expression "(*(code *)PTR_sg_msense_calc_length_000230a0)" ( (pointer_expression "*(code *)PTR_sg_msense_calc_length_000230a0" * (cast_expression "(code *)PTR_sg_msense_calc_length_000230a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_102c,0x134,local_108c,0)" ( (pointer_expression "&local_102c" & identifier) , number_literal , identifier , number_literal )))) ;) (if_statement "if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" if (parenthesized_expression "(local_1080 < 1)" ( (binary_expression "local_1080 < 1" identifier < number_literal) )) (compound_statement "{\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }" { (if_statement "if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }" if (parenthesized_expression "((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6))" ( (binary_expression "(*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)" (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) != 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(1 < iVar6)" ( (binary_expression "1 < iVar6" number_literal < identifier) ))) )) (compound_statement "{\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }" { (labeled_statement "LAB_00011344:\n          iVar13 = 0x10;" statement_identifier : (expression_statement "iVar13 = 0x10;" (assignment_expression "iVar13 = 0x10" identifier = number_literal) ;)) (expression_statement "local_10a0 = (char *)0x0;" (assignment_expression "local_10a0 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar9 = PTR_00023064 + 0x20d0;" (assignment_expression "puVar9 = PTR_00023064 + 0x20d0" identifier = (binary_expression "PTR_00023064 + 0x20d0" identifier + number_literal)) ;) (expression_statement "puVar10 = PTR_00023064 + 0x20d4;" (assignment_expression "puVar10 = PTR_00023064 + 0x20d4" identifier = (binary_expression "PTR_00023064 + 0x20d4" identifier + number_literal)) ;) (do_statement "do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);" do (compound_statement "{\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          }" { (expression_statement "puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);" (assignment_expression "puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0)" identifier = (cast_expression "(undefined1 *)((int)&local_102c + (int)local_10a0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_102c + (int)local_10a0)" ( (binary_expression "(int)&local_102c + (int)local_10a0" (cast_expression "(int)&local_102c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_102c" & identifier)) + (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar9,(int)local_10a0 >> 4)" ( number_literal , identifier , (binary_expression "(int)local_10a0 >> 4" (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) ;) (expression_statement "pcVar12 = local_10a0;" (assignment_expression "pcVar12 = local_10a0" identifier = identifier) ;) (do_statement "do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);" do (compound_statement "{\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar10,*puVar15)" ( number_literal , identifier , (pointer_expression "*puVar15" * identifier) ))) ;) (if_statement "if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }" if (parenthesized_expression "(iVar6 <= (int)pcVar12)" ( (binary_expression "iVar6 <= (int)pcVar12" identifier <= (cast_expression "(int)pcVar12" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }" { (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (break_statement "break;" break ;) })) (expression_statement "pcVar12 = (char *)((int)pcVar12 + 1);" (assignment_expression "pcVar12 = (char *)((int)pcVar12 + 1)" identifier = (cast_expression "(char *)((int)pcVar12 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar12 + 1)" ( (binary_expression "(int)pcVar12 + 1" (cast_expression "(int)pcVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar15 = puVar15 + 1;" (assignment_expression "puVar15 = puVar15 + 1" identifier = (binary_expression "puVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((char *)iVar13 != pcVar12)" ( (binary_expression "(char *)iVar13 != pcVar12" (cast_expression "(char *)iVar13" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) != identifier) )) ;) (expression_statement "iVar13 = iVar13 + 0x10;" (assignment_expression "iVar13 = iVar13 + 0x10" identifier = (binary_expression "iVar13 + 0x10" identifier + number_literal)) ;) (expression_statement "local_10a0 = (char *)((int)local_10a0 + 0x10);" (assignment_expression "local_10a0 = (char *)((int)local_10a0 + 0x10)" identifier = (cast_expression "(char *)((int)local_10a0 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_10a0 + 0x10)" ( (binary_expression "(int)local_10a0 + 0x10" (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) }) while (parenthesized_expression "((int)local_10a0 < iVar6)" ( (binary_expression "(int)local_10a0 < iVar6" (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) }) (else_clause "else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" else (compound_statement "{\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" { (if_statement "if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }" if (parenthesized_expression "(0x134 - local_1080 < iVar6)" ( (binary_expression "0x134 - local_1080 < iVar6" (binary_expression "0x134 - local_1080" number_literal - identifier) < identifier) )) (compound_statement "{\n          iVar6 = 0x134 - local_1080;\n        }" { (expression_statement "iVar6 = 0x134 - local_1080;" (assignment_expression "iVar6 = 0x134 - local_1080" identifier = (binary_expression "0x134 - local_1080" number_literal - identifier)) ;) })) (if_statement "if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" if (parenthesized_expression "(iVar6 < 2)" ( (binary_expression "iVar6 < 2" identifier < number_literal) )) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x20ac)" ( (binary_expression "PTR_00023064 + 0x20ac" identifier + number_literal) ))) ;) }) (else_clause "else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" else (if_statement "if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" if (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) != 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00011344;" goto statement_identifier ;)))) }))) (if_statement "if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }" { (expression_statement "local_1094 = 0x100;" (assignment_expression "local_1094 = 0x100" identifier = number_literal) ;) (expression_statement "puVar9 = PTR_00023064 + 0x1d9c;" (assignment_expression "puVar9 = PTR_00023064 + 0x1d9c" identifier = (binary_expression "PTR_00023064 + 0x1d9c" identifier + number_literal)) ;) (expression_statement "puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));" (assignment_expression "puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff))" identifier = (cast_expression "(undefined1 *)((int)local_1020 + (local_1028 & 0xff))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_1020 + (local_1028 & 0xff))" ( (binary_expression "(int)local_1020 + (local_1028 & 0xff)" (cast_expression "(int)local_1020" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(local_1028 & 0xff)" ( (binary_expression "local_1028 & 0xff" identifier & number_literal) ))) )))) ;) (expression_statement "pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);" (assignment_expression "pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2)" identifier = (binary_expression "auStack_ff8 + ((local_1028 & 0xff) - 2)" identifier + (parenthesized_expression "((local_1028 & 0xff) - 2)" ( (binary_expression "(local_1028 & 0xff) - 2" (parenthesized_expression "(local_1028 & 0xff)" ( (binary_expression "local_1028 & 0xff" identifier & number_literal) )) - number_literal) )))) ;) }) (else_clause "else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }" else (compound_statement "{\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }" { (expression_statement "local_1094 = 0x20;" (assignment_expression "local_1094 = 0x20" identifier = number_literal) ;) (expression_statement "puVar9 = PTR_00023064 + 0x1d94;" (assignment_expression "puVar9 = PTR_00023064 + 0x1d94" identifier = (binary_expression "PTR_00023064 + 0x1d94" identifier + number_literal)) ;) (expression_statement "puVar15 = auStack_1026 + (local_102c & 0xff);" (assignment_expression "puVar15 = auStack_1026 + (local_102c & 0xff)" identifier = (binary_expression "auStack_1026 + (local_102c & 0xff)" identifier + (parenthesized_expression "(local_102c & 0xff)" ( (binary_expression "local_102c & 0xff" identifier & number_literal) )))) ;) (expression_statement "pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;" (assignment_expression "pcVar12 = acStack_1006 + (local_102c & 0xff) + 6" identifier = (binary_expression "acStack_1006 + (local_102c & 0xff) + 6" (binary_expression "acStack_1006 + (local_102c & 0xff)" identifier + (parenthesized_expression "(local_102c & 0xff)" ( (binary_expression "local_102c & 0xff" identifier & number_literal) ))) + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x20dc,puVar9)" ( number_literal , (binary_expression "PTR_00023064 + 0x20dc" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x20ec,puVar15)" ( number_literal , (binary_expression "PTR_00023064 + 0x20ec" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2108,puVar15 + 0x10)" ( number_literal , (binary_expression "PTR_00023064 + 0x2108" identifier + number_literal) , (binary_expression "puVar15 + 0x10" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x212c)" ( number_literal , (binary_expression "PTR_00023064 + 0x212c" identifier + number_literal) ))) ;) (if_statement "if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" if (parenthesized_expression "(puVar15[0x20] == '\0')" ( (binary_expression "puVar15[0x20] == '\0'" (subscript_expression "puVar15[0x20]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2150)" ( number_literal , (binary_expression "PTR_00023064 + 0x2150" identifier + number_literal) ))) ;) }) (else_clause "else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" else (if_statement "if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" if (parenthesized_expression "(puVar15[0x20] == '\x01')" ( (binary_expression "puVar15[0x20] == '\x01'" (subscript_expression "puVar15[0x20]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2174)" ( number_literal , (binary_expression "PTR_00023064 + 0x2174" identifier + number_literal) ))) ;) }) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" else (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2194)" ( number_literal , (binary_expression "PTR_00023064 + 0x2194" identifier + number_literal) ))) ;) }))))) (expression_statement "cVar8 = puVar15[0x21];" (assignment_expression "cVar8 = puVar15[0x21]" identifier = (subscript_expression "puVar15[0x21]" identifier [ number_literal ])) ;) (if_statement "if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" if (parenthesized_expression "(cVar8 == '\x01')" ( (binary_expression "cVar8 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }" { (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x21c4)" ( (binary_expression "PTR_00023064 + 0x21c4" identifier + number_literal) ))) ;) }) (else_clause "else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" else (if_statement "if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }" { (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x21b8)" ( (binary_expression "PTR_00023064 + 0x21b8" identifier + number_literal) ))) ;) }) (else_clause "else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" else (if_statement "if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" if (parenthesized_expression "(cVar8 == '\x02')" ( (binary_expression "cVar8 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }" { (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x21cc)" ( (binary_expression "PTR_00023064 + 0x21cc" identifier + number_literal) ))) ;) }) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" else (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x21e0)" ( number_literal , (binary_expression "PTR_00023064 + 0x21e0" identifier + number_literal) ))) ;) }))))))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x21f8)" ( number_literal , (binary_expression "PTR_00023064 + 0x21f8" identifier + number_literal) ))) ;) (if_statement "if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" if (parenthesized_expression "(puVar15[0x22] == '\0')" ( (binary_expression "puVar15[0x22] == '\0'" (subscript_expression "puVar15[0x22]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2150)" ( number_literal , (binary_expression "PTR_00023064 + 0x2150" identifier + number_literal) ))) ;) }) (else_clause "else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" else (if_statement "if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" if (parenthesized_expression "(puVar15[0x22] == '\x01')" ( (binary_expression "puVar15[0x22] == '\x01'" (subscript_expression "puVar15[0x22]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2174)" ( number_literal , (binary_expression "PTR_00023064 + 0x2174" identifier + number_literal) ))) ;) }) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" else (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x221c)" ( number_literal , (binary_expression "PTR_00023064 + 0x221c" identifier + number_literal) ))) ;) }))))) (if_statement "if ((byte)puVar15[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }" if (parenthesized_expression "((byte)puVar15[0x23] < 5)" ( (binary_expression "(byte)puVar15[0x23] < 5" (cast_expression "(byte)puVar15[0x23]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar15[0x23]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }" { comment comment (expression_statement "iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();" (assignment_expression "iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           )" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           )" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           )" ( (binary_expression "&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" * (cast_expression "(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" ( (binary_expression "PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460" (binary_expression "PTR_00023064 + (uint)(byte)puVar15[0x23] * 4" identifier + (binary_expression "(uint)(byte)puVar15[0x23] * 4" (cast_expression "(uint)(byte)puVar15[0x23]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)puVar15[0x23]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar15[0x23]" identifier [ number_literal ]))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar11;" return identifier ;) })) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x21e0)" ( number_literal , (binary_expression "PTR_00023064 + 0x21e0" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24])" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2250,puVar15[0x24])" ( number_literal , (binary_expression "PTR_00023064 + 0x2250" identifier + number_literal) , (subscript_expression "puVar15[0x24]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25])" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x226c,puVar15[0x25])" ( number_literal , (binary_expression "PTR_00023064 + 0x226c" identifier + number_literal) , (subscript_expression "puVar15[0x25]" identifier [ number_literal ]) ))) ;) (if_statement "if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }" if (parenthesized_expression "((puVar15[0x25] & 4) == 0)" ( (binary_expression "(puVar15[0x25] & 4) == 0" (parenthesized_expression "(puVar15[0x25] & 4)" ( (binary_expression "puVar15[0x25] & 4" (subscript_expression "puVar15[0x25]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n        puVar9 = PTR_00023064 + 0x1db0;\n      }" { (expression_statement "puVar9 = PTR_00023064 + 0x1db0;" (assignment_expression "puVar9 = PTR_00023064 + 0x1db0" identifier = (binary_expression "PTR_00023064 + 0x1db0" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }" else (compound_statement "{\n        puVar9 = PTR_00023064 + 0x1da8;\n      }" { (expression_statement "puVar9 = PTR_00023064 + 0x1da8;" (assignment_expression "puVar9 = PTR_00023064 + 0x1da8" identifier = (binary_expression "PTR_00023064 + 0x1da8" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2280,puVar9)" ( number_literal , (binary_expression "PTR_00023064 + 0x2280" identifier + number_literal) , identifier ))) ;) (expression_statement "puVar9 = PTR_00023064;" (assignment_expression "puVar9 = PTR_00023064" identifier = identifier) ;) (if_statement "if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" if (parenthesized_expression "((puVar15[0x25] & 2) == 0)" ( (binary_expression "(puVar15[0x25] & 2) == 0" (parenthesized_expression "(puVar15[0x25] & 2)" ( (binary_expression "puVar15[0x25] & 2" (subscript_expression "puVar15[0x25]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n        puVar10 = PTR_00023064 + 0x1db0;\n      }" { (expression_statement "puVar10 = PTR_00023064 + 0x1db0;" (assignment_expression "puVar10 = PTR_00023064 + 0x1db0" identifier = (binary_expression "PTR_00023064 + 0x1db0" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" else (compound_statement "{\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" { (expression_statement "puVar10 = PTR_00023064 + 0x1da8;" (assignment_expression "puVar10 = PTR_00023064 + 0x1da8" identifier = (binary_expression "PTR_00023064 + 0x1da8" identifier + number_literal)) ;) }))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2290,puVar10)" ( number_literal , (binary_expression "PTR_00023064 + 0x2290" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x22ac)" ( (binary_expression "PTR_00023064 + 0x22ac" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x22e8)" ( (binary_expression "PTR_00023064 + 0x22e8" identifier + number_literal) ))) ;) (expression_statement "puVar10 = PTR_00023064 + 0x2330;" (assignment_expression "puVar10 = PTR_00023064 + 0x2330" identifier = (binary_expression "PTR_00023064 + 0x2330" identifier + number_literal)) ;) (expression_statement "puVar5 = PTR_00023064 + 0x2324;" (assignment_expression "puVar5 = PTR_00023064 + 0x2324" identifier = (binary_expression "PTR_00023064 + 0x2324" identifier + number_literal)) ;) (expression_statement "puVar14 = PTR_00023064 + 0x2320;" (assignment_expression "puVar14 = PTR_00023064 + 0x2320" identifier = (binary_expression "PTR_00023064 + 0x2320" identifier + number_literal)) ;) (do_statement "do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);" do (compound_statement "{\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar9 + 0x2314,iVar6 >> 4)" ( number_literal , (binary_expression "puVar9 + 0x2314" identifier + number_literal) , (binary_expression "iVar6 >> 4" identifier >> number_literal) ))) ;) (expression_statement "cVar8 = *pcVar12;" (assignment_expression "cVar8 = *pcVar12" identifier = (pointer_expression "*pcVar12" * identifier)) ;) (if_statement "if (cVar8 == '\x01') goto LAB_00011564;" if (parenthesized_expression "(cVar8 == '\x01')" ( (binary_expression "cVar8 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_00011564;" goto statement_identifier ;)) (labeled_statement "LAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" statement_identifier : (if_statement "if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar14);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar14)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar14)" ( number_literal , identifier ))) ;) }) (else_clause "else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" else (if_statement "if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" if (parenthesized_expression "(cVar8 == '\x02')" ( (binary_expression "cVar8 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar9 + 9000)" ( number_literal , (binary_expression "puVar9 + 9000" identifier + number_literal) ))) ;) }) (else_clause "else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" else (if_statement "if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" if (parenthesized_expression "(cVar8 == '\x03')" ( (binary_expression "cVar8 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar9 + 0x232c)" ( number_literal , (binary_expression "puVar9 + 0x232c" identifier + number_literal) ))) ;) }) (else_clause "else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" else (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar10)" ( number_literal , identifier ))) ;) })))))))) (expression_statement "bVar1 = iVar13 == 7;" (assignment_expression "bVar1 = iVar13 == 7" identifier = (binary_expression "iVar13 == 7" identifier == number_literal)) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) goto LAB_00011584;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00011584;" goto statement_identifier ;)) (while_statement "while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }" while (parenthesized_expression "(iVar13 != 0x10)" ( (binary_expression "iVar13 != 0x10" identifier != number_literal) )) (compound_statement "{\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }" { (while_statement "while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }" { (expression_statement "cVar8 = pcVar12[iVar13];" (assignment_expression "cVar8 = pcVar12[iVar13]" identifier = (subscript_expression "pcVar12[iVar13]" identifier [ identifier ])) ;) (if_statement "if (cVar8 != '\x01') goto LAB_0001150c;" if (parenthesized_expression "(cVar8 != '\x01')" ( (binary_expression "cVar8 != '\x01'" identifier != (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_0001150c;" goto statement_identifier ;)) (labeled_statement "LAB_00011564:\n            iVar16 = iVar13 + 1;" statement_identifier : (expression_statement "iVar16 = iVar13 + 1;" (assignment_expression "iVar16 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;)) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar5);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar5)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar5)" ( number_literal , identifier ))) ;) (expression_statement "bVar1 = iVar13 != 7;" (assignment_expression "bVar1 = iVar13 != 7" identifier = (binary_expression "iVar13 != 7" identifier != number_literal)) ;) (expression_statement "iVar13 = iVar16;" (assignment_expression "iVar13 = iVar16" identifier = identifier) ;) (if_statement "if (bVar1) break;" if (parenthesized_expression "(bVar1)" ( identifier )) (break_statement "break;" break ;)) (labeled_statement "LAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);" statement_identifier : (expression_statement "(*(code *)PTR_putchar_000230b0)(0x20);" (call_expression "(*(code *)PTR_putchar_000230b0)(0x20)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x20)" ( number_literal ))) ;)) })) })) (expression_statement "iVar6 = iVar6 + 0x10;" (assignment_expression "iVar6 = iVar6 + 0x10" identifier = (binary_expression "iVar6 + 0x10" identifier + number_literal)) ;) (expression_statement "pcVar12 = pcVar12 + 0x10;" (assignment_expression "pcVar12 = pcVar12 + 0x10" identifier = (binary_expression "pcVar12 + 0x10" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) }) while (parenthesized_expression "(iVar6 < local_1094)" ( (binary_expression "iVar6 < local_1094" identifier < identifier) )) ;) (expression_statement "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" * (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier ))))) ;) (if_statement "if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }" if (parenthesized_expression "((int)unaff_s1 < 0)" ( (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }" { (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-(int)unaff_s1)" ( (unary_expression "-(int)unaff_s1" - (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" ( (binary_expression "PTR_00023064 + 0x23f0" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010f64;" goto statement_identifier ;) })) (if_statement "if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }" if (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) == 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) == 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);" (assignment_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0)" identifier = (call_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)" ( (pointer_expression "*(code *)PTR_sg_if_can2stderr_000230bc" * (cast_expression "(code *)PTR_sg_if_can2stderr_000230bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2404,0)" ( (binary_expression "PTR_00023064 + 0x2404" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar6 == 0) goto LAB_00010e64;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00010e64;" goto statement_identifier ;)) })) (goto_statement "goto LAB_00010cf8;" goto statement_identifier ;) })) })) (labeled_statement "LAB_00010cdc:\n  iVar11 = 1;" statement_identifier : (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1dbc)" ( (binary_expression "PTR_00023064 + 0x1dbc" identifier + number_literal) ))) ;) (labeled_statement "LAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }" statement_identifier : (while_statement "while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }" while (parenthesized_expression "(local_2c != *(int *)puVar3)" ( (binary_expression "local_2c != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_000230dc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000230dc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000230dc)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000230dc" * (cast_expression "(code *)PTR___stack_chk_fail_000230dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_000118b4:\n    iVar11 = -1;" statement_identifier : (expression_statement "iVar11 = -1;" (assignment_expression "iVar11 = -1" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2040)" ( (binary_expression "PTR_00023064 + 0x2040" identifier + number_literal) ))) ;) (labeled_statement "LAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" statement_identifier : (expression_statement "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" * (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier ))))) ;)) (if_statement "if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }" if (parenthesized_expression "((int)unaff_s1 < 0)" ( (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }" { (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-(int)unaff_s1)" ( (unary_expression "-(int)unaff_s1" - (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" ( (binary_expression "PTR_00023064 + 0x23f0" identifier + number_literal) , identifier ))) ;) (if_statement "if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }" { (labeled_statement "LAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" statement_identifier : (expression_statement "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" (assignment_expression "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000230a8)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_000230a8" * (cast_expression "(code *)PTR_sg_convert_errno_000230a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;)) })) })) (labeled_statement "LAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" statement_identifier : (if_statement "if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" if (parenthesized_expression "((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))" ( (binary_expression "(*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0)" (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) == 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) == 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0)" ( (comma_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0" (assignment_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11)" identifier = (call_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)" ( (pointer_expression "*(code *)PTR_sg_if_can2stderr_000230bc" * (cast_expression "(code *)PTR_sg_if_can2stderr_000230bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2404,iVar11)" ( (binary_expression "PTR_00023064 + 0x2404" identifier + number_literal) , identifier )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" { (labeled_statement "LAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);" statement_identifier : (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2418)" ( (binary_expression "PTR_00023064 + 0x2418" identifier + number_literal) ))) ;)) }))) (if_statement "if (iVar11 < 0) {\n      iVar11 = 99;\n    }" if (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar11 = 99;\n    }" { (expression_statement "iVar11 = 99;" (assignment_expression "iVar11 = 99" identifier = number_literal) ;) })) }))) (return_statement "return iVar11;" return identifier ;) })))
(translation_unit "int main(int argc,char **argv)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  char **ppcVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint8_t uVar8;\n  int iVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  char *unaff_s0;\n  char **unaff_s1;\n  int iVar12;\n  uint8_t *puVar13;\n  uint8_t *puVar14;\n  int iVar15;\n  undefined *puVar16;\n  int iVar17;\n  undefined *puVar18;\n  char *pcVar19;\n  code *pcVar20;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int resid;\n  char b [80];\n  uint8_t rsp_buff [4096];\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar11 = PTR_00023064;\n  puVar10 = PTR_DAT_00023058;\n  iVar9 = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < argc) {\n    local_1094 = -1;\n    iVar12 = 1;\n    puVar16 = PTR_00023064 + 0x1f94;\n    puVar18 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    ppcVar4 = argv + 1;\n    do {\n      while( true ) {\n        unaff_s1 = ppcVar4;\n        unaff_s0 = *unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar12 = iVar12 + 1;\n        ppcVar4 = unaff_s1 + 1;\n        if (argc == iVar12) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar12 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar12 = iVar12 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      ppcVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (argc != iVar12);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (char **)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n        iVar12 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      resid = 0;\n      if (local_108c == 0) {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar12 != 0) {\n        if (iVar12 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0);\n      if (resid < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar10 = PTR_00023064 + 0x1d9c;\n        puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;\n        puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;\n      }\n      else {\n        local_1094 = 0x20;\n        puVar10 = PTR_00023064 + 0x1d94;\n        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;\n        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar14);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar14 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar14[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      uVar8 = puVar14[0x21];\n      if (uVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (uVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar14[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if (puVar14[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();\n        return iVar9;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar14[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar14[0x25]);\n      if ((puVar14[0x25] & 4) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar10);\n      puVar10 = PTR_00023064;\n      if ((puVar14[0x25] & 2) == 0) {\n        puVar11 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar11 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar11);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar11 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar16 = PTR_00023064 + 0x2320;\n      do {\n        iVar15 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);\n        uVar8 = *puVar13;\n        if (uVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }\n        bVar1 = iVar15 == 7;\n        iVar15 = iVar15 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar15 != 0x10) {\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        puVar13 = puVar13 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar12 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar12 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (iVar9 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar12 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar12 == 0) {\nLAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar12 < 0) {\n      iVar12 = 99;\n    }\n  }\n  return iVar12;\n}\n\n" (function_definition "int main(int argc,char **argv)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  char **ppcVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint8_t uVar8;\n  int iVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  char *unaff_s0;\n  char **unaff_s1;\n  int iVar12;\n  uint8_t *puVar13;\n  uint8_t *puVar14;\n  int iVar15;\n  undefined *puVar16;\n  int iVar17;\n  undefined *puVar18;\n  char *pcVar19;\n  code *pcVar20;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int resid;\n  char b [80];\n  uint8_t rsp_buff [4096];\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar11 = PTR_00023064;\n  puVar10 = PTR_DAT_00023058;\n  iVar9 = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < argc) {\n    local_1094 = -1;\n    iVar12 = 1;\n    puVar16 = PTR_00023064 + 0x1f94;\n    puVar18 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    ppcVar4 = argv + 1;\n    do {\n      while( true ) {\n        unaff_s1 = ppcVar4;\n        unaff_s0 = *unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar12 = iVar12 + 1;\n        ppcVar4 = unaff_s1 + 1;\n        if (argc == iVar12) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar12 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar12 = iVar12 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      ppcVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (argc != iVar12);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (char **)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n        iVar12 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      resid = 0;\n      if (local_108c == 0) {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar12 != 0) {\n        if (iVar12 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0);\n      if (resid < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar10 = PTR_00023064 + 0x1d9c;\n        puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;\n        puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;\n      }\n      else {\n        local_1094 = 0x20;\n        puVar10 = PTR_00023064 + 0x1d94;\n        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;\n        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar14);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar14 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar14[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      uVar8 = puVar14[0x21];\n      if (uVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (uVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar14[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if (puVar14[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();\n        return iVar9;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar14[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar14[0x25]);\n      if ((puVar14[0x25] & 4) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar10);\n      puVar10 = PTR_00023064;\n      if ((puVar14[0x25] & 2) == 0) {\n        puVar11 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar11 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar11);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar11 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar16 = PTR_00023064 + 0x2320;\n      do {\n        iVar15 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);\n        uVar8 = *puVar13;\n        if (uVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }\n        bVar1 = iVar15 == 7;\n        iVar15 = iVar15 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar15 != 0x10) {\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        puVar13 = puVar13 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar12 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar12 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (iVar9 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar12 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar12 == 0) {\nLAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar12 < 0) {\n      iVar12 = 99;\n    }\n  }\n  return iVar12;\n}" primitive_type (function_declarator "main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  char **ppcVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint8_t uVar8;\n  int iVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  char *unaff_s0;\n  char **unaff_s1;\n  int iVar12;\n  uint8_t *puVar13;\n  uint8_t *puVar14;\n  int iVar15;\n  undefined *puVar16;\n  int iVar17;\n  undefined *puVar18;\n  char *pcVar19;\n  code *pcVar20;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int resid;\n  char b [80];\n  uint8_t rsp_buff [4096];\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar11 = PTR_00023064;\n  puVar10 = PTR_DAT_00023058;\n  iVar9 = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < argc) {\n    local_1094 = -1;\n    iVar12 = 1;\n    puVar16 = PTR_00023064 + 0x1f94;\n    puVar18 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    ppcVar4 = argv + 1;\n    do {\n      while( true ) {\n        unaff_s1 = ppcVar4;\n        unaff_s0 = *unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar12 = iVar12 + 1;\n        ppcVar4 = unaff_s1 + 1;\n        if (argc == iVar12) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar12 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar12 = iVar12 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      ppcVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (argc != iVar12);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (char **)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n        iVar12 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      resid = 0;\n      if (local_108c == 0) {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar12 != 0) {\n        if (iVar12 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0);\n      if (resid < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar10 = PTR_00023064 + 0x1d9c;\n        puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;\n        puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;\n      }\n      else {\n        local_1094 = 0x20;\n        puVar10 = PTR_00023064 + 0x1d94;\n        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;\n        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar14);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar14 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar14[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      uVar8 = puVar14[0x21];\n      if (uVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (uVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar14[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if (puVar14[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();\n        return iVar9;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar14[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar14[0x25]);\n      if ((puVar14[0x25] & 4) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar10);\n      puVar10 = PTR_00023064;\n      if ((puVar14[0x25] & 2) == 0) {\n        puVar11 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar11 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar11);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar11 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar16 = PTR_00023064 + 0x2320;\n      do {\n        iVar15 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);\n        uVar8 = *puVar13;\n        if (uVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }\n        bVar1 = iVar15 == 7;\n        iVar15 = iVar15 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar15 != 0x10) {\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        puVar13 = puVar13 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar12 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar12 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (iVar9 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar12 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar12 == 0) {\nLAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar12 < 0) {\n      iVar12 = 99;\n    }\n  }\n  return iVar12;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char **ppcVar4;" primitive_type (pointer_declarator "**ppcVar4" * (pointer_declarator "*ppcVar4" * identifier)) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "uint8_t uVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "char *unaff_s0;" primitive_type (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "char **unaff_s1;" primitive_type (pointer_declarator "**unaff_s1" * (pointer_declarator "*unaff_s1" * identifier)) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint8_t *puVar13;" primitive_type (pointer_declarator "*puVar13" * identifier) ;) (declaration "uint8_t *puVar14;" primitive_type (pointer_declarator "*puVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "undefined *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "char *pcVar19;" primitive_type (pointer_declarator "*pcVar19" * identifier) ;) (declaration "code *pcVar20;" type_identifier (pointer_declarator "*pcVar20" * identifier) ;) (declaration "char *local_10a0;" primitive_type (pointer_declarator "*local_10a0" * identifier) ;) (declaration "int local_1094;" primitive_type identifier ;) (declaration "int local_108c;" primitive_type identifier ;) (declaration "int resid;" primitive_type identifier ;) (declaration "char b [80];" primitive_type (array_declarator "b [80]" identifier [ number_literal ]) ;) (declaration "uint8_t rsp_buff [4096];" primitive_type (array_declarator "rsp_buff [4096]" identifier [ number_literal ]) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_000230e4;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000230e4" identifier = identifier) ;) (expression_statement "puVar11 = PTR_00023064;" (assignment_expression "puVar11 = PTR_00023064" identifier = identifier) ;) (expression_statement "puVar10 = PTR_DAT_00023058;" (assignment_expression "puVar10 = PTR_DAT_00023058" identifier = identifier) ;) (expression_statement "iVar9 = *(int *)PTR___stack_chk_guard_000230e4;" (assignment_expression "iVar9 = *(int *)PTR___stack_chk_guard_000230e4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000230e4" * (cast_expression "(int *)PTR___stack_chk_guard_000230e4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (1 < argc) {\n    local_1094 = -1;\n    iVar12 = 1;\n    puVar16 = PTR_00023064 + 0x1f94;\n    puVar18 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    ppcVar4 = argv + 1;\n    do {\n      while( true ) {\n        unaff_s1 = ppcVar4;\n        unaff_s0 = *unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar12 = iVar12 + 1;\n        ppcVar4 = unaff_s1 + 1;\n        if (argc == iVar12) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar12 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar12 = iVar12 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      ppcVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (argc != iVar12);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (char **)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n        iVar12 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      resid = 0;\n      if (local_108c == 0) {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar12 != 0) {\n        if (iVar12 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0);\n      if (resid < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar10 = PTR_00023064 + 0x1d9c;\n        puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;\n        puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;\n      }\n      else {\n        local_1094 = 0x20;\n        puVar10 = PTR_00023064 + 0x1d94;\n        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;\n        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar14);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar14 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar14[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      uVar8 = puVar14[0x21];\n      if (uVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (uVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar14[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if (puVar14[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();\n        return iVar9;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar14[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar14[0x25]);\n      if ((puVar14[0x25] & 4) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar10);\n      puVar10 = PTR_00023064;\n      if ((puVar14[0x25] & 2) == 0) {\n        puVar11 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar11 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar11);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar11 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar16 = PTR_00023064 + 0x2320;\n      do {\n        iVar15 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);\n        uVar8 = *puVar13;\n        if (uVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }\n        bVar1 = iVar15 == 7;\n        iVar15 = iVar15 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar15 != 0x10) {\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        puVar13 = puVar13 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar12 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }" if (parenthesized_expression "(1 < argc)" ( (binary_expression "1 < argc" number_literal < identifier) )) (compound_statement "{\n    local_1094 = -1;\n    iVar12 = 1;\n    puVar16 = PTR_00023064 + 0x1f94;\n    puVar18 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    ppcVar4 = argv + 1;\n    do {\n      while( true ) {\n        unaff_s1 = ppcVar4;\n        unaff_s0 = *unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar12 = iVar12 + 1;\n        ppcVar4 = unaff_s1 + 1;\n        if (argc == iVar12) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar12 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar12 = iVar12 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      ppcVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (argc != iVar12);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (char **)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n        iVar12 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      resid = 0;\n      if (local_108c == 0) {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar12 != 0) {\n        if (iVar12 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0);\n      if (resid < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar10 = PTR_00023064 + 0x1d9c;\n        puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;\n        puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;\n      }\n      else {\n        local_1094 = 0x20;\n        puVar10 = PTR_00023064 + 0x1d94;\n        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;\n        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar14);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar14 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar14[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      uVar8 = puVar14[0x21];\n      if (uVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (uVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar14[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if (puVar14[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();\n        return iVar9;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar14[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar14[0x25]);\n      if ((puVar14[0x25] & 4) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar10);\n      puVar10 = PTR_00023064;\n      if ((puVar14[0x25] & 2) == 0) {\n        puVar11 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar11 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar11);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar11 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar16 = PTR_00023064 + 0x2320;\n      do {\n        iVar15 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);\n        uVar8 = *puVar13;\n        if (uVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }\n        bVar1 = iVar15 == 7;\n        iVar15 = iVar15 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar15 != 0x10) {\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        puVar13 = puVar13 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar12 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }" { (expression_statement "local_1094 = -1;" (assignment_expression "local_1094 = -1" identifier = number_literal) ;) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" identifier = number_literal) ;) (expression_statement "puVar16 = PTR_00023064 + 0x1f94;" (assignment_expression "puVar16 = PTR_00023064 + 0x1f94" identifier = (binary_expression "PTR_00023064 + 0x1f94" identifier + number_literal)) ;) (expression_statement "puVar18 = PTR_00023064 + 0x1f98;" (assignment_expression "puVar18 = PTR_00023064 + 0x1f98" identifier = (binary_expression "PTR_00023064 + 0x1f98" identifier + number_literal)) ;) (expression_statement "local_10a0 = (char *)0x0;" (assignment_expression "local_10a0 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_108c = 0;" (assignment_expression "local_108c = 0" identifier = number_literal) ;) (expression_statement "puVar5 = PTR_00023064 + 0x1fa0;" (assignment_expression "puVar5 = PTR_00023064 + 0x1fa0" identifier = (binary_expression "PTR_00023064 + 0x1fa0" identifier + number_literal)) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "ppcVar4 = argv + 1;" (assignment_expression "ppcVar4 = argv + 1" identifier = (binary_expression "argv + 1" identifier + number_literal)) ;) (do_statement "do {\n      while( true ) {\n        unaff_s1 = ppcVar4;\n        unaff_s0 = *unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar12 = iVar12 + 1;\n        ppcVar4 = unaff_s1 + 1;\n        if (argc == iVar12) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar12 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar12 = iVar12 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      ppcVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (argc != iVar12);" do (compound_statement "{\n      while( true ) {\n        unaff_s1 = ppcVar4;\n        unaff_s0 = *unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar12 = iVar12 + 1;\n        ppcVar4 = unaff_s1 + 1;\n        if (argc == iVar12) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar12 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar12 = iVar12 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      ppcVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    }" { (while_statement "while( true ) {\n        unaff_s1 = ppcVar4;\n        unaff_s0 = *unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar12 = iVar12 + 1;\n        ppcVar4 = unaff_s1 + 1;\n        if (argc == iVar12) goto LAB_00010b80;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        unaff_s1 = ppcVar4;\n        unaff_s0 = *unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar12 = iVar12 + 1;\n        ppcVar4 = unaff_s1 + 1;\n        if (argc == iVar12) goto LAB_00010b80;\n      }" { (expression_statement "unaff_s1 = ppcVar4;" (assignment_expression "unaff_s1 = ppcVar4" identifier = identifier) ;) (expression_statement "unaff_s0 = *unaff_s1;" (assignment_expression "unaff_s0 = *unaff_s1" identifier = (pointer_expression "*unaff_s1" * identifier)) ;) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f90)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar11 + 0x1f90)" ( identifier , (binary_expression "puVar11 + 0x1f90" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) break;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "*(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1;" (assignment_expression "*(int *)(puVar10 + 0x3110) = *(int *)(puVar10 + 0x3110) + 1" (pointer_expression "*(int *)(puVar10 + 0x3110)" * (cast_expression "(int *)(puVar10 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x3110)" ( (binary_expression "puVar10 + 0x3110" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar10 + 0x3110) + 1" (pointer_expression "*(int *)(puVar10 + 0x3110)" * (cast_expression "(int *)(puVar10 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x3110)" ( (binary_expression "puVar10 + 0x3110" identifier + number_literal) )))) + number_literal)) ;) (labeled_statement "LAB_00010ac8:\n        iVar12 = iVar12 + 1;" statement_identifier : (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;)) (expression_statement "ppcVar4 = unaff_s1 + 1;" (assignment_expression "ppcVar4 = unaff_s1 + 1" identifier = (binary_expression "unaff_s1 + 1" identifier + number_literal)) ;) (if_statement "if (argc == iVar12) goto LAB_00010b80;" if (parenthesized_expression "(argc == iVar12)" ( (binary_expression "argc == iVar12" identifier == identifier) )) (goto_statement "goto LAB_00010b80;" goto statement_identifier ;)) })) (expression_statement "iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3);" (assignment_expression "iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3)" identifier = (call_expression "(*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar16,3)" (parenthesized_expression "(*(code *)PTR_strncmp_0002308c)" ( (pointer_expression "*(code *)PTR_strncmp_0002308c" * (cast_expression "(code *)PTR_strncmp_0002308c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar16,3)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }" { (expression_statement "local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);" (assignment_expression "local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0)" identifier = (call_expression "(*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0)" (parenthesized_expression "(*(code *)PTR_strtoul_000230c8)" ( (pointer_expression "*(code *)PTR_strtoul_000230c8" * (cast_expression "(code *)PTR_strtoul_000230c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0 + 3,0,0)" ( (binary_expression "unaff_s0 + 3" identifier + number_literal) , number_literal , number_literal )))) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (goto_statement "goto LAB_00010ac8;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar18)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar18)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (goto_statement "goto LAB_00010ac8;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar11 + 0x1f9c)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar11 + 0x1f9c)" ( identifier , (binary_expression "puVar11 + 0x1f9c" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }" { (expression_statement "local_108c = 1;" (assignment_expression "local_108c = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00010ac8;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar12 = 0;\n        goto LAB_00010cf8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar12 = 0;\n        goto LAB_00010cf8;\n      }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4)" ( (binary_expression "PTR_00023064 + 0x1fb4" identifier + number_literal) , (binary_expression "PTR_00023064 + 0x1fa4" identifier + number_literal) ))) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00010cf8;" goto statement_identifier ;) })) (if_statement "if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }" if (parenthesized_expression "(*unaff_s0 == '-')" ( (binary_expression "*unaff_s0 == '-'" (pointer_expression "*unaff_s0" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1fcc,unaff_s0)" ( (binary_expression "PTR_00023064 + 0x1fcc" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010cdc;" goto statement_identifier ;) })) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (if_statement "if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }" if (parenthesized_expression "(local_10a0 != (char *)0x0)" ( (binary_expression "local_10a0 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1fe8)" ( (binary_expression "PTR_00023064 + 0x1fe8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010cdc;" goto statement_identifier ;) })) (expression_statement "ppcVar4 = unaff_s1 + 1;" (assignment_expression "ppcVar4 = unaff_s1 + 1" identifier = (binary_expression "unaff_s1 + 1" identifier + number_literal)) ;) (expression_statement "local_10a0 = unaff_s0;" (assignment_expression "local_10a0 = unaff_s0" identifier = identifier) ;) }) while (parenthesized_expression "(argc != iVar12)" ( (binary_expression "argc != iVar12" identifier != identifier) )) ;) (labeled_statement "LAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;" statement_identifier : (expression_statement "unaff_s0 = PTR_DAT_00023058;" (assignment_expression "unaff_s0 = PTR_DAT_00023058" identifier = identifier) ;)) (expression_statement "unaff_s1 = unaff_s1 + 1;" (assignment_expression "unaff_s1 = unaff_s1 + 1" identifier = (binary_expression "unaff_s1 + 1" identifier + number_literal)) ;) (if_statement "if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (char **)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n        iVar12 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      resid = 0;\n      if (local_108c == 0) {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar12 != 0) {\n        if (iVar12 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0);\n      if (resid < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar10 = PTR_00023064 + 0x1d9c;\n        puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;\n        puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;\n      }\n      else {\n        local_1094 = 0x20;\n        puVar10 = PTR_00023064 + 0x1d94;\n        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;\n        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar14);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar14 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar14[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      uVar8 = puVar14[0x21];\n      if (uVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (uVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar14[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if (puVar14[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();\n        return iVar9;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar14[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar14[0x25]);\n      if ((puVar14[0x25] & 4) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar10);\n      puVar10 = PTR_00023064;\n      if ((puVar14[0x25] & 2) == 0) {\n        puVar11 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar11 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar11);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar11 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar16 = PTR_00023064 + 0x2320;\n      do {\n        iVar15 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);\n        uVar8 = *puVar13;\n        if (uVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }\n        bVar1 = iVar15 == 7;\n        iVar15 = iVar15 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar15 != 0x10) {\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        puVar13 = puVar13 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar12 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }" if (parenthesized_expression "(local_10a0 != (char *)0x0)" ( (binary_expression "local_10a0 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (char **)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n        iVar12 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      resid = 0;\n      if (local_108c == 0) {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar12 != 0) {\n        if (iVar12 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0);\n      if (resid < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar10 = PTR_00023064 + 0x1d9c;\n        puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;\n        puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;\n      }\n      else {\n        local_1094 = 0x20;\n        puVar10 = PTR_00023064 + 0x1d94;\n        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;\n        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar14);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar14 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar14[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      uVar8 = puVar14[0x21];\n      if (uVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (uVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar14[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if (puVar14[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();\n        return iVar9;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar14[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar14[0x25]);\n      if ((puVar14[0x25] & 4) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar10);\n      puVar10 = PTR_00023064;\n      if ((puVar14[0x25] & 2) == 0) {\n        puVar11 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar11 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar11);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar11 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar16 = PTR_00023064 + 0x2320;\n      do {\n        iVar15 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);\n        uVar8 = *puVar13;\n        if (uVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }\n        bVar1 = iVar15 == 7;\n        iVar15 = iVar15 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar15 != 0x10) {\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        puVar13 = puVar13 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar12 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }" { (expression_statement "unaff_s1 = (char **)(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));" (assignment_expression "unaff_s1 = (char **)(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" identifier = (cast_expression "(char **)(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(*(code *)PTR_sg_cmds_open_device_00023090)\n                                    (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00023090)" ( (pointer_expression "*(code *)PTR_sg_cmds_open_device_00023090" * (cast_expression "(code *)PTR_sg_cmds_open_device_00023090" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(PTR_DAT_00023058 + 0x3110)" * (cast_expression "(undefined4 *)(PTR_DAT_00023058 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00023058 + 0x3110)" ( (binary_expression "PTR_DAT_00023058 + 0x3110" identifier + number_literal) )))) ))))) ;) (if_statement "if ((int)unaff_s1 < 0) {\n        unaff_s1 = (char **)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }" if (parenthesized_expression "((int)unaff_s1 < 0)" ( (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        unaff_s1 = (char **)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }" { (expression_statement "unaff_s1 = (char **)-(int)unaff_s1;" (assignment_expression "unaff_s1 = (char **)-(int)unaff_s1" identifier = (cast_expression "(char **)-(int)unaff_s1" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (unary_expression "-(int)unaff_s1" - (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1ffc,local_10a0,uVar7)" ( (binary_expression "PTR_00023064 + 0x1ffc" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1dbc)" ( (binary_expression "PTR_00023064 + 0x1dbc" identifier + number_literal) ))) ;) (expression_statement "iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" (assignment_expression "iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000230a8)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_000230a8" * (cast_expression "(code *)PTR_sg_convert_errno_000230a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;) (goto_statement "goto LAB_00010c68;" goto statement_identifier ;) })) (if_statement "if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n        iVar12 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n        (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n        iVar12 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }" { (expression_statement "(*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(rsp_buff,0,0x134)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iVar12 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar12 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (if_statement "if (local_108c == 0) {\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n          rsp_buff[0x2d] = '\x01';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }" { (expression_statement "rsp_buff[0x2d] = '\x01';" (assignment_expression "rsp_buff[0x2d] = '\x01'" (subscript_expression "rsp_buff[0x2d]" identifier [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;" (assignment_expression "rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068" (field_expression "rsp_buff._0_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)PTR_mode10_hdr_00023068" * (cast_expression "(undefined4 *)PTR_mode10_hdr_00023068" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);" (call_expression "builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4)" identifier (argument_list "(rsp_buff + 8,"l\x01\x01(",4)" ( (binary_expression "rsp_buff + 8" identifier + number_literal) , (string_literal ""l\x01\x01("" " string_content escape_sequence escape_sequence string_content ") , number_literal ))) ;) (expression_statement "rsp_buff[0x30] = '\n';" (assignment_expression "rsp_buff[0x30] = '\n'" (subscript_expression "rsp_buff[0x30]" identifier [ number_literal ]) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "rsp_buff[0x31] = '\x02';" (assignment_expression "rsp_buff[0x31] = '\x02'" (subscript_expression "rsp_buff[0x31]" identifier [ number_literal ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (expression_statement "rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);" (assignment_expression "rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4)" (field_expression "rsp_buff._4_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_mode10_hdr_00023068 + 4)" * (cast_expression "(undefined4 *)(PTR_mode10_hdr_00023068 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mode10_hdr_00023068 + 4)" ( (binary_expression "PTR_mode10_hdr_00023068 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar12 != 0) {\n            iVar12 = 2;\n          }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar12 = 2;\n          }" { (expression_statement "iVar12 = 2;" (assignment_expression "iVar12 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x134;" (assignment_expression "uVar7 = 0x134" identifier = number_literal) ;) (expression_statement "pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;" (assignment_expression "pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select10_000230ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" else (compound_statement "{\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff[0x2f] = '\x01';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" { (expression_statement "rsp_buff[0xc] = ',';" (assignment_expression "rsp_buff[0xc] = ','" (subscript_expression "rsp_buff[0xc]" identifier [ number_literal ]) = (char_literal "','" ' character ')) ;) (expression_statement "rsp_buff[0xd] = 'h';" (assignment_expression "rsp_buff[0xd] = 'h'" (subscript_expression "rsp_buff[0xd]" identifier [ number_literal ]) = (char_literal "'h'" ' character ')) ;) (expression_statement "rsp_buff[0x2f] = '\x01';" (assignment_expression "rsp_buff[0x2f] = '\x01'" (subscript_expression "rsp_buff[0x2f]" identifier [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "rsp_buff[0x32] = '\n';" (assignment_expression "rsp_buff[0x32] = '\n'" (subscript_expression "rsp_buff[0x32]" identifier [ number_literal ]) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "rsp_buff[0x33] = '\x02';" (assignment_expression "rsp_buff[0x33] = '\x02'" (subscript_expression "rsp_buff[0x33]" identifier [ number_literal ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (expression_statement "rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;" (assignment_expression "rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070" (field_expression "rsp_buff._0_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)PTR_mode6_hdr_00023070" * (cast_expression "(undefined4 *)PTR_mode6_hdr_00023070" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;" (assignment_expression "rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c" (field_expression "rsp_buff._4_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)PTR_block_descriptor_0002306c" * (cast_expression "(undefined4 *)PTR_block_descriptor_0002306c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);" (assignment_expression "rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4)" (field_expression "rsp_buff._8_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_block_descriptor_0002306c + 4)" * (cast_expression "(undefined4 *)(PTR_block_descriptor_0002306c + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_block_descriptor_0002306c + 4)" ( (binary_expression "PTR_block_descriptor_0002306c + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar12 != 0) {\n            iVar12 = 2;\n          }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar12 = 2;\n          }" { (expression_statement "iVar12 = 2;" (assignment_expression "iVar12 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x76;" (assignment_expression "uVar7 = 0x76" identifier = number_literal) ;) (expression_statement "pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;" (assignment_expression "pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select6_000230d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);" (assignment_expression "iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12)" identifier = (call_expression "(*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12)" (parenthesized_expression "(*pcVar20)" ( (pointer_expression "*pcVar20" * identifier) )) (argument_list "(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12)" ( identifier , number_literal , number_literal , identifier , identifier , number_literal , identifier )))) ;) (expression_statement "iVar6 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar6 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (if_statement "if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);\n          goto LAB_00010f20;\n        }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12,0x50,b)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,b)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2028,b)" ( (binary_expression "PTR_00023064 + 0x2028" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (labeled_statement "LAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;" statement_identifier : (if_statement "if (iVar6 == 0) goto LAB_00010f20;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;))) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2010)" ( (binary_expression "PTR_00023064 + 0x2010" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (if_statement "if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }" { (if_statement "if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n          if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;\n          rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x32] = 0x81;\n          rsp_buff[0x2d] = '\x02';\n          rsp_buff[0x30] = '\n';\n          rsp_buff[0x31] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }" { (if_statement "if (0xff < local_1094) {\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }" if (parenthesized_expression "(0xff < local_1094)" ( (binary_expression "0xff < local_1094" number_literal < identifier) )) (compound_statement "{\n            iVar12 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }" { (expression_statement "iVar12 = -1;" (assignment_expression "iVar12 = -1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x206c)" ( (binary_expression "PTR_00023064 + 0x206c" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(rsp_buff,0,0x134)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4);" (call_expression "builtin_memcpy(rsp_buff + 8,"l\x01\x01(",4)" identifier (argument_list "(rsp_buff + 8,"l\x01\x01(",4)" ( (binary_expression "rsp_buff + 8" identifier + number_literal) , (string_literal ""l\x01\x01("" " string_content escape_sequence escape_sequence string_content ") , number_literal ))) ;) (expression_statement "rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068;" (assignment_expression "rsp_buff._0_4_ = *(undefined4 *)PTR_mode10_hdr_00023068" (field_expression "rsp_buff._0_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)PTR_mode10_hdr_00023068" * (cast_expression "(undefined4 *)PTR_mode10_hdr_00023068" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4);" (assignment_expression "rsp_buff._4_4_ = *(undefined4 *)(PTR_mode10_hdr_00023068 + 4)" (field_expression "rsp_buff._4_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_mode10_hdr_00023068 + 4)" * (cast_expression "(undefined4 *)(PTR_mode10_hdr_00023068 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mode10_hdr_00023068 + 4)" ( (binary_expression "PTR_mode10_hdr_00023068 + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100);" (call_expression "(*(code *)PTR_memset_000230b4)(rsp_buff + 0x32,0,0x100)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(rsp_buff + 0x32,0,0x100)" ( (binary_expression "rsp_buff + 0x32" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "iVar12 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar12 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (expression_statement "rsp_buff[local_1094 + 0x32] = 0x81;" (assignment_expression "rsp_buff[local_1094 + 0x32] = 0x81" (subscript_expression "rsp_buff[local_1094 + 0x32]" identifier [ (binary_expression "local_1094 + 0x32" identifier + number_literal) ]) = number_literal) ;) (expression_statement "rsp_buff[0x2d] = '\x02';" (assignment_expression "rsp_buff[0x2d] = '\x02'" (subscript_expression "rsp_buff[0x2d]" identifier [ number_literal ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (expression_statement "rsp_buff[0x30] = '\n';" (assignment_expression "rsp_buff[0x30] = '\n'" (subscript_expression "rsp_buff[0x30]" identifier [ number_literal ]) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "rsp_buff[0x31] = '\x02';" (assignment_expression "rsp_buff[0x31] = '\x02'" (subscript_expression "rsp_buff[0x31]" identifier [ number_literal ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (if_statement "if (iVar12 != 0) {\n            iVar12 = 2;\n          }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar12 = 2;\n          }" { (expression_statement "iVar12 = 2;" (assignment_expression "iVar12 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x134;" (assignment_expression "uVar7 = 0x134" identifier = number_literal) ;) (expression_statement "pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac;" (assignment_expression "pcVar20 = (code *)PTR_sg_ll_mode_select10_000230ac" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select10_000230ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" else (compound_statement "{\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);\n          rsp_buff[0xc] = ',';\n          rsp_buff[0xd] = 'h';\n          rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;\n          rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;\n          rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);\n          iVar12 = *(int *)(unaff_s0 + 0x3110);\n          rsp_buff[local_1094 + 0x34] = 0x81;\n          rsp_buff[0x2f] = '\x02';\n          rsp_buff[0x32] = '\n';\n          rsp_buff[0x33] = '\x02';\n          if (iVar12 != 0) {\n            iVar12 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" { (if_statement "if (0x1f < local_1094) goto LAB_000118b4;" if (parenthesized_expression "(0x1f < local_1094)" ( (binary_expression "0x1f < local_1094" number_literal < identifier) )) (goto_statement "goto LAB_000118b4;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(rsp_buff,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(rsp_buff,0,0x134)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "rsp_buff[0xc] = ',';" (assignment_expression "rsp_buff[0xc] = ','" (subscript_expression "rsp_buff[0xc]" identifier [ number_literal ]) = (char_literal "','" ' character ')) ;) (expression_statement "rsp_buff[0xd] = 'h';" (assignment_expression "rsp_buff[0xd] = 'h'" (subscript_expression "rsp_buff[0xd]" identifier [ number_literal ]) = (char_literal "'h'" ' character ')) ;) (expression_statement "rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c;" (assignment_expression "rsp_buff._4_4_ = *(undefined4 *)PTR_block_descriptor_0002306c" (field_expression "rsp_buff._4_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)PTR_block_descriptor_0002306c" * (cast_expression "(undefined4 *)PTR_block_descriptor_0002306c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070;" (assignment_expression "rsp_buff._0_4_ = *(undefined4 *)PTR_mode6_hdr_00023070" (field_expression "rsp_buff._0_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)PTR_mode6_hdr_00023070" * (cast_expression "(undefined4 *)PTR_mode6_hdr_00023070" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);" (assignment_expression "rsp_buff._8_4_ = *(undefined4 *)(PTR_block_descriptor_0002306c + 4)" (field_expression "rsp_buff._8_4_" identifier . field_identifier) = (pointer_expression "*(undefined4 *)(PTR_block_descriptor_0002306c + 4)" * (cast_expression "(undefined4 *)(PTR_block_descriptor_0002306c + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_block_descriptor_0002306c + 4)" ( (binary_expression "PTR_block_descriptor_0002306c + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20);" (call_expression "(*(code *)PTR_memset_000230b4)(rsp_buff + 0x34,0,0x20)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(rsp_buff + 0x34,0,0x20)" ( (binary_expression "rsp_buff + 0x34" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "iVar12 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar12 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (expression_statement "rsp_buff[local_1094 + 0x34] = 0x81;" (assignment_expression "rsp_buff[local_1094 + 0x34] = 0x81" (subscript_expression "rsp_buff[local_1094 + 0x34]" identifier [ (binary_expression "local_1094 + 0x34" identifier + number_literal) ]) = number_literal) ;) (expression_statement "rsp_buff[0x2f] = '\x02';" (assignment_expression "rsp_buff[0x2f] = '\x02'" (subscript_expression "rsp_buff[0x2f]" identifier [ number_literal ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (expression_statement "rsp_buff[0x32] = '\n';" (assignment_expression "rsp_buff[0x32] = '\n'" (subscript_expression "rsp_buff[0x32]" identifier [ number_literal ]) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "rsp_buff[0x33] = '\x02';" (assignment_expression "rsp_buff[0x33] = '\x02'" (subscript_expression "rsp_buff[0x33]" identifier [ number_literal ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (if_statement "if (iVar12 != 0) {\n            iVar12 = 2;\n          }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar12 = 2;\n          }" { (expression_statement "iVar12 = 2;" (assignment_expression "iVar12 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x76;" (assignment_expression "uVar7 = 0x76" identifier = number_literal) ;) (expression_statement "pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4;" (assignment_expression "pcVar20 = (code *)PTR_sg_ll_mode_select6_000230d4" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select6_000230d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12);" (assignment_expression "iVar12 = (*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12)" identifier = (call_expression "(*pcVar20)(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12)" (parenthesized_expression "(*pcVar20)" ( (pointer_expression "*pcVar20" * identifier) )) (argument_list "(unaff_s1,1,0,rsp_buff,uVar7,1,iVar12)" ( identifier , number_literal , number_literal , identifier , identifier , number_literal , identifier )))) ;) (expression_statement "iVar6 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar6 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (if_statement "if (iVar12 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);\n          goto LAB_00010f20;\n        }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar12,0x50,b)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12,0x50,b)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,b)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2084,local_1094,b)" ( (binary_expression "PTR_00023064 + 0x2084" identifier + number_literal) , identifier , identifier ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (goto_statement "goto LAB_00010f18;" goto statement_identifier ;) })) (expression_statement "resid = 0;" (assignment_expression "resid = 0" identifier = number_literal) ;) (if_statement "if (local_108c == 0) {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));\n      }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" { (expression_statement "iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));" (assignment_expression "iVar12 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" identifier = (call_expression "(*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)" ( (pointer_expression "*(code *)PTR_sg_ll_mode_sense10_v2_000230b8" * (cast_expression "(code *)PTR_sg_ll_mode_sense10_v2_000230b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1,0,0,0,0x2c,1,rsp_buff,0x134,0,&resid,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" ( identifier , number_literal , number_literal , number_literal , number_literal , number_literal , identifier , number_literal , number_literal , (pointer_expression "&resid" & identifier) , number_literal , (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));\n      }" else (compound_statement "{\n        iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));\n      }" { (expression_statement "iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110));" (assignment_expression "iVar12 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110))" identifier = (call_expression "(*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_ll_mode_sense6_000230c4)" ( (pointer_expression "*(code *)PTR_sg_ll_mode_sense6_000230c4" * (cast_expression "(code *)PTR_sg_ll_mode_sense6_000230c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1,0,0,0x2c,0,rsp_buff,0xfc,1,*(undefined4 *)(unaff_s0 + 0x3110))" ( identifier , number_literal , number_literal , number_literal , number_literal , identifier , number_literal , number_literal , (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) )))) ;) }))) (if_statement "if (iVar12 != 0) {\n        if (iVar12 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n        if (iVar12 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }" { (if_statement "if (iVar12 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }" if (parenthesized_expression "(iVar12 == 9)" ( (binary_expression "iVar12 == 9" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2334)" ( (binary_expression "PTR_00023064 + 0x2334" identifier + number_literal) ))) ;) }) (else_clause "else if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }" else (if_statement "if (iVar12 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }" if (parenthesized_expression "(iVar12 == 5)" ( (binary_expression "iVar12 == 5" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2380)" ( (binary_expression "PTR_00023064 + 0x2380" identifier + number_literal) ))) ;) }) (else_clause "else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }" else (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);\n        }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110));" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12,0x50,b,*(undefined4 *)(unaff_s0 + 0x3110))" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,b)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23d8,b)" ( (binary_expression "PTR_00023064 + 0x23d8" identifier + number_literal) , identifier ))) ;) }))))) (expression_statement "iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" * (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;) (if_statement "if (-1 < iVar6) goto LAB_00010c68;" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (goto_statement "goto LAB_00010c68;" goto statement_identifier ;)) (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-iVar6)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar6)" ( (unary_expression "-iVar6" - identifier) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" ( (binary_expression "PTR_00023064 + 0x23f0" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010c68;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0);" (assignment_expression "iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0)" identifier = (call_expression "(*(code *)PTR_sg_msense_calc_length_000230a0)(rsp_buff,0x134,local_108c,0)" (parenthesized_expression "(*(code *)PTR_sg_msense_calc_length_000230a0)" ( (pointer_expression "*(code *)PTR_sg_msense_calc_length_000230a0" * (cast_expression "(code *)PTR_sg_msense_calc_length_000230a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(rsp_buff,0x134,local_108c,0)" ( identifier , number_literal , identifier , number_literal )))) ;) (if_statement "if (resid < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" if (parenthesized_expression "(resid < 1)" ( (binary_expression "resid < 1" identifier < number_literal) )) (compound_statement "{\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }" { (if_statement "if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }" if (parenthesized_expression "((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6))" ( (binary_expression "(*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)" (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) != 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(1 < iVar6)" ( (binary_expression "1 < iVar6" number_literal < identifier) ))) )) (compound_statement "{\nLAB_00011344:\n          iVar15 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar10 = PTR_00023064 + 0x20d0;\n          puVar11 = PTR_00023064 + 0x20d4;\n          do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }" { (labeled_statement "LAB_00011344:\n          iVar15 = 0x10;" statement_identifier : (expression_statement "iVar15 = 0x10;" (assignment_expression "iVar15 = 0x10" identifier = number_literal) ;)) (expression_statement "local_10a0 = (char *)0x0;" (assignment_expression "local_10a0 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar10 = PTR_00023064 + 0x20d0;" (assignment_expression "puVar10 = PTR_00023064 + 0x20d0" identifier = (binary_expression "PTR_00023064 + 0x20d0" identifier + number_literal)) ;) (expression_statement "puVar11 = PTR_00023064 + 0x20d4;" (assignment_expression "puVar11 = PTR_00023064 + 0x20d4" identifier = (binary_expression "PTR_00023064 + 0x20d4" identifier + number_literal)) ;) (do_statement "do {\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);" do (compound_statement "{\n            puVar13 = rsp_buff + (int)local_10a0;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);\n            pcVar19 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);\n            iVar15 = iVar15 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          }" { (expression_statement "puVar13 = rsp_buff + (int)local_10a0;" (assignment_expression "puVar13 = rsp_buff + (int)local_10a0" identifier = (binary_expression "rsp_buff + (int)local_10a0" identifier + (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar10,(int)local_10a0 >> 4)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar10,(int)local_10a0 >> 4)" ( number_literal , identifier , (binary_expression "(int)local_10a0 >> 4" (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) ;) (expression_statement "pcVar19 = local_10a0;" (assignment_expression "pcVar19 = local_10a0" identifier = identifier) ;) (do_statement "do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            } while ((char *)iVar15 != pcVar19);" do (compound_statement "{\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);\n              if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar19 = (char *)((int)pcVar19 + 1);\n              puVar13 = puVar13 + 1;\n            }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar11,*puVar13)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar11,*puVar13)" ( number_literal , identifier , (pointer_expression "*puVar13" * identifier) ))) ;) (if_statement "if (iVar6 <= (int)pcVar19) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }" if (parenthesized_expression "(iVar6 <= (int)pcVar19)" ( (binary_expression "iVar6 <= (int)pcVar19" identifier <= (cast_expression "(int)pcVar19" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }" { (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (break_statement "break;" break ;) })) (expression_statement "pcVar19 = (char *)((int)pcVar19 + 1);" (assignment_expression "pcVar19 = (char *)((int)pcVar19 + 1)" identifier = (cast_expression "(char *)((int)pcVar19 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar19 + 1)" ( (binary_expression "(int)pcVar19 + 1" (cast_expression "(int)pcVar19" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((char *)iVar15 != pcVar19)" ( (binary_expression "(char *)iVar15 != pcVar19" (cast_expression "(char *)iVar15" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) != identifier) )) ;) (expression_statement "iVar15 = iVar15 + 0x10;" (assignment_expression "iVar15 = iVar15 + 0x10" identifier = (binary_expression "iVar15 + 0x10" identifier + number_literal)) ;) (expression_statement "local_10a0 = (char *)((int)local_10a0 + 0x10);" (assignment_expression "local_10a0 = (char *)((int)local_10a0 + 0x10)" identifier = (cast_expression "(char *)((int)local_10a0 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_10a0 + 0x10)" ( (binary_expression "(int)local_10a0 + 0x10" (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) }) while (parenthesized_expression "((int)local_10a0 < iVar6)" ( (binary_expression "(int)local_10a0 < iVar6" (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) }) (else_clause "else {\n        if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" else (compound_statement "{\n        if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" { (if_statement "if (0x134 - resid < iVar6) {\n          iVar6 = 0x134 - resid;\n        }" if (parenthesized_expression "(0x134 - resid < iVar6)" ( (binary_expression "0x134 - resid < iVar6" (binary_expression "0x134 - resid" number_literal - identifier) < identifier) )) (compound_statement "{\n          iVar6 = 0x134 - resid;\n        }" { (expression_statement "iVar6 = 0x134 - resid;" (assignment_expression "iVar6 = 0x134 - resid" identifier = (binary_expression "0x134 - resid" number_literal - identifier)) ;) })) (if_statement "if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" if (parenthesized_expression "(iVar6 < 2)" ( (binary_expression "iVar6 < 2" identifier < number_literal) )) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x20ac)" ( (binary_expression "PTR_00023064 + 0x20ac" identifier + number_literal) ))) ;) }) (else_clause "else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" else (if_statement "if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" if (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) != 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00011344;" goto statement_identifier ;)))) }))) (if_statement "if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar10 = PTR_00023064 + 0x1d9c;\n        puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;\n        puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;\n      }\n      else {\n        local_1094 = 0x20;\n        puVar10 = PTR_00023064 + 0x1d94;\n        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;\n        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;\n      }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n        local_1094 = 0x100;\n        puVar10 = PTR_00023064 + 0x1d9c;\n        puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;\n        puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;\n      }" { (expression_statement "local_1094 = 0x100;" (assignment_expression "local_1094 = 0x100" identifier = number_literal) ;) (expression_statement "puVar10 = PTR_00023064 + 0x1d9c;" (assignment_expression "puVar10 = PTR_00023064 + 0x1d9c" identifier = (binary_expression "PTR_00023064 + 0x1d9c" identifier + number_literal)) ;) (expression_statement "puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc;" (assignment_expression "puVar14 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc" identifier = (binary_expression "rsp_buff + (rsp_buff._4_4_ & 0xff) + 0xc" (binary_expression "rsp_buff + (rsp_buff._4_4_ & 0xff)" identifier + (parenthesized_expression "(rsp_buff._4_4_ & 0xff)" ( (binary_expression "rsp_buff._4_4_ & 0xff" (field_expression "rsp_buff._4_4_" identifier . field_identifier) & number_literal) ))) + number_literal)) ;) (expression_statement "puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32;" (assignment_expression "puVar13 = rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32" identifier = (binary_expression "rsp_buff + (rsp_buff._4_4_ & 0xff) + 0x32" (binary_expression "rsp_buff + (rsp_buff._4_4_ & 0xff)" identifier + (parenthesized_expression "(rsp_buff._4_4_ & 0xff)" ( (binary_expression "rsp_buff._4_4_ & 0xff" (field_expression "rsp_buff._4_4_" identifier . field_identifier) & number_literal) ))) + number_literal)) ;) }) (else_clause "else {\n        local_1094 = 0x20;\n        puVar10 = PTR_00023064 + 0x1d94;\n        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;\n        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;\n      }" else (compound_statement "{\n        local_1094 = 0x20;\n        puVar10 = PTR_00023064 + 0x1d94;\n        puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;\n        puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;\n      }" { (expression_statement "local_1094 = 0x20;" (assignment_expression "local_1094 = 0x20" identifier = number_literal) ;) (expression_statement "puVar10 = PTR_00023064 + 0x1d94;" (assignment_expression "puVar10 = PTR_00023064 + 0x1d94" identifier = (binary_expression "PTR_00023064 + 0x1d94" identifier + number_literal)) ;) (expression_statement "puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6;" (assignment_expression "puVar14 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 6" identifier = (binary_expression "rsp_buff + (rsp_buff._0_4_ & 0xff) + 6" (binary_expression "rsp_buff + (rsp_buff._0_4_ & 0xff)" identifier + (parenthesized_expression "(rsp_buff._0_4_ & 0xff)" ( (binary_expression "rsp_buff._0_4_ & 0xff" (field_expression "rsp_buff._0_4_" identifier . field_identifier) & number_literal) ))) + number_literal)) ;) (expression_statement "puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c;" (assignment_expression "puVar13 = rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c" identifier = (binary_expression "rsp_buff + (rsp_buff._0_4_ & 0xff) + 0x2c" (binary_expression "rsp_buff + (rsp_buff._0_4_ & 0xff)" identifier + (parenthesized_expression "(rsp_buff._0_4_ & 0xff)" ( (binary_expression "rsp_buff._0_4_ & 0xff" (field_expression "rsp_buff._0_4_" identifier . field_identifier) & number_literal) ))) + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x20dc,puVar10)" ( number_literal , (binary_expression "PTR_00023064 + 0x20dc" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar14);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar14)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x20ec,puVar14)" ( number_literal , (binary_expression "PTR_00023064 + 0x20ec" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar14 + 0x10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar14 + 0x10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2108,puVar14 + 0x10)" ( number_literal , (binary_expression "PTR_00023064 + 0x2108" identifier + number_literal) , (binary_expression "puVar14 + 0x10" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x212c)" ( number_literal , (binary_expression "PTR_00023064 + 0x212c" identifier + number_literal) ))) ;) (if_statement "if (puVar14[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" if (parenthesized_expression "(puVar14[0x20] == '\0')" ( (binary_expression "puVar14[0x20] == '\0'" (subscript_expression "puVar14[0x20]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2150)" ( number_literal , (binary_expression "PTR_00023064 + 0x2150" identifier + number_literal) ))) ;) }) (else_clause "else if (puVar14[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" else (if_statement "if (puVar14[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" if (parenthesized_expression "(puVar14[0x20] == '\x01')" ( (binary_expression "puVar14[0x20] == '\x01'" (subscript_expression "puVar14[0x20]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2174)" ( number_literal , (binary_expression "PTR_00023064 + 0x2174" identifier + number_literal) ))) ;) }) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" else (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2194)" ( number_literal , (binary_expression "PTR_00023064 + 0x2194" identifier + number_literal) ))) ;) }))))) (expression_statement "uVar8 = puVar14[0x21];" (assignment_expression "uVar8 = puVar14[0x21]" identifier = (subscript_expression "puVar14[0x21]" identifier [ number_literal ])) ;) (if_statement "if (uVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (uVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" if (parenthesized_expression "(uVar8 == '\x01')" ( (binary_expression "uVar8 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }" { (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x21c4)" ( (binary_expression "PTR_00023064 + 0x21c4" identifier + number_literal) ))) ;) }) (else_clause "else if (uVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" else (if_statement "if (uVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" if (parenthesized_expression "(uVar8 == '\0')" ( (binary_expression "uVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }" { (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x21b8)" ( (binary_expression "PTR_00023064 + 0x21b8" identifier + number_literal) ))) ;) }) (else_clause "else if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" else (if_statement "if (uVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" if (parenthesized_expression "(uVar8 == '\x02')" ( (binary_expression "uVar8 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }" { (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x21cc)" ( (binary_expression "PTR_00023064 + 0x21cc" identifier + number_literal) ))) ;) }) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" else (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x21e0)" ( number_literal , (binary_expression "PTR_00023064 + 0x21e0" identifier + number_literal) ))) ;) }))))))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x21f8)" ( number_literal , (binary_expression "PTR_00023064 + 0x21f8" identifier + number_literal) ))) ;) (if_statement "if (puVar14[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar14[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" if (parenthesized_expression "(puVar14[0x22] == '\0')" ( (binary_expression "puVar14[0x22] == '\0'" (subscript_expression "puVar14[0x22]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2150)" ( number_literal , (binary_expression "PTR_00023064 + 0x2150" identifier + number_literal) ))) ;) }) (else_clause "else if (puVar14[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" else (if_statement "if (puVar14[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" if (parenthesized_expression "(puVar14[0x22] == '\x01')" ( (binary_expression "puVar14[0x22] == '\x01'" (subscript_expression "puVar14[0x22]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2174)" ( number_literal , (binary_expression "PTR_00023064 + 0x2174" identifier + number_literal) ))) ;) }) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" else (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x221c)" ( number_literal , (binary_expression "PTR_00023064 + 0x221c" identifier + number_literal) ))) ;) }))))) (if_statement "if (puVar14[0x23] < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();\n        return iVar9;\n      }" if (parenthesized_expression "(puVar14[0x23] < 5)" ( (binary_expression "puVar14[0x23] < 5" (subscript_expression "puVar14[0x23]" identifier [ number_literal ]) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00011224 */\n                    /* WARNING: Treating indirect jump as call */\n        iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();\n        return iVar9;\n      }" { comment comment (expression_statement "iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))();" (assignment_expression "iVar9 = (*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460))" ( (binary_expression "&_gp + *(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)" * (cast_expression "(int *)(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460)" ( (binary_expression "PTR_00023064 + (uint)puVar14[0x23] * 4 + 0x2460" (binary_expression "PTR_00023064 + (uint)puVar14[0x23] * 4" identifier + (binary_expression "(uint)puVar14[0x23] * 4" (cast_expression "(uint)puVar14[0x23]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar14[0x23]" identifier [ number_literal ])) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar9;" return identifier ;) })) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x21e0)" ( number_literal , (binary_expression "PTR_00023064 + 0x21e0" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar14[0x24]);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar14[0x24])" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2250,puVar14[0x24])" ( number_literal , (binary_expression "PTR_00023064 + 0x2250" identifier + number_literal) , (subscript_expression "puVar14[0x24]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar14[0x25]);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar14[0x25])" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x226c,puVar14[0x25])" ( number_literal , (binary_expression "PTR_00023064 + 0x226c" identifier + number_literal) , (subscript_expression "puVar14[0x25]" identifier [ number_literal ]) ))) ;) (if_statement "if ((puVar14[0x25] & 4) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" if (parenthesized_expression "((puVar14[0x25] & 4) == 0)" ( (binary_expression "(puVar14[0x25] & 4) == 0" (parenthesized_expression "(puVar14[0x25] & 4)" ( (binary_expression "puVar14[0x25] & 4" (subscript_expression "puVar14[0x25]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n        puVar10 = PTR_00023064 + 0x1db0;\n      }" { (expression_statement "puVar10 = PTR_00023064 + 0x1db0;" (assignment_expression "puVar10 = PTR_00023064 + 0x1db0" identifier = (binary_expression "PTR_00023064 + 0x1db0" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" else (compound_statement "{\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" { (expression_statement "puVar10 = PTR_00023064 + 0x1da8;" (assignment_expression "puVar10 = PTR_00023064 + 0x1da8" identifier = (binary_expression "PTR_00023064 + 0x1da8" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2280,puVar10)" ( number_literal , (binary_expression "PTR_00023064 + 0x2280" identifier + number_literal) , identifier ))) ;) (expression_statement "puVar10 = PTR_00023064;" (assignment_expression "puVar10 = PTR_00023064" identifier = identifier) ;) (if_statement "if ((puVar14[0x25] & 2) == 0) {\n        puVar11 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar11 = PTR_00023064 + 0x1da8;\n      }" if (parenthesized_expression "((puVar14[0x25] & 2) == 0)" ( (binary_expression "(puVar14[0x25] & 2) == 0" (parenthesized_expression "(puVar14[0x25] & 2)" ( (binary_expression "puVar14[0x25] & 2" (subscript_expression "puVar14[0x25]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n        puVar11 = PTR_00023064 + 0x1db0;\n      }" { (expression_statement "puVar11 = PTR_00023064 + 0x1db0;" (assignment_expression "puVar11 = PTR_00023064 + 0x1db0" identifier = (binary_expression "PTR_00023064 + 0x1db0" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar11 = PTR_00023064 + 0x1da8;\n      }" else (compound_statement "{\n        puVar11 = PTR_00023064 + 0x1da8;\n      }" { (expression_statement "puVar11 = PTR_00023064 + 0x1da8;" (assignment_expression "puVar11 = PTR_00023064 + 0x1da8" identifier = (binary_expression "PTR_00023064 + 0x1da8" identifier + number_literal)) ;) }))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar11);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar11)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2290,puVar11)" ( number_literal , (binary_expression "PTR_00023064 + 0x2290" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x22ac)" ( (binary_expression "PTR_00023064 + 0x22ac" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x22e8)" ( (binary_expression "PTR_00023064 + 0x22e8" identifier + number_literal) ))) ;) (expression_statement "puVar11 = PTR_00023064 + 0x2330;" (assignment_expression "puVar11 = PTR_00023064 + 0x2330" identifier = (binary_expression "PTR_00023064 + 0x2330" identifier + number_literal)) ;) (expression_statement "puVar5 = PTR_00023064 + 0x2324;" (assignment_expression "puVar5 = PTR_00023064 + 0x2324" identifier = (binary_expression "PTR_00023064 + 0x2324" identifier + number_literal)) ;) (expression_statement "puVar16 = PTR_00023064 + 0x2320;" (assignment_expression "puVar16 = PTR_00023064 + 0x2320" identifier = (binary_expression "PTR_00023064 + 0x2320" identifier + number_literal)) ;) (do_statement "do {\n        iVar15 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);\n        uVar8 = *puVar13;\n        if (uVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }\n        bVar1 = iVar15 == 7;\n        iVar15 = iVar15 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar15 != 0x10) {\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        puVar13 = puVar13 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);" do (compound_statement "{\n        iVar15 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);\n        uVar8 = *puVar13;\n        if (uVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }\n        bVar1 = iVar15 == 7;\n        iVar15 = iVar15 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar15 != 0x10) {\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        puVar13 = puVar13 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      }" { (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x2314,iVar6 >> 4)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar10 + 0x2314,iVar6 >> 4)" ( number_literal , (binary_expression "puVar10 + 0x2314" identifier + number_literal) , (binary_expression "iVar6 >> 4" identifier >> number_literal) ))) ;) (expression_statement "uVar8 = *puVar13;" (assignment_expression "uVar8 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (if_statement "if (uVar8 == '\x01') goto LAB_00011564;" if (parenthesized_expression "(uVar8 == '\x01')" ( (binary_expression "uVar8 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_00011564;" goto statement_identifier ;)) (labeled_statement "LAB_0001150c:\n        if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }" statement_identifier : (if_statement "if (uVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }\n        else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }" if (parenthesized_expression "(uVar8 == '\0')" ( (binary_expression "uVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar16);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar16);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar16)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar16)" ( number_literal , identifier ))) ;) }) (else_clause "else if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }" else (if_statement "if (uVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }\n        else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }" if (parenthesized_expression "(uVar8 == '\x02')" ( (binary_expression "uVar8 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 9000)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar10 + 9000)" ( number_literal , (binary_expression "puVar10 + 9000" identifier + number_literal) ))) ;) }) (else_clause "else if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }" else (if_statement "if (uVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }" if (parenthesized_expression "(uVar8 == '\x03')" ( (binary_expression "uVar8 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar10 + 0x232c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar10 + 0x232c)" ( number_literal , (binary_expression "puVar10 + 0x232c" identifier + number_literal) ))) ;) }) (else_clause "else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }" else (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar11);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar11);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar11)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar11)" ( number_literal , identifier ))) ;) })))))))) (expression_statement "bVar1 = iVar15 == 7;" (assignment_expression "bVar1 = iVar15 == 7" identifier = (binary_expression "iVar15 == 7" identifier == number_literal)) ;) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) goto LAB_00011584;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00011584;" goto statement_identifier ;)) (while_statement "while (iVar15 != 0x10) {\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }" while (parenthesized_expression "(iVar15 != 0x10)" ( (binary_expression "iVar15 != 0x10" identifier != number_literal) )) (compound_statement "{\n          while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }" { (while_statement "while( true ) {\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            uVar8 = puVar13[iVar15];\n            if (uVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar17 = iVar15 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar15 != 7;\n            iVar15 = iVar17;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }" { (expression_statement "uVar8 = puVar13[iVar15];" (assignment_expression "uVar8 = puVar13[iVar15]" identifier = (subscript_expression "puVar13[iVar15]" identifier [ identifier ])) ;) (if_statement "if (uVar8 != '\x01') goto LAB_0001150c;" if (parenthesized_expression "(uVar8 != '\x01')" ( (binary_expression "uVar8 != '\x01'" identifier != (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_0001150c;" goto statement_identifier ;)) (labeled_statement "LAB_00011564:\n            iVar17 = iVar15 + 1;" statement_identifier : (expression_statement "iVar17 = iVar15 + 1;" (assignment_expression "iVar17 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;)) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar5);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar5)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar5)" ( number_literal , identifier ))) ;) (expression_statement "bVar1 = iVar15 != 7;" (assignment_expression "bVar1 = iVar15 != 7" identifier = (binary_expression "iVar15 != 7" identifier != number_literal)) ;) (expression_statement "iVar15 = iVar17;" (assignment_expression "iVar15 = iVar17" identifier = identifier) ;) (if_statement "if (bVar1) break;" if (parenthesized_expression "(bVar1)" ( identifier )) (break_statement "break;" break ;)) (labeled_statement "LAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);" statement_identifier : (expression_statement "(*(code *)PTR_putchar_000230b0)(0x20);" (call_expression "(*(code *)PTR_putchar_000230b0)(0x20)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x20)" ( number_literal ))) ;)) })) })) (expression_statement "iVar6 = iVar6 + 0x10;" (assignment_expression "iVar6 = iVar6 + 0x10" identifier = (binary_expression "iVar6 + 0x10" identifier + number_literal)) ;) (expression_statement "puVar13 = puVar13 + 0x10;" (assignment_expression "puVar13 = puVar13 + 0x10" identifier = (binary_expression "puVar13 + 0x10" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) }) while (parenthesized_expression "(iVar6 < local_1094)" ( (binary_expression "iVar6 < local_1094" identifier < identifier) )) ;) (expression_statement "unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" identifier = (cast_expression "(char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" * (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier ))))) ;) (if_statement "if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }" if (parenthesized_expression "((int)unaff_s1 < 0)" ( (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }" { (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-(int)unaff_s1)" ( (unary_expression "-(int)unaff_s1" - (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" ( (binary_expression "PTR_00023064 + 0x23f0" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010f64;" goto statement_identifier ;) })) (if_statement "if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar12 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }" if (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) == 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) == 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        iVar12 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);" (assignment_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0)" identifier = (call_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)" ( (pointer_expression "*(code *)PTR_sg_if_can2stderr_000230bc" * (cast_expression "(code *)PTR_sg_if_can2stderr_000230bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2404,0)" ( (binary_expression "PTR_00023064 + 0x2404" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar6 == 0) goto LAB_00010e64;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00010e64;" goto statement_identifier ;)) })) (goto_statement "goto LAB_00010cf8;" goto statement_identifier ;) })) })) (labeled_statement "LAB_00010cdc:\n  iVar12 = 1;" statement_identifier : (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1dbc)" ( (binary_expression "PTR_00023064 + 0x1dbc" identifier + number_literal) ))) ;) (labeled_statement "LAB_00010cf8:\n  while (iVar9 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar12 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar12 == 0) {\nLAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar12 < 0) {\n      iVar12 = 99;\n    }\n  }" statement_identifier : (while_statement "while (iVar9 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar12 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar12 == 0) {\nLAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar12 < 0) {\n      iVar12 = 99;\n    }\n  }" while (parenthesized_expression "(iVar9 != *(int *)puVar3)" ( (binary_expression "iVar9 != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar12 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar12 == 0) {\nLAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar12 < 0) {\n      iVar12 = 99;\n    }\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_000230dc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000230dc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000230dc)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000230dc" * (cast_expression "(code *)PTR___stack_chk_fail_000230dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_000118b4:\n    iVar12 = -1;" statement_identifier : (expression_statement "iVar12 = -1;" (assignment_expression "iVar12 = -1" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2040)" ( (binary_expression "PTR_00023064 + 0x2040" identifier + number_literal) ))) ;) (labeled_statement "LAB_00010f20:\n    unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" statement_identifier : (expression_statement "unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "unaff_s1 = (char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" identifier = (cast_expression "(char **)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" * (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier ))))) ;)) (if_statement "if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar12 == 0) {\nLAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }" if (parenthesized_expression "((int)unaff_s1 < 0)" ( (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar12 == 0) {\nLAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }" { (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-(int)unaff_s1)" ( (unary_expression "-(int)unaff_s1" - (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" ( (binary_expression "PTR_00023064 + 0x23f0" identifier + number_literal) , identifier ))) ;) (if_statement "if (iVar12 == 0) {\nLAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }" { (labeled_statement "LAB_00010f64:\n        iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" statement_identifier : (expression_statement "iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" (assignment_expression "iVar12 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000230a8)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_000230a8" * (cast_expression "(code *)PTR_sg_convert_errno_000230a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;)) })) })) (labeled_statement "LAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" statement_identifier : (if_statement "if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" if (parenthesized_expression "((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0))" ( (binary_expression "(*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0)" (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) == 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) == 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0)" ( (comma_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12), iVar6 == 0" (assignment_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12)" identifier = (call_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar12)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)" ( (pointer_expression "*(code *)PTR_sg_if_can2stderr_000230bc" * (cast_expression "(code *)PTR_sg_if_can2stderr_000230bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2404,iVar12)" ( (binary_expression "PTR_00023064 + 0x2404" identifier + number_literal) , identifier )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" { (labeled_statement "LAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);" statement_identifier : (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2418)" ( (binary_expression "PTR_00023064 + 0x2418" identifier + number_literal) ))) ;)) }))) (if_statement "if (iVar12 < 0) {\n      iVar12 = 99;\n    }" if (parenthesized_expression "(iVar12 < 0)" ( (binary_expression "iVar12 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar12 = 99;\n    }" { (expression_statement "iVar12 = 99;" (assignment_expression "iVar12 = 99" identifier = number_literal) ;) })) }))) (return_statement "return iVar12;" return identifier ;) })))
(translation_unit "int main(int param_1,int param_2)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  char cVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  char *unaff_s0;\n  undefined4 *unaff_s1;\n  int iVar11;\n  char *pcVar12;\n  int iVar13;\n  undefined *puVar14;\n  undefined1 *puVar15;\n  int iVar16;\n  undefined *puVar17;\n  code *pcVar18;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int local_1080;\n  undefined1 auStack_107c [80];\n  uint local_102c;\n  uint local_1028;\n  undefined1 auStack_1026 [2];\n  undefined4 local_1024;\n  undefined2 local_1020 [13];\n  char acStack_1006 [12];\n  undefined2 local_ffa;\n  undefined1 auStack_ff8 [4044];\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar10 = PTR_00023064;\n  puVar9 = PTR_DAT_00023058;\n  local_2c = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar11 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }\n  return iVar11;\n}\n\n" (function_definition "int main(int param_1,int param_2)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  char cVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  char *unaff_s0;\n  undefined4 *unaff_s1;\n  int iVar11;\n  char *pcVar12;\n  int iVar13;\n  undefined *puVar14;\n  undefined1 *puVar15;\n  int iVar16;\n  undefined *puVar17;\n  code *pcVar18;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int local_1080;\n  undefined1 auStack_107c [80];\n  uint local_102c;\n  uint local_1028;\n  undefined1 auStack_1026 [2];\n  undefined4 local_1024;\n  undefined2 local_1020 [13];\n  char acStack_1006 [12];\n  undefined2 local_ffa;\n  undefined1 auStack_ff8 [4044];\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar10 = PTR_00023064;\n  puVar9 = PTR_DAT_00023058;\n  local_2c = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar11 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }\n  return iVar11;\n}" primitive_type (function_declarator "main(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  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  char cVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  char *unaff_s0;\n  undefined4 *unaff_s1;\n  int iVar11;\n  char *pcVar12;\n  int iVar13;\n  undefined *puVar14;\n  undefined1 *puVar15;\n  int iVar16;\n  undefined *puVar17;\n  code *pcVar18;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int local_1080;\n  undefined1 auStack_107c [80];\n  uint local_102c;\n  uint local_1028;\n  undefined1 auStack_1026 [2];\n  undefined4 local_1024;\n  undefined2 local_1020 [13];\n  char acStack_1006 [12];\n  undefined2 local_ffa;\n  undefined1 auStack_ff8 [4044];\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar10 = PTR_00023064;\n  puVar9 = PTR_DAT_00023058;\n  local_2c = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar11 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }\n  return iVar11;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "char *unaff_s0;" primitive_type (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "undefined4 *unaff_s1;" type_identifier (pointer_declarator "*unaff_s1" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined1 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "undefined *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "code *pcVar18;" type_identifier (pointer_declarator "*pcVar18" * identifier) ;) (declaration "char *local_10a0;" primitive_type (pointer_declarator "*local_10a0" * identifier) ;) (declaration "int local_1094;" primitive_type identifier ;) (declaration "int local_108c;" primitive_type identifier ;) (declaration "int local_1080;" primitive_type identifier ;) (declaration "undefined1 auStack_107c [80];" type_identifier (array_declarator "auStack_107c [80]" identifier [ number_literal ]) ;) (declaration "uint local_102c;" type_identifier identifier ;) (declaration "uint local_1028;" type_identifier identifier ;) (declaration "undefined1 auStack_1026 [2];" type_identifier (array_declarator "auStack_1026 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_1024;" type_identifier identifier ;) (declaration "undefined2 local_1020 [13];" type_identifier (array_declarator "local_1020 [13]" identifier [ number_literal ]) ;) (declaration "char acStack_1006 [12];" primitive_type (array_declarator "acStack_1006 [12]" identifier [ number_literal ]) ;) (declaration "undefined2 local_ffa;" type_identifier identifier ;) (declaration "undefined1 auStack_ff8 [4044];" type_identifier (array_declarator "auStack_ff8 [4044]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_000230e4;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000230e4" identifier = identifier) ;) (expression_statement "puVar10 = PTR_00023064;" (assignment_expression "puVar10 = PTR_00023064" identifier = identifier) ;) (expression_statement "puVar9 = PTR_DAT_00023058;" (assignment_expression "puVar9 = PTR_DAT_00023058" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000230e4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000230e4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000230e4" * (cast_expression "(int *)PTR___stack_chk_guard_000230e4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }" if (parenthesized_expression "(1 < param_1)" ( (binary_expression "1 < param_1" number_literal < identifier) )) (compound_statement "{\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }" { (expression_statement "local_1094 = -1;" (assignment_expression "local_1094 = -1" identifier = number_literal) ;) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "puVar14 = PTR_00023064 + 0x1f94;" (assignment_expression "puVar14 = PTR_00023064 + 0x1f94" identifier = (binary_expression "PTR_00023064 + 0x1f94" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_00023064 + 0x1f98;" (assignment_expression "puVar17 = PTR_00023064 + 0x1f98" identifier = (binary_expression "PTR_00023064 + 0x1f98" identifier + number_literal)) ;) (expression_statement "local_10a0 = (char *)0x0;" (assignment_expression "local_10a0 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_108c = 0;" (assignment_expression "local_108c = 0" identifier = number_literal) ;) (expression_statement "puVar5 = PTR_00023064 + 0x1fa0;" (assignment_expression "puVar5 = PTR_00023064 + 0x1fa0" identifier = (binary_expression "PTR_00023064 + 0x1fa0" identifier + number_literal)) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "puVar4 = (undefined4 *)(param_2 + 4);" (assignment_expression "puVar4 = (undefined4 *)(param_2 + 4)" identifier = (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) ;) (do_statement "do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);" do (compound_statement "{\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    }" { (while_statement "while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }" { (expression_statement "unaff_s1 = puVar4;" (assignment_expression "unaff_s1 = puVar4" identifier = identifier) ;) (expression_statement "unaff_s0 = (char *)*unaff_s1;" (assignment_expression "unaff_s0 = (char *)*unaff_s1" identifier = (cast_expression "(char *)*unaff_s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_s1" * identifier))) ;) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar10 + 0x1f90)" ( identifier , (binary_expression "puVar10 + 0x1f90" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) break;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "*(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;" (assignment_expression "*(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1" (pointer_expression "*(int *)(puVar9 + 0x3110)" * (cast_expression "(int *)(puVar9 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x3110)" ( (binary_expression "puVar9 + 0x3110" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar9 + 0x3110) + 1" (pointer_expression "*(int *)(puVar9 + 0x3110)" * (cast_expression "(int *)(puVar9 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x3110)" ( (binary_expression "puVar9 + 0x3110" identifier + number_literal) )))) + number_literal)) ;) (labeled_statement "LAB_00010ac8:\n        iVar11 = iVar11 + 1;" statement_identifier : (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;)) (expression_statement "puVar4 = unaff_s1 + 1;" (assignment_expression "puVar4 = unaff_s1 + 1" identifier = (binary_expression "unaff_s1 + 1" identifier + number_literal)) ;) (if_statement "if (param_1 == iVar11) goto LAB_00010b80;" if (parenthesized_expression "(param_1 == iVar11)" ( (binary_expression "param_1 == iVar11" identifier == identifier) )) (goto_statement "goto LAB_00010b80;" goto statement_identifier ;)) })) (expression_statement "iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);" (assignment_expression "iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3)" identifier = (call_expression "(*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3)" (parenthesized_expression "(*(code *)PTR_strncmp_0002308c)" ( (pointer_expression "*(code *)PTR_strncmp_0002308c" * (cast_expression "(code *)PTR_strncmp_0002308c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar14,3)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }" { (expression_statement "local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);" (assignment_expression "local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0)" identifier = (call_expression "(*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0)" (parenthesized_expression "(*(code *)PTR_strtoul_000230c8)" ( (pointer_expression "*(code *)PTR_strtoul_000230c8" * (cast_expression "(code *)PTR_strtoul_000230c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0 + 3,0,0)" ( (binary_expression "unaff_s0 + 3" identifier + number_literal) , number_literal , number_literal )))) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (goto_statement "goto LAB_00010ac8;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar17)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (goto_statement "goto LAB_00010ac8;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar10 + 0x1f9c)" ( identifier , (binary_expression "puVar10 + 0x1f9c" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }" { (expression_statement "local_108c = 1;" (assignment_expression "local_108c = 1" identifier = number_literal) ;) (goto_statement "goto LAB_00010ac8;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5)" identifier = (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" ( (pointer_expression "*(code *)PTR_strcmp_000230f0" * (cast_expression "(code *)PTR_strcmp_000230f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,puVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4)" ( (binary_expression "PTR_00023064 + 0x1fb4" identifier + number_literal) , (binary_expression "PTR_00023064 + 0x1fa4" identifier + number_literal) ))) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00010cf8;" goto statement_identifier ;) })) (if_statement "if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }" if (parenthesized_expression "(*unaff_s0 == '-')" ( (binary_expression "*unaff_s0 == '-'" (pointer_expression "*unaff_s0" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1fcc,unaff_s0)" ( (binary_expression "PTR_00023064 + 0x1fcc" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010cdc;" goto statement_identifier ;) })) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (if_statement "if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }" if (parenthesized_expression "(local_10a0 != (char *)0x0)" ( (binary_expression "local_10a0 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1fe8)" ( (binary_expression "PTR_00023064 + 0x1fe8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010cdc;" goto statement_identifier ;) })) (expression_statement "puVar4 = unaff_s1 + 1;" (assignment_expression "puVar4 = unaff_s1 + 1" identifier = (binary_expression "unaff_s1 + 1" identifier + number_literal)) ;) (expression_statement "local_10a0 = unaff_s0;" (assignment_expression "local_10a0 = unaff_s0" identifier = identifier) ;) }) while (parenthesized_expression "(param_1 != iVar11)" ( (binary_expression "param_1 != iVar11" identifier != identifier) )) ;) (labeled_statement "LAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;" statement_identifier : (expression_statement "unaff_s0 = PTR_DAT_00023058;" (assignment_expression "unaff_s0 = PTR_DAT_00023058" identifier = identifier) ;)) (expression_statement "unaff_s1 = unaff_s1 + 1;" (assignment_expression "unaff_s1 = unaff_s1 + 1" identifier = (binary_expression "unaff_s1 + 1" identifier + number_literal)) ;) (if_statement "if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }" if (parenthesized_expression "(local_10a0 != (char *)0x0)" ( (binary_expression "local_10a0 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }" { (expression_statement "unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));" (assignment_expression "unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" identifier = (cast_expression "(undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00023090)" ( (pointer_expression "*(code *)PTR_sg_cmds_open_device_00023090" * (cast_expression "(code *)PTR_sg_cmds_open_device_00023090" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(PTR_DAT_00023058 + 0x3110)" * (cast_expression "(undefined4 *)(PTR_DAT_00023058 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00023058 + 0x3110)" ( (binary_expression "PTR_DAT_00023058 + 0x3110" identifier + number_literal) )))) ))))) ;) (if_statement "if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }" if (parenthesized_expression "((int)unaff_s1 < 0)" ( (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }" { (expression_statement "unaff_s1 = (undefined4 *)-(int)unaff_s1;" (assignment_expression "unaff_s1 = (undefined4 *)-(int)unaff_s1" identifier = (cast_expression "(undefined4 *)-(int)unaff_s1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (unary_expression "-(int)unaff_s1" - (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1ffc,local_10a0,uVar7)" ( (binary_expression "PTR_00023064 + 0x1ffc" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1dbc)" ( (binary_expression "PTR_00023064 + 0x1dbc" identifier + number_literal) ))) ;) (expression_statement "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" (assignment_expression "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000230a8)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_000230a8" * (cast_expression "(code *)PTR_sg_convert_errno_000230a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;) (goto_statement "goto LAB_00010c68;" goto statement_identifier ;) })) (if_statement "if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }" { (expression_statement "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_102c,0,0x134)" ( (pointer_expression "&local_102c" & identifier) , number_literal , number_literal ))) ;) (expression_statement "iVar11 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar11 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (if_statement "if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }" { (expression_statement "acStack_1006[7] = 1;" (assignment_expression "acStack_1006[7] = 1" (subscript_expression "acStack_1006[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_102c = *(uint *)PTR_mode10_hdr_00023068;" (assignment_expression "local_102c = *(uint *)PTR_mode10_hdr_00023068" identifier = (pointer_expression "*(uint *)PTR_mode10_hdr_00023068" * (cast_expression "(uint *)PTR_mode10_hdr_00023068" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_1024 = 0x6c010128;" (assignment_expression "local_1024 = 0x6c010128" identifier = number_literal) ;) (expression_statement "acStack_1006[10] = '\n';" (assignment_expression "acStack_1006[10] = '\n'" (subscript_expression "acStack_1006[10]" identifier [ number_literal ]) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "acStack_1006[0xb] = '\x02';" (assignment_expression "acStack_1006[0xb] = '\x02'" (subscript_expression "acStack_1006[0xb]" identifier [ number_literal ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (expression_statement "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);" (assignment_expression "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4)" identifier = (pointer_expression "*(uint *)(PTR_mode10_hdr_00023068 + 4)" * (cast_expression "(uint *)(PTR_mode10_hdr_00023068 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mode10_hdr_00023068 + 4)" ( (binary_expression "PTR_mode10_hdr_00023068 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar11 = 2;\n          }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x134;" (assignment_expression "uVar7 = 0x134" identifier = number_literal) ;) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select10_000230ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" else (compound_statement "{\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" { (expression_statement "local_1020[0] = 0x2c68;" (assignment_expression "local_1020[0] = 0x2c68" (subscript_expression "local_1020[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "acStack_1006[9] = 1;" (assignment_expression "acStack_1006[9] = 1" (subscript_expression "acStack_1006[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_ffa = 0xa02;" (assignment_expression "local_ffa = 0xa02" identifier = number_literal) ;) (expression_statement "local_102c = *(uint *)PTR_mode6_hdr_00023070;" (assignment_expression "local_102c = *(uint *)PTR_mode6_hdr_00023070" identifier = (pointer_expression "*(uint *)PTR_mode6_hdr_00023070" * (cast_expression "(uint *)PTR_mode6_hdr_00023070" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_1028 = *(uint *)PTR_block_descriptor_0002306c;" (assignment_expression "local_1028 = *(uint *)PTR_block_descriptor_0002306c" identifier = (pointer_expression "*(uint *)PTR_block_descriptor_0002306c" * (cast_expression "(uint *)PTR_block_descriptor_0002306c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);" (assignment_expression "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4)" identifier = (pointer_expression "*(undefined4 *)(PTR_block_descriptor_0002306c + 4)" * (cast_expression "(undefined4 *)(PTR_block_descriptor_0002306c + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_block_descriptor_0002306c + 4)" ( (binary_expression "PTR_block_descriptor_0002306c + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar11 = 2;\n          }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x76;" (assignment_expression "uVar7 = 0x76" identifier = number_literal) ;) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select6_000230d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);" (assignment_expression "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" identifier = (call_expression "(*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" (parenthesized_expression "(*pcVar18)" ( (pointer_expression "*pcVar18" * identifier) )) (argument_list "(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" ( identifier , number_literal , number_literal , (pointer_expression "&local_102c" & identifier) , identifier , number_literal , identifier )))) ;) (expression_statement "iVar6 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar6 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11,0x50,auStack_107c)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2028,auStack_107c)" ( (binary_expression "PTR_00023064 + 0x2028" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (labeled_statement "LAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;" statement_identifier : (if_statement "if (iVar6 == 0) goto LAB_00010f20;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;))) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2010)" ( (binary_expression "PTR_00023064 + 0x2010" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (if_statement "if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }" { (if_statement "if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }" { (if_statement "if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }" if (parenthesized_expression "(0xff < local_1094)" ( (binary_expression "0xff < local_1094" number_literal < identifier) )) (compound_statement "{\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }" { (expression_statement "iVar11 = -1;" (assignment_expression "iVar11 = -1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x206c)" ( (binary_expression "PTR_00023064 + 0x206c" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_102c,0,0x134)" ( (pointer_expression "&local_102c" & identifier) , number_literal , number_literal ))) ;) (expression_statement "local_1024 = 0x6c010128;" (assignment_expression "local_1024 = 0x6c010128" identifier = number_literal) ;) (expression_statement "local_102c = *(uint *)PTR_mode10_hdr_00023068;" (assignment_expression "local_102c = *(uint *)PTR_mode10_hdr_00023068" identifier = (pointer_expression "*(uint *)PTR_mode10_hdr_00023068" * (cast_expression "(uint *)PTR_mode10_hdr_00023068" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);" (assignment_expression "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4)" identifier = (pointer_expression "*(uint *)(PTR_mode10_hdr_00023068 + 4)" * (cast_expression "(uint *)(PTR_mode10_hdr_00023068 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mode10_hdr_00023068 + 4)" ( (binary_expression "PTR_mode10_hdr_00023068 + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_ffa,0,0x100)" ( (pointer_expression "&local_ffa" & identifier) , number_literal , number_literal ))) ;) (expression_statement "iVar11 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar11 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (expression_statement "auStack_ff8[local_1094 + -2] = 0x81;" (assignment_expression "auStack_ff8[local_1094 + -2] = 0x81" (subscript_expression "auStack_ff8[local_1094 + -2]" identifier [ (binary_expression "local_1094 + -2" identifier + number_literal) ]) = number_literal) ;) (expression_statement "acStack_1006[7] = 2;" (assignment_expression "acStack_1006[7] = 2" (subscript_expression "acStack_1006[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "acStack_1006[10] = '\n';" (assignment_expression "acStack_1006[10] = '\n'" (subscript_expression "acStack_1006[10]" identifier [ number_literal ]) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "acStack_1006[0xb] = '\x02';" (assignment_expression "acStack_1006[0xb] = '\x02'" (subscript_expression "acStack_1006[0xb]" identifier [ number_literal ]) = (char_literal "'\x02'" ' escape_sequence ')) ;) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar11 = 2;\n          }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x134;" (assignment_expression "uVar7 = 0x134" identifier = number_literal) ;) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select10_000230ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" else (compound_statement "{\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" { (if_statement "if (0x1f < local_1094) goto LAB_000118b4;" if (parenthesized_expression "(0x1f < local_1094)" ( (binary_expression "0x1f < local_1094" number_literal < identifier) )) (goto_statement "goto LAB_000118b4;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_102c,0,0x134)" ( (pointer_expression "&local_102c" & identifier) , number_literal , number_literal ))) ;) (expression_statement "local_1020[0] = 0x2c68;" (assignment_expression "local_1020[0] = 0x2c68" (subscript_expression "local_1020[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_1028 = *(uint *)PTR_block_descriptor_0002306c;" (assignment_expression "local_1028 = *(uint *)PTR_block_descriptor_0002306c" identifier = (pointer_expression "*(uint *)PTR_block_descriptor_0002306c" * (cast_expression "(uint *)PTR_block_descriptor_0002306c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_102c = *(uint *)PTR_mode6_hdr_00023070;" (assignment_expression "local_102c = *(uint *)PTR_mode6_hdr_00023070" identifier = (pointer_expression "*(uint *)PTR_mode6_hdr_00023070" * (cast_expression "(uint *)PTR_mode6_hdr_00023070" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);" (assignment_expression "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4)" identifier = (pointer_expression "*(undefined4 *)(PTR_block_descriptor_0002306c + 4)" * (cast_expression "(undefined4 *)(PTR_block_descriptor_0002306c + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_block_descriptor_0002306c + 4)" ( (binary_expression "PTR_block_descriptor_0002306c + 4" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);" (call_expression "(*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" ( (pointer_expression "*(code *)PTR_memset_000230b4" * (cast_expression "(code *)PTR_memset_000230b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_ff8,0,0x20)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "iVar11 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar11 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (expression_statement "auStack_ff8[local_1094] = 0x81;" (assignment_expression "auStack_ff8[local_1094] = 0x81" (subscript_expression "auStack_ff8[local_1094]" identifier [ identifier ]) = number_literal) ;) (expression_statement "acStack_1006[9] = 2;" (assignment_expression "acStack_1006[9] = 2" (subscript_expression "acStack_1006[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_ffa = 0xa02;" (assignment_expression "local_ffa = 0xa02" identifier = number_literal) ;) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar11 = 2;\n          }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) })) (expression_statement "uVar7 = 0x76;" (assignment_expression "uVar7 = 0x76" identifier = number_literal) ;) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4" identifier = (cast_expression "(code *)PTR_sg_ll_mode_select6_000230d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);" (assignment_expression "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" identifier = (call_expression "(*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" (parenthesized_expression "(*pcVar18)" ( (pointer_expression "*pcVar18" * identifier) )) (argument_list "(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" ( identifier , number_literal , number_literal , (pointer_expression "&local_102c" & identifier) , identifier , number_literal , identifier )))) ;) (expression_statement "iVar6 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar6 = *(int *)(unaff_s0 + 0x3110)" identifier = (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) ))))) ;) (if_statement "if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11,0x50,auStack_107c)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2084,local_1094,auStack_107c)" ( (binary_expression "PTR_00023064 + 0x2084" identifier + number_literal) , identifier , identifier ))) ;) (goto_statement "goto LAB_00010f20;" goto statement_identifier ;) })) (goto_statement "goto LAB_00010f18;" goto statement_identifier ;) })) (expression_statement "local_1080 = 0;" (assignment_expression "local_1080 = 0" identifier = number_literal) ;) (if_statement "if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" { (expression_statement "iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));" (assignment_expression "iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" identifier = (call_expression "(*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)" ( (pointer_expression "*(code *)PTR_sg_ll_mode_sense10_v2_000230b8" * (cast_expression "(code *)PTR_sg_ll_mode_sense10_v2_000230b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" ( identifier , number_literal , number_literal , number_literal , number_literal , number_literal , (pointer_expression "&local_102c" & identifier) , number_literal , number_literal , (pointer_expression "&local_1080" & identifier) , number_literal , (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" else (compound_statement "{\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" { (expression_statement "iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));" (assignment_expression "iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" identifier = (call_expression "(*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_ll_mode_sense6_000230c4)" ( (pointer_expression "*(code *)PTR_sg_ll_mode_sense6_000230c4" * (cast_expression "(code *)PTR_sg_ll_mode_sense6_000230c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" ( identifier , number_literal , number_literal , number_literal , number_literal , (pointer_expression "&local_102c" & identifier) , number_literal , number_literal , (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) )))) ;) }))) (if_statement "if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }" { (if_statement "if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" if (parenthesized_expression "(iVar11 == 9)" ( (binary_expression "iVar11 == 9" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2334)" ( (binary_expression "PTR_00023064 + 0x2334" identifier + number_literal) ))) ;) }) (else_clause "else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" else (if_statement "if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" if (parenthesized_expression "(iVar11 == 5)" ( (binary_expression "iVar11 == 5" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2380)" ( (binary_expression "PTR_00023064 + 0x2380" identifier + number_literal) ))) ;) }) (else_clause "else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" else (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110))" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23d8,auStack_107c)" ( (binary_expression "PTR_00023064 + 0x23d8" identifier + number_literal) , identifier ))) ;) }))))) (expression_statement "iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" * (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;) (if_statement "if (-1 < iVar6) goto LAB_00010c68;" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (goto_statement "goto LAB_00010c68;" goto statement_identifier ;)) (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-iVar6)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar6)" ( (unary_expression "-iVar6" - identifier) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" ( (binary_expression "PTR_00023064 + 0x23f0" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010c68;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);" (assignment_expression "iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0)" identifier = (call_expression "(*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0)" (parenthesized_expression "(*(code *)PTR_sg_msense_calc_length_000230a0)" ( (pointer_expression "*(code *)PTR_sg_msense_calc_length_000230a0" * (cast_expression "(code *)PTR_sg_msense_calc_length_000230a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_102c,0x134,local_108c,0)" ( (pointer_expression "&local_102c" & identifier) , number_literal , identifier , number_literal )))) ;) (if_statement "if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" if (parenthesized_expression "(local_1080 < 1)" ( (binary_expression "local_1080 < 1" identifier < number_literal) )) (compound_statement "{\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }" { (if_statement "if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }" if (parenthesized_expression "((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6))" ( (binary_expression "(*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)" (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) != 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(1 < iVar6)" ( (binary_expression "1 < iVar6" number_literal < identifier) ))) )) (compound_statement "{\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }" { (labeled_statement "LAB_00011344:\n          iVar13 = 0x10;" statement_identifier : (expression_statement "iVar13 = 0x10;" (assignment_expression "iVar13 = 0x10" identifier = number_literal) ;)) (expression_statement "local_10a0 = (char *)0x0;" (assignment_expression "local_10a0 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar9 = PTR_00023064 + 0x20d0;" (assignment_expression "puVar9 = PTR_00023064 + 0x20d0" identifier = (binary_expression "PTR_00023064 + 0x20d0" identifier + number_literal)) ;) (expression_statement "puVar10 = PTR_00023064 + 0x20d4;" (assignment_expression "puVar10 = PTR_00023064 + 0x20d4" identifier = (binary_expression "PTR_00023064 + 0x20d4" identifier + number_literal)) ;) (do_statement "do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);" do (compound_statement "{\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          }" { (expression_statement "puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);" (assignment_expression "puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0)" identifier = (cast_expression "(undefined1 *)((int)&local_102c + (int)local_10a0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_102c + (int)local_10a0)" ( (binary_expression "(int)&local_102c + (int)local_10a0" (cast_expression "(int)&local_102c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_102c" & identifier)) + (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar9,(int)local_10a0 >> 4)" ( number_literal , identifier , (binary_expression "(int)local_10a0 >> 4" (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) ;) (expression_statement "pcVar12 = local_10a0;" (assignment_expression "pcVar12 = local_10a0" identifier = identifier) ;) (do_statement "do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);" do (compound_statement "{\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar10,*puVar15)" ( number_literal , identifier , (pointer_expression "*puVar15" * identifier) ))) ;) (if_statement "if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }" if (parenthesized_expression "(iVar6 <= (int)pcVar12)" ( (binary_expression "iVar6 <= (int)pcVar12" identifier <= (cast_expression "(int)pcVar12" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }" { (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (break_statement "break;" break ;) })) (expression_statement "pcVar12 = (char *)((int)pcVar12 + 1);" (assignment_expression "pcVar12 = (char *)((int)pcVar12 + 1)" identifier = (cast_expression "(char *)((int)pcVar12 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar12 + 1)" ( (binary_expression "(int)pcVar12 + 1" (cast_expression "(int)pcVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar15 = puVar15 + 1;" (assignment_expression "puVar15 = puVar15 + 1" identifier = (binary_expression "puVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((char *)iVar13 != pcVar12)" ( (binary_expression "(char *)iVar13 != pcVar12" (cast_expression "(char *)iVar13" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) != identifier) )) ;) (expression_statement "iVar13 = iVar13 + 0x10;" (assignment_expression "iVar13 = iVar13 + 0x10" identifier = (binary_expression "iVar13 + 0x10" identifier + number_literal)) ;) (expression_statement "local_10a0 = (char *)((int)local_10a0 + 0x10);" (assignment_expression "local_10a0 = (char *)((int)local_10a0 + 0x10)" identifier = (cast_expression "(char *)((int)local_10a0 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_10a0 + 0x10)" ( (binary_expression "(int)local_10a0 + 0x10" (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) }) while (parenthesized_expression "((int)local_10a0 < iVar6)" ( (binary_expression "(int)local_10a0 < iVar6" (cast_expression "(int)local_10a0" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) }) (else_clause "else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" else (compound_statement "{\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" { (if_statement "if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }" if (parenthesized_expression "(0x134 - local_1080 < iVar6)" ( (binary_expression "0x134 - local_1080 < iVar6" (binary_expression "0x134 - local_1080" number_literal - identifier) < identifier) )) (compound_statement "{\n          iVar6 = 0x134 - local_1080;\n        }" { (expression_statement "iVar6 = 0x134 - local_1080;" (assignment_expression "iVar6 = 0x134 - local_1080" identifier = (binary_expression "0x134 - local_1080" number_literal - identifier)) ;) })) (if_statement "if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" if (parenthesized_expression "(iVar6 < 2)" ( (binary_expression "iVar6 < 2" identifier < number_literal) )) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }" { (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x20ac)" ( (binary_expression "PTR_00023064 + 0x20ac" identifier + number_literal) ))) ;) }) (else_clause "else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" else (if_statement "if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" if (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) != 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00011344;" goto statement_identifier ;)))) }))) (if_statement "if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }" if (parenthesized_expression "(local_108c == 0)" ( (binary_expression "local_108c == 0" identifier == number_literal) )) (compound_statement "{\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }" { (expression_statement "local_1094 = 0x100;" (assignment_expression "local_1094 = 0x100" identifier = number_literal) ;) (expression_statement "puVar9 = PTR_00023064 + 0x1d9c;" (assignment_expression "puVar9 = PTR_00023064 + 0x1d9c" identifier = (binary_expression "PTR_00023064 + 0x1d9c" identifier + number_literal)) ;) (expression_statement "puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));" (assignment_expression "puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff))" identifier = (cast_expression "(undefined1 *)((int)local_1020 + (local_1028 & 0xff))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_1020 + (local_1028 & 0xff))" ( (binary_expression "(int)local_1020 + (local_1028 & 0xff)" (cast_expression "(int)local_1020" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(local_1028 & 0xff)" ( (binary_expression "local_1028 & 0xff" identifier & number_literal) ))) )))) ;) (expression_statement "pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);" (assignment_expression "pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2)" identifier = (binary_expression "auStack_ff8 + ((local_1028 & 0xff) - 2)" identifier + (parenthesized_expression "((local_1028 & 0xff) - 2)" ( (binary_expression "(local_1028 & 0xff) - 2" (parenthesized_expression "(local_1028 & 0xff)" ( (binary_expression "local_1028 & 0xff" identifier & number_literal) )) - number_literal) )))) ;) }) (else_clause "else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }" else (compound_statement "{\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }" { (expression_statement "local_1094 = 0x20;" (assignment_expression "local_1094 = 0x20" identifier = number_literal) ;) (expression_statement "puVar9 = PTR_00023064 + 0x1d94;" (assignment_expression "puVar9 = PTR_00023064 + 0x1d94" identifier = (binary_expression "PTR_00023064 + 0x1d94" identifier + number_literal)) ;) (expression_statement "puVar15 = auStack_1026 + (local_102c & 0xff);" (assignment_expression "puVar15 = auStack_1026 + (local_102c & 0xff)" identifier = (binary_expression "auStack_1026 + (local_102c & 0xff)" identifier + (parenthesized_expression "(local_102c & 0xff)" ( (binary_expression "local_102c & 0xff" identifier & number_literal) )))) ;) (expression_statement "pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;" (assignment_expression "pcVar12 = acStack_1006 + (local_102c & 0xff) + 6" identifier = (binary_expression "acStack_1006 + (local_102c & 0xff) + 6" (binary_expression "acStack_1006 + (local_102c & 0xff)" identifier + (parenthesized_expression "(local_102c & 0xff)" ( (binary_expression "local_102c & 0xff" identifier & number_literal) ))) + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x20dc,puVar9)" ( number_literal , (binary_expression "PTR_00023064 + 0x20dc" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x20ec,puVar15)" ( number_literal , (binary_expression "PTR_00023064 + 0x20ec" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2108,puVar15 + 0x10)" ( number_literal , (binary_expression "PTR_00023064 + 0x2108" identifier + number_literal) , (binary_expression "puVar15 + 0x10" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x212c)" ( number_literal , (binary_expression "PTR_00023064 + 0x212c" identifier + number_literal) ))) ;) (if_statement "if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" if (parenthesized_expression "(puVar15[0x20] == '\0')" ( (binary_expression "puVar15[0x20] == '\0'" (subscript_expression "puVar15[0x20]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2150)" ( number_literal , (binary_expression "PTR_00023064 + 0x2150" identifier + number_literal) ))) ;) }) (else_clause "else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" else (if_statement "if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" if (parenthesized_expression "(puVar15[0x20] == '\x01')" ( (binary_expression "puVar15[0x20] == '\x01'" (subscript_expression "puVar15[0x20]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2174)" ( number_literal , (binary_expression "PTR_00023064 + 0x2174" identifier + number_literal) ))) ;) }) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" else (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2194)" ( number_literal , (binary_expression "PTR_00023064 + 0x2194" identifier + number_literal) ))) ;) }))))) (expression_statement "cVar8 = puVar15[0x21];" (assignment_expression "cVar8 = puVar15[0x21]" identifier = (subscript_expression "puVar15[0x21]" identifier [ number_literal ])) ;) (if_statement "if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" if (parenthesized_expression "(cVar8 == '\x01')" ( (binary_expression "cVar8 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }" { (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x21c4)" ( (binary_expression "PTR_00023064 + 0x21c4" identifier + number_literal) ))) ;) }) (else_clause "else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" else (if_statement "if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }" { (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x21b8)" ( (binary_expression "PTR_00023064 + 0x21b8" identifier + number_literal) ))) ;) }) (else_clause "else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" else (if_statement "if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" if (parenthesized_expression "(cVar8 == '\x02')" ( (binary_expression "cVar8 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }" { (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x21cc)" ( (binary_expression "PTR_00023064 + 0x21cc" identifier + number_literal) ))) ;) }) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" else (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x21e0)" ( number_literal , (binary_expression "PTR_00023064 + 0x21e0" identifier + number_literal) ))) ;) }))))))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x21f8)" ( number_literal , (binary_expression "PTR_00023064 + 0x21f8" identifier + number_literal) ))) ;) (if_statement "if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" if (parenthesized_expression "(puVar15[0x22] == '\0')" ( (binary_expression "puVar15[0x22] == '\0'" (subscript_expression "puVar15[0x22]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2150)" ( number_literal , (binary_expression "PTR_00023064 + 0x2150" identifier + number_literal) ))) ;) }) (else_clause "else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" else (if_statement "if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" if (parenthesized_expression "(puVar15[0x22] == '\x01')" ( (binary_expression "puVar15[0x22] == '\x01'" (subscript_expression "puVar15[0x22]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2174)" ( number_literal , (binary_expression "PTR_00023064 + 0x2174" identifier + number_literal) ))) ;) }) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" else (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x221c)" ( number_literal , (binary_expression "PTR_00023064 + 0x221c" identifier + number_literal) ))) ;) }))))) (if_statement "if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }" if (parenthesized_expression "((byte)puVar15[0x23] < 5)" ( (binary_expression "(byte)puVar15[0x23] < 5" (cast_expression "(byte)puVar15[0x23]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar15[0x23]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }" { (expression_statement "iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();" (assignment_expression "iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           )" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           )" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           )" ( (binary_expression "&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" * (cast_expression "(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" ( (binary_expression "PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460" (binary_expression "PTR_00023064 + (uint)(byte)puVar15[0x23] * 4" identifier + (binary_expression "(uint)(byte)puVar15[0x23] * 4" (cast_expression "(uint)(byte)puVar15[0x23]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)puVar15[0x23]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar15[0x23]" identifier [ number_literal ]))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar11;" return identifier ;) })) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x21e0)" ( number_literal , (binary_expression "PTR_00023064 + 0x21e0" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24])" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2250,puVar15[0x24])" ( number_literal , (binary_expression "PTR_00023064 + 0x2250" identifier + number_literal) , (subscript_expression "puVar15[0x24]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25])" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x226c,puVar15[0x25])" ( number_literal , (binary_expression "PTR_00023064 + 0x226c" identifier + number_literal) , (subscript_expression "puVar15[0x25]" identifier [ number_literal ]) ))) ;) (if_statement "if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }" if (parenthesized_expression "((puVar15[0x25] & 4) == 0)" ( (binary_expression "(puVar15[0x25] & 4) == 0" (parenthesized_expression "(puVar15[0x25] & 4)" ( (binary_expression "puVar15[0x25] & 4" (subscript_expression "puVar15[0x25]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n        puVar9 = PTR_00023064 + 0x1db0;\n      }" { (expression_statement "puVar9 = PTR_00023064 + 0x1db0;" (assignment_expression "puVar9 = PTR_00023064 + 0x1db0" identifier = (binary_expression "PTR_00023064 + 0x1db0" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }" else (compound_statement "{\n        puVar9 = PTR_00023064 + 0x1da8;\n      }" { (expression_statement "puVar9 = PTR_00023064 + 0x1da8;" (assignment_expression "puVar9 = PTR_00023064 + 0x1da8" identifier = (binary_expression "PTR_00023064 + 0x1da8" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2280,puVar9)" ( number_literal , (binary_expression "PTR_00023064 + 0x2280" identifier + number_literal) , identifier ))) ;) (expression_statement "puVar9 = PTR_00023064;" (assignment_expression "puVar9 = PTR_00023064" identifier = identifier) ;) (if_statement "if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" if (parenthesized_expression "((puVar15[0x25] & 2) == 0)" ( (binary_expression "(puVar15[0x25] & 2) == 0" (parenthesized_expression "(puVar15[0x25] & 2)" ( (binary_expression "puVar15[0x25] & 2" (subscript_expression "puVar15[0x25]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n        puVar10 = PTR_00023064 + 0x1db0;\n      }" { (expression_statement "puVar10 = PTR_00023064 + 0x1db0;" (assignment_expression "puVar10 = PTR_00023064 + 0x1db0" identifier = (binary_expression "PTR_00023064 + 0x1db0" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" else (compound_statement "{\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" { (expression_statement "puVar10 = PTR_00023064 + 0x1da8;" (assignment_expression "puVar10 = PTR_00023064 + 0x1da8" identifier = (binary_expression "PTR_00023064 + 0x1da8" identifier + number_literal)) ;) }))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,PTR_00023064 + 0x2290,puVar10)" ( number_literal , (binary_expression "PTR_00023064 + 0x2290" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x22ac)" ( (binary_expression "PTR_00023064 + 0x22ac" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x22e8)" ( (binary_expression "PTR_00023064 + 0x22e8" identifier + number_literal) ))) ;) (expression_statement "puVar10 = PTR_00023064 + 0x2330;" (assignment_expression "puVar10 = PTR_00023064 + 0x2330" identifier = (binary_expression "PTR_00023064 + 0x2330" identifier + number_literal)) ;) (expression_statement "puVar5 = PTR_00023064 + 0x2324;" (assignment_expression "puVar5 = PTR_00023064 + 0x2324" identifier = (binary_expression "PTR_00023064 + 0x2324" identifier + number_literal)) ;) (expression_statement "puVar14 = PTR_00023064 + 0x2320;" (assignment_expression "puVar14 = PTR_00023064 + 0x2320" identifier = (binary_expression "PTR_00023064 + 0x2320" identifier + number_literal)) ;) (do_statement "do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);" do (compound_statement "{\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar9 + 0x2314,iVar6 >> 4)" ( number_literal , (binary_expression "puVar9 + 0x2314" identifier + number_literal) , (binary_expression "iVar6 >> 4" identifier >> number_literal) ))) ;) (expression_statement "cVar8 = *pcVar12;" (assignment_expression "cVar8 = *pcVar12" identifier = (pointer_expression "*pcVar12" * identifier)) ;) (if_statement "if (cVar8 == '\x01') goto LAB_00011564;" if (parenthesized_expression "(cVar8 == '\x01')" ( (binary_expression "cVar8 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_00011564;" goto statement_identifier ;)) (labeled_statement "LAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" statement_identifier : (if_statement "if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar14);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar14)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar14)" ( number_literal , identifier ))) ;) }) (else_clause "else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" else (if_statement "if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" if (parenthesized_expression "(cVar8 == '\x02')" ( (binary_expression "cVar8 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar9 + 9000)" ( number_literal , (binary_expression "puVar9 + 9000" identifier + number_literal) ))) ;) }) (else_clause "else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" else (if_statement "if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" if (parenthesized_expression "(cVar8 == '\x03')" ( (binary_expression "cVar8 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar9 + 0x232c)" ( number_literal , (binary_expression "puVar9 + 0x232c" identifier + number_literal) ))) ;) }) (else_clause "else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" else (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" { (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar10)" ( number_literal , identifier ))) ;) })))))))) (expression_statement "bVar1 = iVar13 == 7;" (assignment_expression "bVar1 = iVar13 == 7" identifier = (binary_expression "iVar13 == 7" identifier == number_literal)) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) goto LAB_00011584;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00011584;" goto statement_identifier ;)) (while_statement "while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }" while (parenthesized_expression "(iVar13 != 0x10)" ( (binary_expression "iVar13 != 0x10" identifier != number_literal) )) (compound_statement "{\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }" { (while_statement "while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }" { (expression_statement "cVar8 = pcVar12[iVar13];" (assignment_expression "cVar8 = pcVar12[iVar13]" identifier = (subscript_expression "pcVar12[iVar13]" identifier [ identifier ])) ;) (if_statement "if (cVar8 != '\x01') goto LAB_0001150c;" if (parenthesized_expression "(cVar8 != '\x01')" ( (binary_expression "cVar8 != '\x01'" identifier != (char_literal "'\x01'" ' escape_sequence ')) )) (goto_statement "goto LAB_0001150c;" goto statement_identifier ;)) (labeled_statement "LAB_00011564:\n            iVar16 = iVar13 + 1;" statement_identifier : (expression_statement "iVar16 = iVar13 + 1;" (assignment_expression "iVar16 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;)) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar5);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar5)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" ( (pointer_expression "*(code *)PTR___printf_chk_000230a4" * (cast_expression "(code *)PTR___printf_chk_000230a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar5)" ( number_literal , identifier ))) ;) (expression_statement "bVar1 = iVar13 != 7;" (assignment_expression "bVar1 = iVar13 != 7" identifier = (binary_expression "iVar13 != 7" identifier != number_literal)) ;) (expression_statement "iVar13 = iVar16;" (assignment_expression "iVar13 = iVar16" identifier = identifier) ;) (if_statement "if (bVar1) break;" if (parenthesized_expression "(bVar1)" ( identifier )) (break_statement "break;" break ;)) (labeled_statement "LAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);" statement_identifier : (expression_statement "(*(code *)PTR_putchar_000230b0)(0x20);" (call_expression "(*(code *)PTR_putchar_000230b0)(0x20)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x20)" ( number_literal ))) ;)) })) })) (expression_statement "iVar6 = iVar6 + 0x10;" (assignment_expression "iVar6 = iVar6 + 0x10" identifier = (binary_expression "iVar6 + 0x10" identifier + number_literal)) ;) (expression_statement "pcVar12 = pcVar12 + 0x10;" (assignment_expression "pcVar12 = pcVar12 + 0x10" identifier = (binary_expression "pcVar12 + 0x10" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" ( (pointer_expression "*(code *)PTR_putchar_000230b0" * (cast_expression "(code *)PTR_putchar_000230b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) }) while (parenthesized_expression "(iVar6 < local_1094)" ( (binary_expression "iVar6 < local_1094" identifier < identifier) )) ;) (expression_statement "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" * (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier ))))) ;) (if_statement "if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }" if (parenthesized_expression "((int)unaff_s1 < 0)" ( (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }" { (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-(int)unaff_s1)" ( (unary_expression "-(int)unaff_s1" - (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" ( (binary_expression "PTR_00023064 + 0x23f0" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_00010f64;" goto statement_identifier ;) })) (if_statement "if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }" if (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) == 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) == 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);" (assignment_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0)" identifier = (call_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)" ( (pointer_expression "*(code *)PTR_sg_if_can2stderr_000230bc" * (cast_expression "(code *)PTR_sg_if_can2stderr_000230bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2404,0)" ( (binary_expression "PTR_00023064 + 0x2404" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar6 == 0) goto LAB_00010e64;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00010e64;" goto statement_identifier ;)) })) (goto_statement "goto LAB_00010cf8;" goto statement_identifier ;) })) })) (labeled_statement "LAB_00010cdc:\n  iVar11 = 1;" statement_identifier : (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" ( (pointer_expression "*(code *)PTR_puts_000230d0" * (cast_expression "(code *)PTR_puts_000230d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x1dbc)" ( (binary_expression "PTR_00023064 + 0x1dbc" identifier + number_literal) ))) ;) (labeled_statement "LAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }" statement_identifier : (while_statement "while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }" while (parenthesized_expression "(local_2c != *(int *)puVar3)" ( (binary_expression "local_2c != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_000230dc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000230dc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000230dc)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000230dc" * (cast_expression "(code *)PTR___stack_chk_fail_000230dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_000118b4:\n    iVar11 = -1;" statement_identifier : (expression_statement "iVar11 = -1;" (assignment_expression "iVar11 = -1" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2040)" ( (binary_expression "PTR_00023064 + 0x2040" identifier + number_literal) ))) ;) (labeled_statement "LAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" statement_identifier : (expression_statement "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" * (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier ))))) ;)) (if_statement "if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }" if (parenthesized_expression "((int)unaff_s1 < 0)" ( (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }" { (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" identifier = (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" ( (pointer_expression "*(code *)PTR_safe_strerror_0002309c" * (cast_expression "(code *)PTR_safe_strerror_0002309c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-(int)unaff_s1)" ( (unary_expression "-(int)unaff_s1" - (cast_expression "(int)unaff_s1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" ( (binary_expression "PTR_00023064 + 0x23f0" identifier + number_literal) , identifier ))) ;) (if_statement "if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }" { (labeled_statement "LAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" statement_identifier : (expression_statement "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" (assignment_expression "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000230a8)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_000230a8" * (cast_expression "(code *)PTR_sg_convert_errno_000230a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s1)" ( identifier )))) ;)) })) })) (labeled_statement "LAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" statement_identifier : (if_statement "if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" if (parenthesized_expression "((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))" ( (binary_expression "(*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0)" (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) == 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3110) == 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" * (cast_expression "(int *)(unaff_s0 + 0x3110)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3110)" ( (binary_expression "unaff_s0 + 0x3110" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0)" ( (comma_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0" (assignment_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11)" identifier = (call_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)" ( (pointer_expression "*(code *)PTR_sg_if_can2stderr_000230bc" * (cast_expression "(code *)PTR_sg_if_can2stderr_000230bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2404,iVar11)" ( (binary_expression "PTR_00023064 + 0x2404" identifier + number_literal) , identifier )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" { (labeled_statement "LAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);" statement_identifier : (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" ( (pointer_expression "*(code *)PTR_pr2serr_000230d8" * (cast_expression "(code *)PTR_pr2serr_000230d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023064 + 0x2418)" ( (binary_expression "PTR_00023064 + 0x2418" identifier + number_literal) ))) ;)) }))) (if_statement "if (iVar11 < 0) {\n      iVar11 = 99;\n    }" if (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar11 = 99;\n    }" { (expression_statement "iVar11 = 99;" (assignment_expression "iVar11 = 99" identifier = number_literal) ;) })) }))) (return_statement "return iVar11;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) })) (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 (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (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) , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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) ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (unary_expression - (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , 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 (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (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 = LIT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = LIT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) , IDENT , 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 IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 ( (pointer_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 (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , LIT , LIT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (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 IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) , IDENT , 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 IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , LIT , LIT , LIT , (pointer_expression & IDENT) , LIT , LIT , (pointer_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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , LIT , LIT , (pointer_expression & IDENT) , LIT , LIT , (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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) }))))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (unary_expression - IDENT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , LIT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < 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) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , (pointer_expression * IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (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 ;)))) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) - LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT & LIT) ))) + LIT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression 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 ( LIT , (binary_expression IDENT + LIT) ))) ;) }))))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression 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 ( LIT , (binary_expression IDENT + LIT) ))) ;) }))))))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression 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 ( LIT , (binary_expression IDENT + LIT) ))) ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (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) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT >> LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression 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 ( LIT , IDENT ))) ;) })))))))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;)) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (unary_expression - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (goto_statement goto 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 (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 ( (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (goto_statement goto statement_identifier ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (labeled_statement statement_identifier : (while_statement while (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (unary_expression - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) })) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) (return_statement return IDENT ;) })))
(function_definition "int main(int param_1,int param_2)\n\n{\n  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  char cVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  char *unaff_s0;\n  undefined4 *unaff_s1;\n  int iVar11;\n  char *pcVar12;\n  int iVar13;\n  undefined *puVar14;\n  undefined1 *puVar15;\n  int iVar16;\n  undefined *puVar17;\n  code *pcVar18;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int local_1080;\n  undefined1 auStack_107c [80];\n  uint local_102c;\n  uint local_1028;\n  undefined1 auStack_1026 [2];\n  undefined4 local_1024;\n  undefined2 local_1020 [13];\n  char acStack_1006 [12];\n  undefined2 local_ffa;\n  undefined1 auStack_ff8 [4044];\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar10 = PTR_00023064;\n  puVar9 = PTR_DAT_00023058;\n  local_2c = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar11 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }\n  return iVar11;\n}" (primitive_type "int") (function_declarator "main(int param_1,int param_2)" (identifier "main") (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  bool bVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  char cVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  char *unaff_s0;\n  undefined4 *unaff_s1;\n  int iVar11;\n  char *pcVar12;\n  int iVar13;\n  undefined *puVar14;\n  undefined1 *puVar15;\n  int iVar16;\n  undefined *puVar17;\n  code *pcVar18;\n  char *local_10a0;\n  int local_1094;\n  int local_108c;\n  int local_1080;\n  undefined1 auStack_107c [80];\n  uint local_102c;\n  uint local_1028;\n  undefined1 auStack_1026 [2];\n  undefined4 local_1024;\n  undefined2 local_1020 [13];\n  char acStack_1006 [12];\n  undefined2 local_ffa;\n  undefined1 auStack_ff8 [4044];\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_000230e4;\n  puVar10 = PTR_00023064;\n  puVar9 = PTR_DAT_00023058;\n  local_2c = *(int *)PTR___stack_chk_guard_000230e4;\n  if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }\nLAB_00010cdc:\n  iVar11 = 1;\n  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\nLAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }\n  return iVar11;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "char cVar8;" (primitive_type "char") (identifier "cVar8") (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined *puVar10;" (type_identifier "undefined") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "char *unaff_s0;" (primitive_type "char") (pointer_declarator "*unaff_s0" (* "*") (identifier "unaff_s0")) (; ";")) (declaration "undefined4 *unaff_s1;" (type_identifier "undefined4") (pointer_declarator "*unaff_s1" (* "*") (identifier "unaff_s1")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "char *pcVar12;" (primitive_type "char") (pointer_declarator "*pcVar12" (* "*") (identifier "pcVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "undefined *puVar14;" (type_identifier "undefined") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "undefined1 *puVar15;" (type_identifier "undefined1") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "undefined *puVar17;" (type_identifier "undefined") (pointer_declarator "*puVar17" (* "*") (identifier "puVar17")) (; ";")) (declaration "code *pcVar18;" (type_identifier "code") (pointer_declarator "*pcVar18" (* "*") (identifier "pcVar18")) (; ";")) (declaration "char *local_10a0;" (primitive_type "char") (pointer_declarator "*local_10a0" (* "*") (identifier "local_10a0")) (; ";")) (declaration "int local_1094;" (primitive_type "int") (identifier "local_1094") (; ";")) (declaration "int local_108c;" (primitive_type "int") (identifier "local_108c") (; ";")) (declaration "int local_1080;" (primitive_type "int") (identifier "local_1080") (; ";")) (declaration "undefined1 auStack_107c [80];" (type_identifier "undefined1") (array_declarator "auStack_107c [80]" (identifier "auStack_107c") ([ "[") (number_literal "80") (] "]")) (; ";")) (declaration "uint local_102c;" (type_identifier "uint") (identifier "local_102c") (; ";")) (declaration "uint local_1028;" (type_identifier "uint") (identifier "local_1028") (; ";")) (declaration "undefined1 auStack_1026 [2];" (type_identifier "undefined1") (array_declarator "auStack_1026 [2]" (identifier "auStack_1026") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 local_1024;" (type_identifier "undefined4") (identifier "local_1024") (; ";")) (declaration "undefined2 local_1020 [13];" (type_identifier "undefined2") (array_declarator "local_1020 [13]" (identifier "local_1020") ([ "[") (number_literal "13") (] "]")) (; ";")) (declaration "char acStack_1006 [12];" (primitive_type "char") (array_declarator "acStack_1006 [12]" (identifier "acStack_1006") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined2 local_ffa;" (type_identifier "undefined2") (identifier "local_ffa") (; ";")) (declaration "undefined1 auStack_ff8 [4044];" (type_identifier "undefined1") (array_declarator "auStack_ff8 [4044]" (identifier "auStack_ff8") ([ "[") (number_literal "4044") (] "]")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_000230e4;" (assignment_expression "puVar3 = PTR___stack_chk_guard_000230e4" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_000230e4")) (; ";")) (expression_statement "puVar10 = PTR_00023064;" (assignment_expression "puVar10 = PTR_00023064" (identifier "puVar10") (= "=") (identifier "PTR_00023064")) (; ";")) (expression_statement "puVar9 = PTR_DAT_00023058;" (assignment_expression "puVar9 = PTR_DAT_00023058" (identifier "puVar9") (= "=") (identifier "PTR_DAT_00023058")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000230e4;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000230e4" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000230e4" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000230e4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000230e4")))) (; ";")) (if_statement "if (1 < param_1) {\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }" (if "if") (parenthesized_expression "(1 < param_1)" (( "(") (binary_expression "1 < param_1" (number_literal "1") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n    local_1094 = -1;\n    iVar11 = 1;\n    puVar14 = PTR_00023064 + 0x1f94;\n    puVar17 = PTR_00023064 + 0x1f98;\n    local_10a0 = (char *)0x0;\n    local_108c = 0;\n    puVar5 = PTR_00023064 + 0x1fa0;\n    bVar2 = false;\n    bVar1 = false;\n    puVar4 = (undefined4 *)(param_2 + 4);\n    do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);\nLAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;\n    unaff_s1 = unaff_s1 + 1;\n    if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }\n  }" ({ "{") (expression_statement "local_1094 = -1;" (assignment_expression "local_1094 = -1" (identifier "local_1094") (= "=") (number_literal "-1")) (; ";")) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" (identifier "iVar11") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar14 = PTR_00023064 + 0x1f94;" (assignment_expression "puVar14 = PTR_00023064 + 0x1f94" (identifier "puVar14") (= "=") (binary_expression "PTR_00023064 + 0x1f94" (identifier "PTR_00023064") (+ "+") (number_literal "0x1f94"))) (; ";")) (expression_statement "puVar17 = PTR_00023064 + 0x1f98;" (assignment_expression "puVar17 = PTR_00023064 + 0x1f98" (identifier "puVar17") (= "=") (binary_expression "PTR_00023064 + 0x1f98" (identifier "PTR_00023064") (+ "+") (number_literal "0x1f98"))) (; ";")) (expression_statement "local_10a0 = (char *)0x0;" (assignment_expression "local_10a0 = (char *)0x0" (identifier "local_10a0") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_108c = 0;" (assignment_expression "local_108c = 0" (identifier "local_108c") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = PTR_00023064 + 0x1fa0;" (assignment_expression "puVar5 = PTR_00023064 + 0x1fa0" (identifier "puVar5") (= "=") (binary_expression "PTR_00023064 + 0x1fa0" (identifier "PTR_00023064") (+ "+") (number_literal "0x1fa0"))) (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (expression_statement "puVar4 = (undefined4 *)(param_2 + 4);" (assignment_expression "puVar4 = (undefined4 *)(param_2 + 4)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (; ";")) (do_statement "do {\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    } while (param_1 != iVar11);" (do "do") (compound_statement "{\n      while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }\n      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);\n      if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);\n      if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);\n      if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }\n      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);\n      if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }\n      if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }\n      iVar11 = iVar11 + 1;\n      if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }\n      puVar4 = unaff_s1 + 1;\n      local_10a0 = unaff_s0;\n    }" ({ "{") (while_statement "while( true ) {\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        unaff_s1 = puVar4;\n        unaff_s0 = (char *)*unaff_s1;\n        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);\n        if (iVar6 != 0) break;\n        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;\nLAB_00010ac8:\n        iVar11 = iVar11 + 1;\n        puVar4 = unaff_s1 + 1;\n        if (param_1 == iVar11) goto LAB_00010b80;\n      }" ({ "{") (expression_statement "unaff_s1 = puVar4;" (assignment_expression "unaff_s1 = puVar4" (identifier "unaff_s1") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "unaff_s0 = (char *)*unaff_s1;" (assignment_expression "unaff_s0 = (char *)*unaff_s1" (identifier "unaff_s0") (= "=") (cast_expression "(char *)*unaff_s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*unaff_s1" (* "*") (identifier "unaff_s1")))) (; ";")) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000230f0" (* "*") (cast_expression "(code *)PTR_strcmp_000230f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000230f0"))) () ")")) (argument_list "(unaff_s0,puVar10 + 0x1f90)" (( "(") (identifier "unaff_s0") (, ",") (binary_expression "puVar10 + 0x1f90" (identifier "puVar10") (+ "+") (number_literal "0x1f90")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) break;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;" (assignment_expression "*(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1" (pointer_expression "*(int *)(puVar9 + 0x3110)" (* "*") (cast_expression "(int *)(puVar9 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 0x3110)" (( "(") (binary_expression "puVar9 + 0x3110" (identifier "puVar9") (+ "+") (number_literal "0x3110")) () ")")))) (= "=") (binary_expression "*(int *)(puVar9 + 0x3110) + 1" (pointer_expression "*(int *)(puVar9 + 0x3110)" (* "*") (cast_expression "(int *)(puVar9 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + 0x3110)" (( "(") (binary_expression "puVar9 + 0x3110" (identifier "puVar9") (+ "+") (number_literal "0x3110")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (labeled_statement "LAB_00010ac8:\n        iVar11 = iVar11 + 1;" (statement_identifier "LAB_00010ac8") (: ":") (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "puVar4 = unaff_s1 + 1;" (assignment_expression "puVar4 = unaff_s1 + 1" (identifier "puVar4") (= "=") (binary_expression "unaff_s1 + 1" (identifier "unaff_s1") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_1 == iVar11) goto LAB_00010b80;" (if "if") (parenthesized_expression "(param_1 == iVar11)" (( "(") (binary_expression "param_1 == iVar11" (identifier "param_1") (== "==") (identifier "iVar11")) () ")")) (goto_statement "goto LAB_00010b80;" (goto "goto") (statement_identifier "LAB_00010b80") (; ";"))) (} "}"))) (expression_statement "iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);" (assignment_expression "iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3)" (parenthesized_expression "(*(code *)PTR_strncmp_0002308c)" (( "(") (pointer_expression "*(code *)PTR_strncmp_0002308c" (* "*") (cast_expression "(code *)PTR_strncmp_0002308c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_0002308c"))) () ")")) (argument_list "(unaff_s0,puVar14,3)" (( "(") (identifier "unaff_s0") (, ",") (identifier "puVar14") (, ",") (number_literal "3") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);\n        bVar2 = true;\n        goto LAB_00010ac8;\n      }" ({ "{") (expression_statement "local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);" (assignment_expression "local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0)" (identifier "local_1094") (= "=") (call_expression "(*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0)" (parenthesized_expression "(*(code *)PTR_strtoul_000230c8)" (( "(") (pointer_expression "*(code *)PTR_strtoul_000230c8" (* "*") (cast_expression "(code *)PTR_strtoul_000230c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtoul_000230c8"))) () ")")) (argument_list "(unaff_s0 + 3,0,0)" (( "(") (binary_expression "unaff_s0 + 3" (identifier "unaff_s0") (+ "+") (number_literal "3")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" (identifier "bVar2") (= "=") (true "true")) (; ";")) (goto_statement "goto LAB_00010ac8;" (goto "goto") (statement_identifier "LAB_00010ac8") (; ";")) (} "}"))) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000230f0" (* "*") (cast_expression "(code *)PTR_strcmp_000230f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000230f0"))) () ")")) (argument_list "(unaff_s0,puVar17)" (( "(") (identifier "unaff_s0") (, ",") (identifier "puVar17") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        bVar1 = true;\n        goto LAB_00010ac8;\n      }" ({ "{") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (goto_statement "goto LAB_00010ac8;" (goto "goto") (statement_identifier "LAB_00010ac8") (; ";")) (} "}"))) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000230f0" (* "*") (cast_expression "(code *)PTR_strcmp_000230f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000230f0"))) () ")")) (argument_list "(unaff_s0,puVar10 + 0x1f9c)" (( "(") (identifier "unaff_s0") (, ",") (binary_expression "puVar10 + 0x1f9c" (identifier "puVar10") (+ "+") (number_literal "0x1f9c")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_108c = 1;\n        goto LAB_00010ac8;\n      }" ({ "{") (expression_statement "local_108c = 1;" (assignment_expression "local_108c = 1" (identifier "local_108c") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00010ac8;" (goto "goto") (statement_identifier "LAB_00010ac8") (; ";")) (} "}"))) (expression_statement "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5)" (parenthesized_expression "(*(code *)PTR_strcmp_000230f0)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000230f0" (* "*") (cast_expression "(code *)PTR_strcmp_000230f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000230f0"))) () ")")) (argument_list "(unaff_s0,puVar5)" (( "(") (identifier "unaff_s0") (, ",") (identifier "puVar5") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);\n        iVar11 = 0;\n        goto LAB_00010cf8;\n      }" ({ "{") (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4)" (( "(") (binary_expression "PTR_00023064 + 0x1fb4" (identifier "PTR_00023064") (+ "+") (number_literal "0x1fb4")) (, ",") (binary_expression "PTR_00023064 + 0x1fa4" (identifier "PTR_00023064") (+ "+") (number_literal "0x1fa4")) () ")"))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00010cf8;" (goto "goto") (statement_identifier "LAB_00010cf8") (; ";")) (} "}"))) (if_statement "if (*unaff_s0 == '-') {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }" (if "if") (parenthesized_expression "(*unaff_s0 == '-')" (( "(") (binary_expression "*unaff_s0 == '-'" (pointer_expression "*unaff_s0" (* "*") (identifier "unaff_s0")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);\n        goto LAB_00010cdc;\n      }" ({ "{") (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x1fcc,unaff_s0)" (( "(") (binary_expression "PTR_00023064 + 0x1fcc" (identifier "PTR_00023064") (+ "+") (number_literal "0x1fcc")) (, ",") (identifier "unaff_s0") () ")"))) (; ";")) (goto_statement "goto LAB_00010cdc;" (goto "goto") (statement_identifier "LAB_00010cdc") (; ";")) (} "}"))) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (local_10a0 != (char *)0x0) {\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }" (if "if") (parenthesized_expression "(local_10a0 != (char *)0x0)" (( "(") (binary_expression "local_10a0 != (char *)0x0" (identifier "local_10a0") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);\n        goto LAB_00010cdc;\n      }" ({ "{") (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x1fe8)" (( "(") (binary_expression "PTR_00023064 + 0x1fe8" (identifier "PTR_00023064") (+ "+") (number_literal "0x1fe8")) () ")"))) (; ";")) (goto_statement "goto LAB_00010cdc;" (goto "goto") (statement_identifier "LAB_00010cdc") (; ";")) (} "}"))) (expression_statement "puVar4 = unaff_s1 + 1;" (assignment_expression "puVar4 = unaff_s1 + 1" (identifier "puVar4") (= "=") (binary_expression "unaff_s1 + 1" (identifier "unaff_s1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_10a0 = unaff_s0;" (assignment_expression "local_10a0 = unaff_s0" (identifier "local_10a0") (= "=") (identifier "unaff_s0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 != iVar11)" (( "(") (binary_expression "param_1 != iVar11" (identifier "param_1") (!= "!=") (identifier "iVar11")) () ")")) (; ";")) (labeled_statement "LAB_00010b80:\n    unaff_s0 = PTR_DAT_00023058;" (statement_identifier "LAB_00010b80") (: ":") (expression_statement "unaff_s0 = PTR_DAT_00023058;" (assignment_expression "unaff_s0 = PTR_DAT_00023058" (identifier "unaff_s0") (= "=") (identifier "PTR_DAT_00023058")) (; ";"))) (expression_statement "unaff_s1 = unaff_s1 + 1;" (assignment_expression "unaff_s1 = unaff_s1 + 1" (identifier "unaff_s1") (= "=") (binary_expression "unaff_s1 + 1" (identifier "unaff_s1") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (local_10a0 != (char *)0x0) {\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }" (if "if") (parenthesized_expression "(local_10a0 != (char *)0x0)" (( "(") (binary_expression "local_10a0 != (char *)0x0" (identifier "local_10a0") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));\n      if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }\n      if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }\n      if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }\n      local_1080 = 0;\n      if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }\n      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);\n      if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }\n      if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);\n      if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }\n      cVar8 = puVar15[0x21];\n      if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);\n      if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }\n      if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);\n      if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);\n      puVar9 = PTR_00023064;\n      if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }\n      iVar6 = 0;\n      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);\n      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);\n      puVar10 = PTR_00023064 + 0x2330;\n      puVar5 = PTR_00023064 + 0x2324;\n      puVar14 = PTR_00023064 + 0x2320;\n      do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);\n      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n      if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }\n      if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }\n      goto LAB_00010cf8;\n    }" ({ "{") (expression_statement "unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));" (assignment_expression "unaff_s1 = (undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" (identifier "unaff_s1") (= "=") (cast_expression "(undefined4 *)\n                 (*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_sg_cmds_open_device_00023090)\n                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00023090)" (( "(") (pointer_expression "*(code *)PTR_sg_cmds_open_device_00023090" (* "*") (cast_expression "(code *)PTR_sg_cmds_open_device_00023090" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_cmds_open_device_00023090"))) () ")")) (argument_list "(local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110))" (( "(") (identifier "local_10a0") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(PTR_DAT_00023058 + 0x3110)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00023058 + 0x3110)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00023058 + 0x3110)" (( "(") (binary_expression "PTR_DAT_00023058 + 0x3110" (identifier "PTR_DAT_00023058") (+ "+") (number_literal "0x3110")) () ")")))) () ")"))))) (; ";")) (if_statement "if ((int)unaff_s1 < 0) {\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }" (if "if") (parenthesized_expression "((int)unaff_s1 < 0)" (( "(") (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        unaff_s1 = (undefined4 *)-(int)unaff_s1;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n        goto LAB_00010c68;\n      }" ({ "{") (expression_statement "unaff_s1 = (undefined4 *)-(int)unaff_s1;" (assignment_expression "unaff_s1 = (undefined4 *)-(int)unaff_s1" (identifier "unaff_s1") (= "=") (cast_expression "(undefined4 *)-(int)unaff_s1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (unary_expression "-(int)unaff_s1" (- "-") (cast_expression "(int)unaff_s1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s1"))))) (; ";")) (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_safe_strerror_0002309c)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" (( "(") (pointer_expression "*(code *)PTR_safe_strerror_0002309c" (* "*") (cast_expression "(code *)PTR_safe_strerror_0002309c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safe_strerror_0002309c"))) () ")")) (argument_list "(unaff_s1)" (( "(") (identifier "unaff_s1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x1ffc,local_10a0,uVar7)" (( "(") (binary_expression "PTR_00023064 + 0x1ffc" (identifier "PTR_00023064") (+ "+") (number_literal "0x1ffc")) (, ",") (identifier "local_10a0") (, ",") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" (( "(") (pointer_expression "*(code *)PTR_puts_000230d0" (* "*") (cast_expression "(code *)PTR_puts_000230d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_000230d0"))) () ")")) (argument_list "(PTR_00023064 + 0x1dbc)" (( "(") (binary_expression "PTR_00023064 + 0x1dbc" (identifier "PTR_00023064") (+ "+") (number_literal "0x1dbc")) () ")"))) (; ";")) (expression_statement "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" (assignment_expression "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000230a8)" (( "(") (pointer_expression "*(code *)PTR_sg_convert_errno_000230a8" (* "*") (cast_expression "(code *)PTR_sg_convert_errno_000230a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_convert_errno_000230a8"))) () ")")) (argument_list "(unaff_s1)" (( "(") (identifier "unaff_s1") () ")")))) (; ";")) (goto_statement "goto LAB_00010c68;" (goto "goto") (statement_identifier "LAB_00010c68") (; ";")) (} "}"))) (if_statement "if (bVar1) {\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n        iVar11 = *(int *)(unaff_s0 + 0x3110);\n        if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }\nLAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);\n        goto LAB_00010f20;\n      }" ({ "{") (expression_statement "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" (( "(") (pointer_expression "*(code *)PTR_memset_000230b4" (* "*") (cast_expression "(code *)PTR_memset_000230b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_000230b4"))) () ")")) (argument_list "(&local_102c,0,0x134)" (( "(") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (number_literal "0") (, ",") (number_literal "0x134") () ")"))) (; ";")) (expression_statement "iVar11 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar11 = *(int *)(unaff_s0 + 0x3110)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")"))))) (; ";")) (if_statement "if (local_108c == 0) {\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" (if "if") (parenthesized_expression "(local_108c == 0)" (( "(") (binary_expression "local_108c == 0" (identifier "local_108c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          acStack_1006[7] = 1;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1024 = 0x6c010128;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }" ({ "{") (expression_statement "acStack_1006[7] = 1;" (assignment_expression "acStack_1006[7] = 1" (subscript_expression "acStack_1006[7]" (identifier "acStack_1006") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "local_102c = *(uint *)PTR_mode10_hdr_00023068;" (assignment_expression "local_102c = *(uint *)PTR_mode10_hdr_00023068" (identifier "local_102c") (= "=") (pointer_expression "*(uint *)PTR_mode10_hdr_00023068" (* "*") (cast_expression "(uint *)PTR_mode10_hdr_00023068" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mode10_hdr_00023068")))) (; ";")) (expression_statement "local_1024 = 0x6c010128;" (assignment_expression "local_1024 = 0x6c010128" (identifier "local_1024") (= "=") (number_literal "0x6c010128")) (; ";")) (expression_statement "acStack_1006[10] = '\n';" (assignment_expression "acStack_1006[10] = '\n'" (subscript_expression "acStack_1006[10]" (identifier "acStack_1006") ([ "[") (number_literal "10") (] "]")) (= "=") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) (; ";")) (expression_statement "acStack_1006[0xb] = '\x02';" (assignment_expression "acStack_1006[0xb] = '\x02'" (subscript_expression "acStack_1006[0xb]" (identifier "acStack_1006") ([ "[") (number_literal "0xb") (] "]")) (= "=") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) (; ";")) (expression_statement "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);" (assignment_expression "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4)" (identifier "local_1028") (= "=") (pointer_expression "*(uint *)(PTR_mode10_hdr_00023068 + 4)" (* "*") (cast_expression "(uint *)(PTR_mode10_hdr_00023068 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_mode10_hdr_00023068 + 4)" (( "(") (binary_expression "PTR_mode10_hdr_00023068 + 4" (identifier "PTR_mode10_hdr_00023068") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar11 = 2;\n          }" ({ "{") (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" (identifier "iVar11") (= "=") (number_literal "2")) (; ";")) (} "}"))) (expression_statement "uVar7 = 0x134;" (assignment_expression "uVar7 = 0x134" (identifier "uVar7") (= "=") (number_literal "0x134")) (; ";")) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac" (identifier "pcVar18") (= "=") (cast_expression "(code *)PTR_sg_ll_mode_select10_000230ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_ll_mode_select10_000230ac"))) (; ";")) (} "}")) (else_clause "else {\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" (else "else") (compound_statement "{\n          local_1020[0] = 0x2c68;\n          acStack_1006[9] = 1;\n          local_ffa = 0xa02;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" ({ "{") (expression_statement "local_1020[0] = 0x2c68;" (assignment_expression "local_1020[0] = 0x2c68" (subscript_expression "local_1020[0]" (identifier "local_1020") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x2c68")) (; ";")) (expression_statement "acStack_1006[9] = 1;" (assignment_expression "acStack_1006[9] = 1" (subscript_expression "acStack_1006[9]" (identifier "acStack_1006") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "local_ffa = 0xa02;" (assignment_expression "local_ffa = 0xa02" (identifier "local_ffa") (= "=") (number_literal "0xa02")) (; ";")) (expression_statement "local_102c = *(uint *)PTR_mode6_hdr_00023070;" (assignment_expression "local_102c = *(uint *)PTR_mode6_hdr_00023070" (identifier "local_102c") (= "=") (pointer_expression "*(uint *)PTR_mode6_hdr_00023070" (* "*") (cast_expression "(uint *)PTR_mode6_hdr_00023070" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mode6_hdr_00023070")))) (; ";")) (expression_statement "local_1028 = *(uint *)PTR_block_descriptor_0002306c;" (assignment_expression "local_1028 = *(uint *)PTR_block_descriptor_0002306c" (identifier "local_1028") (= "=") (pointer_expression "*(uint *)PTR_block_descriptor_0002306c" (* "*") (cast_expression "(uint *)PTR_block_descriptor_0002306c" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_block_descriptor_0002306c")))) (; ";")) (expression_statement "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);" (assignment_expression "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4)" (identifier "local_1024") (= "=") (pointer_expression "*(undefined4 *)(PTR_block_descriptor_0002306c + 4)" (* "*") (cast_expression "(undefined4 *)(PTR_block_descriptor_0002306c + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_block_descriptor_0002306c + 4)" (( "(") (binary_expression "PTR_block_descriptor_0002306c + 4" (identifier "PTR_block_descriptor_0002306c") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar11 = 2;\n          }" ({ "{") (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" (identifier "iVar11") (= "=") (number_literal "2")) (; ";")) (} "}"))) (expression_statement "uVar7 = 0x76;" (assignment_expression "uVar7 = 0x76" (identifier "uVar7") (= "=") (number_literal "0x76")) (; ";")) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4" (identifier "pcVar18") (= "=") (cast_expression "(code *)PTR_sg_ll_mode_select6_000230d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_ll_mode_select6_000230d4"))) (; ";")) (} "}")))) (expression_statement "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);" (assignment_expression "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" (identifier "iVar11") (= "=") (call_expression "(*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" (parenthesized_expression "(*pcVar18)" (( "(") (pointer_expression "*pcVar18" (* "*") (identifier "pcVar18")) () ")")) (argument_list "(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" (( "(") (identifier "unaff_s1") (, ",") (number_literal "1") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (identifier "uVar7") (, ",") (number_literal "1") (, ",") (identifier "iVar11") () ")")))) (; ";")) (expression_statement "iVar6 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar6 = *(int *)(unaff_s0 + 0x3110)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")"))))) (; ";")) (if_statement "if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);\n          goto LAB_00010f20;\n        }" ({ "{") (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" (( "(") (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" (* "*") (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_get_category_sense_str_00023098"))) () ")")) (argument_list "(iVar11,0x50,auStack_107c)" (( "(") (identifier "iVar11") (, ",") (number_literal "0x50") (, ",") (identifier "auStack_107c") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x2028,auStack_107c)" (( "(") (binary_expression "PTR_00023064 + 0x2028" (identifier "PTR_00023064") (+ "+") (number_literal "0x2028")) (, ",") (identifier "auStack_107c") () ")"))) (; ";")) (goto_statement "goto LAB_00010f20;" (goto "goto") (statement_identifier "LAB_00010f20") (; ";")) (} "}"))) (labeled_statement "LAB_00010f18:\n        if (iVar6 == 0) goto LAB_00010f20;" (statement_identifier "LAB_00010f18") (: ":") (if_statement "if (iVar6 == 0) goto LAB_00010f20;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00010f20;" (goto "goto") (statement_identifier "LAB_00010f20") (; ";")))) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x2010)" (( "(") (binary_expression "PTR_00023064 + 0x2010" (identifier "PTR_00023064") (+ "+") (number_literal "0x2010")) () ")"))) (; ";")) (goto_statement "goto LAB_00010f20;" (goto "goto") (statement_identifier "LAB_00010f20") (; ";")) (} "}"))) (if_statement "if (bVar2) {\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }" (if "if") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")")) (compound_statement "{\n        if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }\n        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);\n        iVar6 = *(int *)(unaff_s0 + 0x3110);\n        if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }\n        goto LAB_00010f18;\n      }" ({ "{") (if_statement "if (local_108c == 0) {\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }\n        else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" (if "if") (parenthesized_expression "(local_108c == 0)" (( "(") (binary_expression "local_108c == 0" (identifier "local_108c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1024 = 0x6c010128;\n          local_102c = *(uint *)PTR_mode10_hdr_00023068;\n          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);\n          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094 + -2] = 0x81;\n          acStack_1006[7] = 2;\n          acStack_1006[10] = '\n';\n          acStack_1006[0xb] = '\x02';\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x134;\n          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;\n        }" ({ "{") (if_statement "if (0xff < local_1094) {\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }" (if "if") (parenthesized_expression "(0xff < local_1094)" (( "(") (binary_expression "0xff < local_1094" (number_literal "0xff") (< "<") (identifier "local_1094")) () ")")) (compound_statement "{\n            iVar11 = -1;\n            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);\n            goto LAB_00010f20;\n          }" ({ "{") (expression_statement "iVar11 = -1;" (assignment_expression "iVar11 = -1" (identifier "iVar11") (= "=") (number_literal "-1")) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x206c)" (( "(") (binary_expression "PTR_00023064 + 0x206c" (identifier "PTR_00023064") (+ "+") (number_literal "0x206c")) () ")"))) (; ";")) (goto_statement "goto LAB_00010f20;" (goto "goto") (statement_identifier "LAB_00010f20") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" (( "(") (pointer_expression "*(code *)PTR_memset_000230b4" (* "*") (cast_expression "(code *)PTR_memset_000230b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_000230b4"))) () ")")) (argument_list "(&local_102c,0,0x134)" (( "(") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (number_literal "0") (, ",") (number_literal "0x134") () ")"))) (; ";")) (expression_statement "local_1024 = 0x6c010128;" (assignment_expression "local_1024 = 0x6c010128" (identifier "local_1024") (= "=") (number_literal "0x6c010128")) (; ";")) (expression_statement "local_102c = *(uint *)PTR_mode10_hdr_00023068;" (assignment_expression "local_102c = *(uint *)PTR_mode10_hdr_00023068" (identifier "local_102c") (= "=") (pointer_expression "*(uint *)PTR_mode10_hdr_00023068" (* "*") (cast_expression "(uint *)PTR_mode10_hdr_00023068" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mode10_hdr_00023068")))) (; ";")) (expression_statement "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);" (assignment_expression "local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4)" (identifier "local_1028") (= "=") (pointer_expression "*(uint *)(PTR_mode10_hdr_00023068 + 4)" (* "*") (cast_expression "(uint *)(PTR_mode10_hdr_00023068 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_mode10_hdr_00023068 + 4)" (( "(") (binary_expression "PTR_mode10_hdr_00023068 + 4" (identifier "PTR_mode10_hdr_00023068") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" (( "(") (pointer_expression "*(code *)PTR_memset_000230b4" (* "*") (cast_expression "(code *)PTR_memset_000230b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_000230b4"))) () ")")) (argument_list "(&local_ffa,0,0x100)" (( "(") (pointer_expression "&local_ffa" (& "&") (identifier "local_ffa")) (, ",") (number_literal "0") (, ",") (number_literal "0x100") () ")"))) (; ";")) (expression_statement "iVar11 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar11 = *(int *)(unaff_s0 + 0x3110)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")"))))) (; ";")) (expression_statement "auStack_ff8[local_1094 + -2] = 0x81;" (assignment_expression "auStack_ff8[local_1094 + -2] = 0x81" (subscript_expression "auStack_ff8[local_1094 + -2]" (identifier "auStack_ff8") ([ "[") (binary_expression "local_1094 + -2" (identifier "local_1094") (+ "+") (number_literal "-2")) (] "]")) (= "=") (number_literal "0x81")) (; ";")) (expression_statement "acStack_1006[7] = 2;" (assignment_expression "acStack_1006[7] = 2" (subscript_expression "acStack_1006[7]" (identifier "acStack_1006") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "2")) (; ";")) (expression_statement "acStack_1006[10] = '\n';" (assignment_expression "acStack_1006[10] = '\n'" (subscript_expression "acStack_1006[10]" (identifier "acStack_1006") ([ "[") (number_literal "10") (] "]")) (= "=") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) (; ";")) (expression_statement "acStack_1006[0xb] = '\x02';" (assignment_expression "acStack_1006[0xb] = '\x02'" (subscript_expression "acStack_1006[0xb]" (identifier "acStack_1006") ([ "[") (number_literal "0xb") (] "]")) (= "=") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) (; ";")) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar11 = 2;\n          }" ({ "{") (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" (identifier "iVar11") (= "=") (number_literal "2")) (; ";")) (} "}"))) (expression_statement "uVar7 = 0x134;" (assignment_expression "uVar7 = 0x134" (identifier "uVar7") (= "=") (number_literal "0x134")) (; ";")) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac" (identifier "pcVar18") (= "=") (cast_expression "(code *)PTR_sg_ll_mode_select10_000230ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_ll_mode_select10_000230ac"))) (; ";")) (} "}")) (else_clause "else {\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" (else "else") (compound_statement "{\n          if (0x1f < local_1094) goto LAB_000118b4;\n          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);\n          local_1020[0] = 0x2c68;\n          local_1028 = *(uint *)PTR_block_descriptor_0002306c;\n          local_102c = *(uint *)PTR_mode6_hdr_00023070;\n          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);\n          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);\n          iVar11 = *(int *)(unaff_s0 + 0x3110);\n          auStack_ff8[local_1094] = 0x81;\n          acStack_1006[9] = 2;\n          local_ffa = 0xa02;\n          if (iVar11 != 0) {\n            iVar11 = 2;\n          }\n          uVar7 = 0x76;\n          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;\n        }" ({ "{") (if_statement "if (0x1f < local_1094) goto LAB_000118b4;" (if "if") (parenthesized_expression "(0x1f < local_1094)" (( "(") (binary_expression "0x1f < local_1094" (number_literal "0x1f") (< "<") (identifier "local_1094")) () ")")) (goto_statement "goto LAB_000118b4;" (goto "goto") (statement_identifier "LAB_000118b4") (; ";"))) (expression_statement "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);" (call_expression "(*(code *)PTR_memset_000230b4)(&local_102c,0,0x134)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" (( "(") (pointer_expression "*(code *)PTR_memset_000230b4" (* "*") (cast_expression "(code *)PTR_memset_000230b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_000230b4"))) () ")")) (argument_list "(&local_102c,0,0x134)" (( "(") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (number_literal "0") (, ",") (number_literal "0x134") () ")"))) (; ";")) (expression_statement "local_1020[0] = 0x2c68;" (assignment_expression "local_1020[0] = 0x2c68" (subscript_expression "local_1020[0]" (identifier "local_1020") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x2c68")) (; ";")) (expression_statement "local_1028 = *(uint *)PTR_block_descriptor_0002306c;" (assignment_expression "local_1028 = *(uint *)PTR_block_descriptor_0002306c" (identifier "local_1028") (= "=") (pointer_expression "*(uint *)PTR_block_descriptor_0002306c" (* "*") (cast_expression "(uint *)PTR_block_descriptor_0002306c" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_block_descriptor_0002306c")))) (; ";")) (expression_statement "local_102c = *(uint *)PTR_mode6_hdr_00023070;" (assignment_expression "local_102c = *(uint *)PTR_mode6_hdr_00023070" (identifier "local_102c") (= "=") (pointer_expression "*(uint *)PTR_mode6_hdr_00023070" (* "*") (cast_expression "(uint *)PTR_mode6_hdr_00023070" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mode6_hdr_00023070")))) (; ";")) (expression_statement "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);" (assignment_expression "local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4)" (identifier "local_1024") (= "=") (pointer_expression "*(undefined4 *)(PTR_block_descriptor_0002306c + 4)" (* "*") (cast_expression "(undefined4 *)(PTR_block_descriptor_0002306c + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_block_descriptor_0002306c + 4)" (( "(") (binary_expression "PTR_block_descriptor_0002306c + 4" (identifier "PTR_block_descriptor_0002306c") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);" (call_expression "(*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20)" (parenthesized_expression "(*(code *)PTR_memset_000230b4)" (( "(") (pointer_expression "*(code *)PTR_memset_000230b4" (* "*") (cast_expression "(code *)PTR_memset_000230b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_000230b4"))) () ")")) (argument_list "(auStack_ff8,0,0x20)" (( "(") (identifier "auStack_ff8") (, ",") (number_literal "0") (, ",") (number_literal "0x20") () ")"))) (; ";")) (expression_statement "iVar11 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar11 = *(int *)(unaff_s0 + 0x3110)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")"))))) (; ";")) (expression_statement "auStack_ff8[local_1094] = 0x81;" (assignment_expression "auStack_ff8[local_1094] = 0x81" (subscript_expression "auStack_ff8[local_1094]" (identifier "auStack_ff8") ([ "[") (identifier "local_1094") (] "]")) (= "=") (number_literal "0x81")) (; ";")) (expression_statement "acStack_1006[9] = 2;" (assignment_expression "acStack_1006[9] = 2" (subscript_expression "acStack_1006[9]" (identifier "acStack_1006") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "2")) (; ";")) (expression_statement "local_ffa = 0xa02;" (assignment_expression "local_ffa = 0xa02" (identifier "local_ffa") (= "=") (number_literal "0xa02")) (; ";")) (if_statement "if (iVar11 != 0) {\n            iVar11 = 2;\n          }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar11 = 2;\n          }" ({ "{") (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" (identifier "iVar11") (= "=") (number_literal "2")) (; ";")) (} "}"))) (expression_statement "uVar7 = 0x76;" (assignment_expression "uVar7 = 0x76" (identifier "uVar7") (= "=") (number_literal "0x76")) (; ";")) (expression_statement "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;" (assignment_expression "pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4" (identifier "pcVar18") (= "=") (cast_expression "(code *)PTR_sg_ll_mode_select6_000230d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_ll_mode_select6_000230d4"))) (; ";")) (} "}")))) (expression_statement "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);" (assignment_expression "iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" (identifier "iVar11") (= "=") (call_expression "(*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" (parenthesized_expression "(*pcVar18)" (( "(") (pointer_expression "*pcVar18" (* "*") (identifier "pcVar18")) () ")")) (argument_list "(unaff_s1,1,0,&local_102c,uVar7,1,iVar11)" (( "(") (identifier "unaff_s1") (, ",") (number_literal "1") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (identifier "uVar7") (, ",") (number_literal "1") (, ",") (identifier "iVar11") () ")")))) (; ";")) (expression_statement "iVar6 = *(int *)(unaff_s0 + 0x3110);" (assignment_expression "iVar6 = *(int *)(unaff_s0 + 0x3110)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")"))))) (; ";")) (if_statement "if (iVar11 != 0) {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);\n          goto LAB_00010f20;\n        }" ({ "{") (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" (( "(") (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" (* "*") (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_get_category_sense_str_00023098"))) () ")")) (argument_list "(iVar11,0x50,auStack_107c)" (( "(") (identifier "iVar11") (, ",") (number_literal "0x50") (, ",") (identifier "auStack_107c") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x2084,local_1094,auStack_107c)" (( "(") (binary_expression "PTR_00023064 + 0x2084" (identifier "PTR_00023064") (+ "+") (number_literal "0x2084")) (, ",") (identifier "local_1094") (, ",") (identifier "auStack_107c") () ")"))) (; ";")) (goto_statement "goto LAB_00010f20;" (goto "goto") (statement_identifier "LAB_00010f20") (; ";")) (} "}"))) (goto_statement "goto LAB_00010f18;" (goto "goto") (statement_identifier "LAB_00010f18") (; ";")) (} "}"))) (expression_statement "local_1080 = 0;" (assignment_expression "local_1080 = 0" (identifier "local_1080") (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_108c == 0) {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }\n      else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" (if "if") (parenthesized_expression "(local_108c == 0)" (( "(") (binary_expression "local_108c == 0" (identifier "local_108c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" ({ "{") (expression_statement "iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));" (assignment_expression "iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)\n                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)" (( "(") (pointer_expression "*(code *)PTR_sg_ll_mode_sense10_v2_000230b8" (* "*") (cast_expression "(code *)PTR_sg_ll_mode_sense10_v2_000230b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_ll_mode_sense10_v2_000230b8"))) () ")")) (argument_list "(unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (( "(") (identifier "unaff_s1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0x2c") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (number_literal "0x134") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_1080" (& "&") (identifier "local_1080")) (, ",") (number_literal "1") (, ",") (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")")))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" (else "else") (compound_statement "{\n        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));\n      }" ({ "{") (expression_statement "iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110));" (assignment_expression "iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_sg_ll_mode_sense6_000230c4)\n                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_ll_mode_sense6_000230c4)" (( "(") (pointer_expression "*(code *)PTR_sg_ll_mode_sense6_000230c4" (* "*") (cast_expression "(code *)PTR_sg_ll_mode_sense6_000230c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_ll_mode_sense6_000230c4"))) () ")")) (argument_list "(unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,\n                            *(undefined4 *)(unaff_s0 + 0x3110))" (( "(") (identifier "unaff_s1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0x2c") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (number_literal "0xfc") (, ",") (number_literal "1") (, ",") (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")")))) () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar11 != 0) {\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }\n        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n        if (-1 < iVar6) goto LAB_00010c68;\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010c68;\n      }" ({ "{") (if_statement "if (iVar11 == 9) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }\n        else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" (if "if") (parenthesized_expression "(iVar11 == 9)" (( "(") (binary_expression "iVar11 == 9" (identifier "iVar11") (== "==") (number_literal "9")) () ")")) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);\n        }" ({ "{") (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x2334)" (( "(") (binary_expression "PTR_00023064 + 0x2334" (identifier "PTR_00023064") (+ "+") (number_literal "0x2334")) () ")"))) (; ";")) (} "}")) (else_clause "else if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" (else "else") (if_statement "if (iVar11 == 5) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }\n        else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" (if "if") (parenthesized_expression "(iVar11 == 5)" (( "(") (binary_expression "iVar11 == 5" (identifier "iVar11") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);\n        }" ({ "{") (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x2380)" (( "(") (binary_expression "PTR_00023064 + 0x2380" (identifier "PTR_00023064") (+ "+") (number_literal "0x2380")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" (else "else") (compound_statement "{\n          (*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);\n        }" ({ "{") (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)\n                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110))" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023098)" (( "(") (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023098" (* "*") (cast_expression "(code *)PTR_sg_get_category_sense_str_00023098" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_get_category_sense_str_00023098"))) () ")")) (argument_list "(iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110))" (( "(") (identifier "iVar11") (, ",") (number_literal "0x50") (, ",") (identifier "auStack_107c") (, ",") (pointer_expression "*(undefined4 *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(undefined4 *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x23d8,auStack_107c)" (( "(") (binary_expression "PTR_00023064 + 0x23d8" (identifier "PTR_00023064") (+ "+") (number_literal "0x23d8")) (, ",") (identifier "auStack_107c") () ")"))) (; ";")) (} "}")))))) (expression_statement "iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" (( "(") (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" (* "*") (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_cmds_close_device_000230e0"))) () ")")) (argument_list "(unaff_s1)" (( "(") (identifier "unaff_s1") () ")")))) (; ";")) (if_statement "if (-1 < iVar6) goto LAB_00010c68;" (if "if") (parenthesized_expression "(-1 < iVar6)" (( "(") (binary_expression "-1 < iVar6" (number_literal "-1") (< "<") (identifier "iVar6")) () ")")) (goto_statement "goto LAB_00010c68;" (goto "goto") (statement_identifier "LAB_00010c68") (; ";"))) (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-iVar6)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" (( "(") (pointer_expression "*(code *)PTR_safe_strerror_0002309c" (* "*") (cast_expression "(code *)PTR_safe_strerror_0002309c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safe_strerror_0002309c"))) () ")")) (argument_list "(-iVar6)" (( "(") (unary_expression "-iVar6" (- "-") (identifier "iVar6")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" (( "(") (binary_expression "PTR_00023064 + 0x23f0" (identifier "PTR_00023064") (+ "+") (number_literal "0x23f0")) (, ",") (identifier "uVar7") () ")"))) (; ";")) (goto_statement "goto LAB_00010c68;" (goto "goto") (statement_identifier "LAB_00010c68") (; ";")) (} "}"))) (expression_statement "iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);" (assignment_expression "iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0)" (parenthesized_expression "(*(code *)PTR_sg_msense_calc_length_000230a0)" (( "(") (pointer_expression "*(code *)PTR_sg_msense_calc_length_000230a0" (* "*") (cast_expression "(code *)PTR_sg_msense_calc_length_000230a0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_msense_calc_length_000230a0"))) () ")")) (argument_list "(&local_102c,0x134,local_108c,0)" (( "(") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (number_literal "0x134") (, ",") (identifier "local_108c") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (local_1080 < 1) {\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }\n      else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" (if "if") (parenthesized_expression "(local_1080 < 1)" (( "(") (binary_expression "local_1080 < 1" (identifier "local_1080") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }\n      }" ({ "{") (if_statement "if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }" (if "if") (parenthesized_expression "((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6))" (( "(") (binary_expression "(*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)" (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) != 0)" (( "(") (binary_expression "*(int *)(unaff_s0 + 0x3110) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(1 < iVar6)" (( "(") (binary_expression "1 < iVar6" (number_literal "1") (< "<") (identifier "iVar6")) () ")"))) () ")")) (compound_statement "{\nLAB_00011344:\n          iVar13 = 0x10;\n          local_10a0 = (char *)0x0;\n          puVar9 = PTR_00023064 + 0x20d0;\n          puVar10 = PTR_00023064 + 0x20d4;\n          do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);\n        }" ({ "{") (labeled_statement "LAB_00011344:\n          iVar13 = 0x10;" (statement_identifier "LAB_00011344") (: ":") (expression_statement "iVar13 = 0x10;" (assignment_expression "iVar13 = 0x10" (identifier "iVar13") (= "=") (number_literal "0x10")) (; ";"))) (expression_statement "local_10a0 = (char *)0x0;" (assignment_expression "local_10a0 = (char *)0x0" (identifier "local_10a0") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar9 = PTR_00023064 + 0x20d0;" (assignment_expression "puVar9 = PTR_00023064 + 0x20d0" (identifier "puVar9") (= "=") (binary_expression "PTR_00023064 + 0x20d0" (identifier "PTR_00023064") (+ "+") (number_literal "0x20d0"))) (; ";")) (expression_statement "puVar10 = PTR_00023064 + 0x20d4;" (assignment_expression "puVar10 = PTR_00023064 + 0x20d4" (identifier "puVar10") (= "=") (binary_expression "PTR_00023064 + 0x20d4" (identifier "PTR_00023064") (+ "+") (number_literal "0x20d4"))) (; ";")) (do_statement "do {\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          } while ((int)local_10a0 < iVar6);" (do "do") (compound_statement "{\n            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);\n            pcVar12 = local_10a0;\n            do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);\n            iVar13 = iVar13 + 0x10;\n            local_10a0 = (char *)((int)local_10a0 + 0x10);\n            (*(code *)PTR_putchar_000230b0)(10);\n          }" ({ "{") (expression_statement "puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);" (assignment_expression "puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0)" (identifier "puVar15") (= "=") (cast_expression "(undefined1 *)((int)&local_102c + (int)local_10a0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&local_102c + (int)local_10a0)" (( "(") (binary_expression "(int)&local_102c + (int)local_10a0" (cast_expression "(int)&local_102c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&local_102c" (& "&") (identifier "local_102c"))) (+ "+") (cast_expression "(int)local_10a0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_10a0"))) () ")")))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,puVar9,(int)local_10a0 >> 4)" (( "(") (number_literal "1") (, ",") (identifier "puVar9") (, ",") (binary_expression "(int)local_10a0 >> 4" (cast_expression "(int)local_10a0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_10a0")) (>> ">>") (number_literal "4")) () ")"))) (; ";")) (expression_statement "pcVar12 = local_10a0;" (assignment_expression "pcVar12 = local_10a0" (identifier "pcVar12") (= "=") (identifier "local_10a0")) (; ";")) (do_statement "do {\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            } while ((char *)iVar13 != pcVar12);" (do "do") (compound_statement "{\n              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);\n              if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }\n              pcVar12 = (char *)((int)pcVar12 + 1);\n              puVar15 = puVar15 + 1;\n            }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,puVar10,*puVar15)" (( "(") (number_literal "1") (, ",") (identifier "puVar10") (, ",") (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) () ")"))) (; ";")) (if_statement "if (iVar6 <= (int)pcVar12) {\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }" (if "if") (parenthesized_expression "(iVar6 <= (int)pcVar12)" (( "(") (binary_expression "iVar6 <= (int)pcVar12" (identifier "iVar6") (<= "<=") (cast_expression "(int)pcVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar12"))) () ")")) (compound_statement "{\n                (*(code *)PTR_putchar_000230b0)(10);\n                break;\n              }" ({ "{") (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" (( "(") (pointer_expression "*(code *)PTR_putchar_000230b0" (* "*") (cast_expression "(code *)PTR_putchar_000230b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putchar_000230b0"))) () ")")) (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "pcVar12 = (char *)((int)pcVar12 + 1);" (assignment_expression "pcVar12 = (char *)((int)pcVar12 + 1)" (identifier "pcVar12") (= "=") (cast_expression "(char *)((int)pcVar12 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar12 + 1)" (( "(") (binary_expression "(int)pcVar12 + 1" (cast_expression "(int)pcVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar12")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "puVar15 = puVar15 + 1;" (assignment_expression "puVar15 = puVar15 + 1" (identifier "puVar15") (= "=") (binary_expression "puVar15 + 1" (identifier "puVar15") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((char *)iVar13 != pcVar12)" (( "(") (binary_expression "(char *)iVar13 != pcVar12" (cast_expression "(char *)iVar13" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "iVar13")) (!= "!=") (identifier "pcVar12")) () ")")) (; ";")) (expression_statement "iVar13 = iVar13 + 0x10;" (assignment_expression "iVar13 = iVar13 + 0x10" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 0x10" (identifier "iVar13") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "local_10a0 = (char *)((int)local_10a0 + 0x10);" (assignment_expression "local_10a0 = (char *)((int)local_10a0 + 0x10)" (identifier "local_10a0") (= "=") (cast_expression "(char *)((int)local_10a0 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_10a0 + 0x10)" (( "(") (binary_expression "(int)local_10a0 + 0x10" (cast_expression "(int)local_10a0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_10a0")) (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" (( "(") (pointer_expression "*(code *)PTR_putchar_000230b0" (* "*") (cast_expression "(code *)PTR_putchar_000230b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putchar_000230b0"))) () ")")) (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)local_10a0 < iVar6)" (( "(") (binary_expression "(int)local_10a0 < iVar6" (cast_expression "(int)local_10a0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_10a0")) (< "<") (identifier "iVar6")) () ")")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" (else "else") (compound_statement "{\n        if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }\n        if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;\n      }" ({ "{") (if_statement "if (0x134 - local_1080 < iVar6) {\n          iVar6 = 0x134 - local_1080;\n        }" (if "if") (parenthesized_expression "(0x134 - local_1080 < iVar6)" (( "(") (binary_expression "0x134 - local_1080 < iVar6" (binary_expression "0x134 - local_1080" (number_literal "0x134") (- "-") (identifier "local_1080")) (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n          iVar6 = 0x134 - local_1080;\n        }" ({ "{") (expression_statement "iVar6 = 0x134 - local_1080;" (assignment_expression "iVar6 = 0x134 - local_1080" (identifier "iVar6") (= "=") (binary_expression "0x134 - local_1080" (number_literal "0x134") (- "-") (identifier "local_1080"))) (; ";")) (} "}"))) (if_statement "if (iVar6 < 2) {\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }\n        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" (if "if") (parenthesized_expression "(iVar6 < 2)" (( "(") (binary_expression "iVar6 < 2" (identifier "iVar6") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);\n        }" ({ "{") (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x20ac)" (( "(") (binary_expression "PTR_00023064 + 0x20ac" (identifier "PTR_00023064") (+ "+") (number_literal "0x20ac")) () ")"))) (; ";")) (} "}")) (else_clause "else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" (else "else") (if_statement "if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;" (if "if") (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) != 0)" (( "(") (binary_expression "*(int *)(unaff_s0 + 0x3110) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00011344;" (goto "goto") (statement_identifier "LAB_00011344") (; ";"))))) (} "}")))) (if_statement "if (local_108c == 0) {\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }\n      else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }" (if "if") (parenthesized_expression "(local_108c == 0)" (( "(") (binary_expression "local_108c == 0" (identifier "local_108c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_1094 = 0x100;\n        puVar9 = PTR_00023064 + 0x1d9c;\n        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));\n        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);\n      }" ({ "{") (expression_statement "local_1094 = 0x100;" (assignment_expression "local_1094 = 0x100" (identifier "local_1094") (= "=") (number_literal "0x100")) (; ";")) (expression_statement "puVar9 = PTR_00023064 + 0x1d9c;" (assignment_expression "puVar9 = PTR_00023064 + 0x1d9c" (identifier "puVar9") (= "=") (binary_expression "PTR_00023064 + 0x1d9c" (identifier "PTR_00023064") (+ "+") (number_literal "0x1d9c"))) (; ";")) (expression_statement "puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));" (assignment_expression "puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff))" (identifier "puVar15") (= "=") (cast_expression "(undefined1 *)((int)local_1020 + (local_1028 & 0xff))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_1020 + (local_1028 & 0xff))" (( "(") (binary_expression "(int)local_1020 + (local_1028 & 0xff)" (cast_expression "(int)local_1020" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1020")) (+ "+") (parenthesized_expression "(local_1028 & 0xff)" (( "(") (binary_expression "local_1028 & 0xff" (identifier "local_1028") (& "&") (number_literal "0xff")) () ")"))) () ")")))) (; ";")) (expression_statement "pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);" (assignment_expression "pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2)" (identifier "pcVar12") (= "=") (binary_expression "auStack_ff8 + ((local_1028 & 0xff) - 2)" (identifier "auStack_ff8") (+ "+") (parenthesized_expression "((local_1028 & 0xff) - 2)" (( "(") (binary_expression "(local_1028 & 0xff) - 2" (parenthesized_expression "(local_1028 & 0xff)" (( "(") (binary_expression "local_1028 & 0xff" (identifier "local_1028") (& "&") (number_literal "0xff")) () ")")) (- "-") (number_literal "2")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }" (else "else") (compound_statement "{\n        local_1094 = 0x20;\n        puVar9 = PTR_00023064 + 0x1d94;\n        puVar15 = auStack_1026 + (local_102c & 0xff);\n        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;\n      }" ({ "{") (expression_statement "local_1094 = 0x20;" (assignment_expression "local_1094 = 0x20" (identifier "local_1094") (= "=") (number_literal "0x20")) (; ";")) (expression_statement "puVar9 = PTR_00023064 + 0x1d94;" (assignment_expression "puVar9 = PTR_00023064 + 0x1d94" (identifier "puVar9") (= "=") (binary_expression "PTR_00023064 + 0x1d94" (identifier "PTR_00023064") (+ "+") (number_literal "0x1d94"))) (; ";")) (expression_statement "puVar15 = auStack_1026 + (local_102c & 0xff);" (assignment_expression "puVar15 = auStack_1026 + (local_102c & 0xff)" (identifier "puVar15") (= "=") (binary_expression "auStack_1026 + (local_102c & 0xff)" (identifier "auStack_1026") (+ "+") (parenthesized_expression "(local_102c & 0xff)" (( "(") (binary_expression "local_102c & 0xff" (identifier "local_102c") (& "&") (number_literal "0xff")) () ")")))) (; ";")) (expression_statement "pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;" (assignment_expression "pcVar12 = acStack_1006 + (local_102c & 0xff) + 6" (identifier "pcVar12") (= "=") (binary_expression "acStack_1006 + (local_102c & 0xff) + 6" (binary_expression "acStack_1006 + (local_102c & 0xff)" (identifier "acStack_1006") (+ "+") (parenthesized_expression "(local_102c & 0xff)" (( "(") (binary_expression "local_102c & 0xff" (identifier "local_102c") (& "&") (number_literal "0xff")) () ")"))) (+ "+") (number_literal "6"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x20dc,puVar9)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x20dc" (identifier "PTR_00023064") (+ "+") (number_literal "0x20dc")) (, ",") (identifier "puVar9") () ")"))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x20ec,puVar15)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x20ec" (identifier "PTR_00023064") (+ "+") (number_literal "0x20ec")) (, ",") (identifier "puVar15") () ")"))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x2108,puVar15 + 0x10)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x2108" (identifier "PTR_00023064") (+ "+") (number_literal "0x2108")) (, ",") (binary_expression "puVar15 + 0x10" (identifier "puVar15") (+ "+") (number_literal "0x10")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x212c)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x212c" (identifier "PTR_00023064") (+ "+") (number_literal "0x212c")) () ")"))) (; ";")) (if_statement "if (puVar15[0x20] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" (if "if") (parenthesized_expression "(puVar15[0x20] == '\0')" (( "(") (binary_expression "puVar15[0x20] == '\0'" (subscript_expression "puVar15[0x20]" (identifier "puVar15") ([ "[") (number_literal "0x20") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x2150)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x2150" (identifier "PTR_00023064") (+ "+") (number_literal "0x2150")) () ")"))) (; ";")) (} "}")) (else_clause "else if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" (else "else") (if_statement "if (puVar15[0x20] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" (if "if") (parenthesized_expression "(puVar15[0x20] == '\x01')" (( "(") (binary_expression "puVar15[0x20] == '\x01'" (subscript_expression "puVar15[0x20]" (identifier "puVar15") ([ "[") (number_literal "0x20") (] "]")) (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x2174)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x2174" (identifier "PTR_00023064") (+ "+") (number_literal "0x2174")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" (else "else") (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);\n      }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x2194)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x2194" (identifier "PTR_00023064") (+ "+") (number_literal "0x2194")) () ")"))) (; ";")) (} "}")))))) (expression_statement "cVar8 = puVar15[0x21];" (assignment_expression "cVar8 = puVar15[0x21]" (identifier "cVar8") (= "=") (subscript_expression "puVar15[0x21]" (identifier "puVar15") ([ "[") (number_literal "0x21") (] "]"))) (; ";")) (if_statement "if (cVar8 == '\x01') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }\n      else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" (if "if") (parenthesized_expression "(cVar8 == '\x01')" (( "(") (binary_expression "cVar8 == '\x01'" (identifier "cVar8") (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);\n      }" ({ "{") (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" (( "(") (pointer_expression "*(code *)PTR_puts_000230d0" (* "*") (cast_expression "(code *)PTR_puts_000230d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_000230d0"))) () ")")) (argument_list "(PTR_00023064 + 0x21c4)" (( "(") (binary_expression "PTR_00023064 + 0x21c4" (identifier "PTR_00023064") (+ "+") (number_literal "0x21c4")) () ")"))) (; ";")) (} "}")) (else_clause "else if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" (else "else") (if_statement "if (cVar8 == '\0') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }\n      else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" (if "if") (parenthesized_expression "(cVar8 == '\0')" (( "(") (binary_expression "cVar8 == '\0'" (identifier "cVar8") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);\n      }" ({ "{") (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" (( "(") (pointer_expression "*(code *)PTR_puts_000230d0" (* "*") (cast_expression "(code *)PTR_puts_000230d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_000230d0"))) () ")")) (argument_list "(PTR_00023064 + 0x21b8)" (( "(") (binary_expression "PTR_00023064 + 0x21b8" (identifier "PTR_00023064") (+ "+") (number_literal "0x21b8")) () ")"))) (; ";")) (} "}")) (else_clause "else if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" (else "else") (if_statement "if (cVar8 == '\x02') {\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" (if "if") (parenthesized_expression "(cVar8 == '\x02')" (( "(") (binary_expression "cVar8 == '\x02'" (identifier "cVar8") (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);\n      }" ({ "{") (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" (( "(") (pointer_expression "*(code *)PTR_puts_000230d0" (* "*") (cast_expression "(code *)PTR_puts_000230d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_000230d0"))) () ")")) (argument_list "(PTR_00023064 + 0x21cc)" (( "(") (binary_expression "PTR_00023064 + 0x21cc" (identifier "PTR_00023064") (+ "+") (number_literal "0x21cc")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" (else "else") (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);\n      }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x21e0)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x21e0" (identifier "PTR_00023064") (+ "+") (number_literal "0x21e0")) () ")"))) (; ";")) (} "}")))))))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x21f8)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x21f8" (identifier "PTR_00023064") (+ "+") (number_literal "0x21f8")) () ")"))) (; ";")) (if_statement "if (puVar15[0x22] == '\0') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }\n      else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" (if "if") (parenthesized_expression "(puVar15[0x22] == '\0')" (( "(") (binary_expression "puVar15[0x22] == '\0'" (subscript_expression "puVar15[0x22]" (identifier "puVar15") ([ "[") (number_literal "0x22") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);\n      }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x2150)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x2150" (identifier "PTR_00023064") (+ "+") (number_literal "0x2150")) () ")"))) (; ";")) (} "}")) (else_clause "else if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" (else "else") (if_statement "if (puVar15[0x22] == '\x01') {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }\n      else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" (if "if") (parenthesized_expression "(puVar15[0x22] == '\x01')" (( "(") (binary_expression "puVar15[0x22] == '\x01'" (subscript_expression "puVar15[0x22]" (identifier "puVar15") ([ "[") (number_literal "0x22") (] "]")) (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);\n      }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x2174)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x2174" (identifier "PTR_00023064") (+ "+") (number_literal "0x2174")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" (else "else") (compound_statement "{\n        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);\n      }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x221c)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x221c" (identifier "PTR_00023064") (+ "+") (number_literal "0x221c")) () ")"))) (; ";")) (} "}")))))) (if_statement "if ((byte)puVar15[0x23] < 5) {\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }" (if "if") (parenthesized_expression "((byte)puVar15[0x23] < 5)" (( "(") (binary_expression "(byte)puVar15[0x23] < 5" (cast_expression "(byte)puVar15[0x23]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "puVar15[0x23]" (identifier "puVar15") ([ "[") (number_literal "0x23") (] "]"))) (< "<") (number_literal "5")) () ")")) (compound_statement "{\n                    \n                    \n        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();\n        return iVar11;\n      }" ({ "{") (expression_statement "iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))();" (assignment_expression "iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))()" (identifier "iVar11") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           ))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           )" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           )" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)\n                           )" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" (* "*") (cast_expression "(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)" (( "(") (binary_expression "PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460" (binary_expression "PTR_00023064 + (uint)(byte)puVar15[0x23] * 4" (identifier "PTR_00023064") (+ "+") (binary_expression "(uint)(byte)puVar15[0x23] * 4" (cast_expression "(uint)(byte)puVar15[0x23]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)puVar15[0x23]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "puVar15[0x23]" (identifier "puVar15") ([ "[") (number_literal "0x23") (] "]")))) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x2460")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar11;" (return "return") (identifier "iVar11") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x21e0)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x21e0" (identifier "PTR_00023064") (+ "+") (number_literal "0x21e0")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24])" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x2250,puVar15[0x24])" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x2250" (identifier "PTR_00023064") (+ "+") (number_literal "0x2250")) (, ",") (subscript_expression "puVar15[0x24]" (identifier "puVar15") ([ "[") (number_literal "0x24") (] "]")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25])" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x226c,puVar15[0x25])" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x226c" (identifier "PTR_00023064") (+ "+") (number_literal "0x226c")) (, ",") (subscript_expression "puVar15[0x25]" (identifier "puVar15") ([ "[") (number_literal "0x25") (] "]")) () ")"))) (; ";")) (if_statement "if ((puVar15[0x25] & 4) == 0) {\n        puVar9 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }" (if "if") (parenthesized_expression "((puVar15[0x25] & 4) == 0)" (( "(") (binary_expression "(puVar15[0x25] & 4) == 0" (parenthesized_expression "(puVar15[0x25] & 4)" (( "(") (binary_expression "puVar15[0x25] & 4" (subscript_expression "puVar15[0x25]" (identifier "puVar15") ([ "[") (number_literal "0x25") (] "]")) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        puVar9 = PTR_00023064 + 0x1db0;\n      }" ({ "{") (expression_statement "puVar9 = PTR_00023064 + 0x1db0;" (assignment_expression "puVar9 = PTR_00023064 + 0x1db0" (identifier "puVar9") (= "=") (binary_expression "PTR_00023064 + 0x1db0" (identifier "PTR_00023064") (+ "+") (number_literal "0x1db0"))) (; ";")) (} "}")) (else_clause "else {\n        puVar9 = PTR_00023064 + 0x1da8;\n      }" (else "else") (compound_statement "{\n        puVar9 = PTR_00023064 + 0x1da8;\n      }" ({ "{") (expression_statement "puVar9 = PTR_00023064 + 0x1da8;" (assignment_expression "puVar9 = PTR_00023064 + 0x1da8" (identifier "puVar9") (= "=") (binary_expression "PTR_00023064 + 0x1da8" (identifier "PTR_00023064") (+ "+") (number_literal "0x1da8"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x2280,puVar9)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x2280" (identifier "PTR_00023064") (+ "+") (number_literal "0x2280")) (, ",") (identifier "puVar9") () ")"))) (; ";")) (expression_statement "puVar9 = PTR_00023064;" (assignment_expression "puVar9 = PTR_00023064" (identifier "puVar9") (= "=") (identifier "PTR_00023064")) (; ";")) (if_statement "if ((puVar15[0x25] & 2) == 0) {\n        puVar10 = PTR_00023064 + 0x1db0;\n      }\n      else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" (if "if") (parenthesized_expression "((puVar15[0x25] & 2) == 0)" (( "(") (binary_expression "(puVar15[0x25] & 2) == 0" (parenthesized_expression "(puVar15[0x25] & 2)" (( "(") (binary_expression "puVar15[0x25] & 2" (subscript_expression "puVar15[0x25]" (identifier "puVar15") ([ "[") (number_literal "0x25") (] "]")) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        puVar10 = PTR_00023064 + 0x1db0;\n      }" ({ "{") (expression_statement "puVar10 = PTR_00023064 + 0x1db0;" (assignment_expression "puVar10 = PTR_00023064 + 0x1db0" (identifier "puVar10") (= "=") (binary_expression "PTR_00023064 + 0x1db0" (identifier "PTR_00023064") (+ "+") (number_literal "0x1db0"))) (; ";")) (} "}")) (else_clause "else {\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" (else "else") (compound_statement "{\n        puVar10 = PTR_00023064 + 0x1da8;\n      }" ({ "{") (expression_statement "puVar10 = PTR_00023064 + 0x1da8;" (assignment_expression "puVar10 = PTR_00023064 + 0x1da8" (identifier "puVar10") (= "=") (binary_expression "PTR_00023064 + 0x1da8" (identifier "PTR_00023064") (+ "+") (number_literal "0x1da8"))) (; ";")) (} "}")))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,PTR_00023064 + 0x2290,puVar10)" (( "(") (number_literal "1") (, ",") (binary_expression "PTR_00023064 + 0x2290" (identifier "PTR_00023064") (+ "+") (number_literal "0x2290")) (, ",") (identifier "puVar10") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" (( "(") (pointer_expression "*(code *)PTR_puts_000230d0" (* "*") (cast_expression "(code *)PTR_puts_000230d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_000230d0"))) () ")")) (argument_list "(PTR_00023064 + 0x22ac)" (( "(") (binary_expression "PTR_00023064 + 0x22ac" (identifier "PTR_00023064") (+ "+") (number_literal "0x22ac")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" (( "(") (pointer_expression "*(code *)PTR_puts_000230d0" (* "*") (cast_expression "(code *)PTR_puts_000230d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_000230d0"))) () ")")) (argument_list "(PTR_00023064 + 0x22e8)" (( "(") (binary_expression "PTR_00023064 + 0x22e8" (identifier "PTR_00023064") (+ "+") (number_literal "0x22e8")) () ")"))) (; ";")) (expression_statement "puVar10 = PTR_00023064 + 0x2330;" (assignment_expression "puVar10 = PTR_00023064 + 0x2330" (identifier "puVar10") (= "=") (binary_expression "PTR_00023064 + 0x2330" (identifier "PTR_00023064") (+ "+") (number_literal "0x2330"))) (; ";")) (expression_statement "puVar5 = PTR_00023064 + 0x2324;" (assignment_expression "puVar5 = PTR_00023064 + 0x2324" (identifier "puVar5") (= "=") (binary_expression "PTR_00023064 + 0x2324" (identifier "PTR_00023064") (+ "+") (number_literal "0x2324"))) (; ";")) (expression_statement "puVar14 = PTR_00023064 + 0x2320;" (assignment_expression "puVar14 = PTR_00023064 + 0x2320" (identifier "puVar14") (= "=") (binary_expression "PTR_00023064 + 0x2320" (identifier "PTR_00023064") (+ "+") (number_literal "0x2320"))) (; ";")) (do_statement "do {\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      } while (iVar6 < local_1094);" (do "do") (compound_statement "{\n        iVar13 = 0;\n        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);\n        cVar8 = *pcVar12;\n        if (cVar8 == '\x01') goto LAB_00011564;\nLAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }\n        bVar1 = iVar13 == 7;\n        iVar13 = iVar13 + 1;\n        if (bVar1) goto LAB_00011584;\n        while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }\n        iVar6 = iVar6 + 0x10;\n        pcVar12 = pcVar12 + 0x10;\n        (*(code *)PTR_putchar_000230b0)(10);\n      }" ({ "{") (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,puVar9 + 0x2314,iVar6 >> 4)" (( "(") (number_literal "1") (, ",") (binary_expression "puVar9 + 0x2314" (identifier "puVar9") (+ "+") (number_literal "0x2314")) (, ",") (binary_expression "iVar6 >> 4" (identifier "iVar6") (>> ">>") (number_literal "4")) () ")"))) (; ";")) (expression_statement "cVar8 = *pcVar12;" (assignment_expression "cVar8 = *pcVar12" (identifier "cVar8") (= "=") (pointer_expression "*pcVar12" (* "*") (identifier "pcVar12"))) (; ";")) (if_statement "if (cVar8 == '\x01') goto LAB_00011564;" (if "if") (parenthesized_expression "(cVar8 == '\x01')" (( "(") (binary_expression "cVar8 == '\x01'" (identifier "cVar8") (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (goto_statement "goto LAB_00011564;" (goto "goto") (statement_identifier "LAB_00011564") (; ";"))) (labeled_statement "LAB_0001150c:\n        if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" (statement_identifier "LAB_0001150c") (: ":") (if_statement "if (cVar8 == '\0') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }\n        else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" (if "if") (parenthesized_expression "(cVar8 == '\0')" (( "(") (binary_expression "cVar8 == '\0'" (identifier "cVar8") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);\n        }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar14);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar14)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,puVar14)" (( "(") (number_literal "1") (, ",") (identifier "puVar14") () ")"))) (; ";")) (} "}")) (else_clause "else if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" (else "else") (if_statement "if (cVar8 == '\x02') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }\n        else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" (if "if") (parenthesized_expression "(cVar8 == '\x02')" (( "(") (binary_expression "cVar8 == '\x02'" (identifier "cVar8") (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);\n        }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,puVar9 + 9000)" (( "(") (number_literal "1") (, ",") (binary_expression "puVar9 + 9000" (identifier "puVar9") (+ "+") (number_literal "9000")) () ")"))) (; ";")) (} "}")) (else_clause "else if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" (else "else") (if_statement "if (cVar8 == '\x03') {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }\n        else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" (if "if") (parenthesized_expression "(cVar8 == '\x03')" (( "(") (binary_expression "cVar8 == '\x03'" (identifier "cVar8") (== "==") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) () ")")) (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);\n        }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,puVar9 + 0x232c)" (( "(") (number_literal "1") (, ",") (binary_expression "puVar9 + 0x232c" (identifier "puVar9") (+ "+") (number_literal "0x232c")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" (else "else") (compound_statement "{\n          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);\n        }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar10);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar10)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,puVar10)" (( "(") (number_literal "1") (, ",") (identifier "puVar10") () ")"))) (; ";")) (} "}"))))))))) (expression_statement "bVar1 = iVar13 == 7;" (assignment_expression "bVar1 = iVar13 == 7" (identifier "bVar1") (= "=") (binary_expression "iVar13 == 7" (identifier "iVar13") (== "==") (number_literal "7"))) (; ";")) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar1) goto LAB_00011584;" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (goto_statement "goto LAB_00011584;" (goto "goto") (statement_identifier "LAB_00011584") (; ";"))) (while_statement "while (iVar13 != 0x10) {\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }" (while "while") (parenthesized_expression "(iVar13 != 0x10)" (( "(") (binary_expression "iVar13 != 0x10" (identifier "iVar13") (!= "!=") (number_literal "0x10")) () ")")) (compound_statement "{\n          while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }\n        }" ({ "{") (while_statement "while( true ) {\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            cVar8 = pcVar12[iVar13];\n            if (cVar8 != '\x01') goto LAB_0001150c;\nLAB_00011564:\n            iVar16 = iVar13 + 1;\n            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);\n            bVar1 = iVar13 != 7;\n            iVar13 = iVar16;\n            if (bVar1) break;\nLAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);\n          }" ({ "{") (expression_statement "cVar8 = pcVar12[iVar13];" (assignment_expression "cVar8 = pcVar12[iVar13]" (identifier "cVar8") (= "=") (subscript_expression "pcVar12[iVar13]" (identifier "pcVar12") ([ "[") (identifier "iVar13") (] "]"))) (; ";")) (if_statement "if (cVar8 != '\x01') goto LAB_0001150c;" (if "if") (parenthesized_expression "(cVar8 != '\x01')" (( "(") (binary_expression "cVar8 != '\x01'" (identifier "cVar8") (!= "!=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (goto_statement "goto LAB_0001150c;" (goto "goto") (statement_identifier "LAB_0001150c") (; ";"))) (labeled_statement "LAB_00011564:\n            iVar16 = iVar13 + 1;" (statement_identifier "LAB_00011564") (: ":") (expression_statement "iVar16 = iVar13 + 1;" (assignment_expression "iVar16 = iVar13 + 1" (identifier "iVar16") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "(*(code *)PTR___printf_chk_000230a4)(1,puVar5);" (call_expression "(*(code *)PTR___printf_chk_000230a4)(1,puVar5)" (parenthesized_expression "(*(code *)PTR___printf_chk_000230a4)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_000230a4" (* "*") (cast_expression "(code *)PTR___printf_chk_000230a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_000230a4"))) () ")")) (argument_list "(1,puVar5)" (( "(") (number_literal "1") (, ",") (identifier "puVar5") () ")"))) (; ";")) (expression_statement "bVar1 = iVar13 != 7;" (assignment_expression "bVar1 = iVar13 != 7" (identifier "bVar1") (= "=") (binary_expression "iVar13 != 7" (identifier "iVar13") (!= "!=") (number_literal "7"))) (; ";")) (expression_statement "iVar13 = iVar16;" (assignment_expression "iVar13 = iVar16" (identifier "iVar13") (= "=") (identifier "iVar16")) (; ";")) (if_statement "if (bVar1) break;" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_00011584:\n            (*(code *)PTR_putchar_000230b0)(0x20);" (statement_identifier "LAB_00011584") (: ":") (expression_statement "(*(code *)PTR_putchar_000230b0)(0x20);" (call_expression "(*(code *)PTR_putchar_000230b0)(0x20)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" (( "(") (pointer_expression "*(code *)PTR_putchar_000230b0" (* "*") (cast_expression "(code *)PTR_putchar_000230b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putchar_000230b0"))) () ")")) (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")"))) (; ";"))) (} "}"))) (} "}"))) (expression_statement "iVar6 = iVar6 + 0x10;" (assignment_expression "iVar6 = iVar6 + 0x10" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 0x10" (identifier "iVar6") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "pcVar12 = pcVar12 + 0x10;" (assignment_expression "pcVar12 = pcVar12 + 0x10" (identifier "pcVar12") (= "=") (binary_expression "pcVar12 + 0x10" (identifier "pcVar12") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "(*(code *)PTR_putchar_000230b0)(10);" (call_expression "(*(code *)PTR_putchar_000230b0)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000230b0)" (( "(") (pointer_expression "*(code *)PTR_putchar_000230b0" (* "*") (cast_expression "(code *)PTR_putchar_000230b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putchar_000230b0"))) () ")")) (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 < local_1094)" (( "(") (binary_expression "iVar6 < local_1094" (identifier "iVar6") (< "<") (identifier "local_1094")) () ")")) (; ";")) (expression_statement "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (identifier "unaff_s1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" (( "(") (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" (* "*") (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_cmds_close_device_000230e0"))) () ")")) (argument_list "(unaff_s1)" (( "(") (identifier "unaff_s1") () ")"))))) (; ";")) (if_statement "if ((int)unaff_s1 < 0) {\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }" (if "if") (parenthesized_expression "((int)unaff_s1 < 0)" (( "(") (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n        goto LAB_00010f64;\n      }" ({ "{") (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" (( "(") (pointer_expression "*(code *)PTR_safe_strerror_0002309c" (* "*") (cast_expression "(code *)PTR_safe_strerror_0002309c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safe_strerror_0002309c"))) () ")")) (argument_list "(-(int)unaff_s1)" (( "(") (unary_expression "-(int)unaff_s1" (- "-") (cast_expression "(int)unaff_s1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s1"))) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" (( "(") (binary_expression "PTR_00023064 + 0x23f0" (identifier "PTR_00023064") (+ "+") (number_literal "0x23f0")) (, ",") (identifier "uVar7") () ")"))) (; ";")) (goto_statement "goto LAB_00010f64;" (goto "goto") (statement_identifier "LAB_00010f64") (; ";")) (} "}"))) (if_statement "if (*(int *)(unaff_s0 + 0x3110) == 0) {\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }" (if "if") (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) == 0)" (( "(") (binary_expression "*(int *)(unaff_s0 + 0x3110) == 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar11 = 0;\n        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);\n        if (iVar6 == 0) goto LAB_00010e64;\n      }" ({ "{") (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);" (assignment_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)" (( "(") (pointer_expression "*(code *)PTR_sg_if_can2stderr_000230bc" (* "*") (cast_expression "(code *)PTR_sg_if_can2stderr_000230bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_if_can2stderr_000230bc"))) () ")")) (argument_list "(PTR_00023064 + 0x2404,0)" (( "(") (binary_expression "PTR_00023064 + 0x2404" (identifier "PTR_00023064") (+ "+") (number_literal "0x2404")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) goto LAB_00010e64;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00010e64;" (goto "goto") (statement_identifier "LAB_00010e64") (; ";"))) (} "}"))) (goto_statement "goto LAB_00010cf8;" (goto "goto") (statement_identifier "LAB_00010cf8") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00010cdc:\n  iVar11 = 1;" (statement_identifier "LAB_00010cdc") (: ":") (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" (identifier "iVar11") (= "=") (number_literal "1")) (; ";"))) (expression_statement "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);" (call_expression "(*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc)" (parenthesized_expression "(*(code *)PTR_puts_000230d0)" (( "(") (pointer_expression "*(code *)PTR_puts_000230d0" (* "*") (cast_expression "(code *)PTR_puts_000230d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_000230d0"))) () ")")) (argument_list "(PTR_00023064 + 0x1dbc)" (( "(") (binary_expression "PTR_00023064 + 0x1dbc" (identifier "PTR_00023064") (+ "+") (number_literal "0x1dbc")) () ")"))) (; ";")) (labeled_statement "LAB_00010cf8:\n  while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }" (statement_identifier "LAB_00010cf8") (: ":") (while_statement "while (local_2c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }" (while "while") (parenthesized_expression "(local_2c != *(int *)puVar3)" (( "(") (binary_expression "local_2c != *(int *)puVar3" (identifier "local_2c") (!= "!=") (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000230dc)();\nLAB_000118b4:\n    iVar11 = -1;\n    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);\nLAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);\n    if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }\nLAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }\n    if (iVar11 < 0) {\n      iVar11 = 99;\n    }\n  }" ({ "{") (expression_statement "(*(code *)PTR___stack_chk_fail_000230dc)();" (call_expression "(*(code *)PTR___stack_chk_fail_000230dc)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000230dc)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000230dc" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000230dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000230dc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_000118b4:\n    iVar11 = -1;" (statement_identifier "LAB_000118b4") (: ":") (expression_statement "iVar11 = -1;" (assignment_expression "iVar11 = -1" (identifier "iVar11") (= "=") (number_literal "-1")) (; ";"))) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x2040)" (( "(") (binary_expression "PTR_00023064 + 0x2040" (identifier "PTR_00023064") (+ "+") (number_literal "0x2040")) () ")"))) (; ";")) (labeled_statement "LAB_00010f20:\n    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (statement_identifier "LAB_00010f20") (: ":") (expression_statement "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);" (assignment_expression "unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (identifier "unaff_s1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000230e0)" (( "(") (pointer_expression "*(code *)PTR_sg_cmds_close_device_000230e0" (* "*") (cast_expression "(code *)PTR_sg_cmds_close_device_000230e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_cmds_close_device_000230e0"))) () ")")) (argument_list "(unaff_s1)" (( "(") (identifier "unaff_s1") () ")"))))) (; ";"))) (if_statement "if ((int)unaff_s1 < 0) {\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }" (if "if") (parenthesized_expression "((int)unaff_s1 < 0)" (( "(") (binary_expression "(int)unaff_s1 < 0" (cast_expression "(int)unaff_s1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);\n      if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }\n    }" ({ "{") (expression_statement "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);" (assignment_expression "uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1)" (parenthesized_expression "(*(code *)PTR_safe_strerror_0002309c)" (( "(") (pointer_expression "*(code *)PTR_safe_strerror_0002309c" (* "*") (cast_expression "(code *)PTR_safe_strerror_0002309c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safe_strerror_0002309c"))) () ")")) (argument_list "(-(int)unaff_s1)" (( "(") (unary_expression "-(int)unaff_s1" (- "-") (cast_expression "(int)unaff_s1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s1"))) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x23f0,uVar7)" (( "(") (binary_expression "PTR_00023064 + 0x23f0" (identifier "PTR_00023064") (+ "+") (number_literal "0x23f0")) (, ",") (identifier "uVar7") () ")"))) (; ";")) (if_statement "if (iVar11 == 0) {\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);\n      }" ({ "{") (labeled_statement "LAB_00010f64:\n        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" (statement_identifier "LAB_00010f64") (: ":") (expression_statement "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);" (assignment_expression "iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_000230a8)" (( "(") (pointer_expression "*(code *)PTR_sg_convert_errno_000230a8" (* "*") (cast_expression "(code *)PTR_sg_convert_errno_000230a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_convert_errno_000230a8"))) () ")")) (argument_list "(unaff_s1)" (( "(") (identifier "unaff_s1") () ")")))) (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00010c68:\n    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" (statement_identifier "LAB_00010c68") (: ":") (if_statement "if ((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))\n    {\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" (if "if") (parenthesized_expression "((*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))" (( "(") (binary_expression "(*(int *)(unaff_s0 + 0x3110) == 0) &&\n       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0)" (parenthesized_expression "(*(int *)(unaff_s0 + 0x3110) == 0)" (( "(") (binary_expression "*(int *)(unaff_s0 + 0x3110) == 0" (pointer_expression "*(int *)(unaff_s0 + 0x3110)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3110)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3110)" (( "(") (binary_expression "unaff_s0 + 0x3110" (identifier "unaff_s0") (+ "+") (number_literal "0x3110")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0)" (( "(") (comma_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0" (assignment_expression "iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_000230bc)" (( "(") (pointer_expression "*(code *)PTR_sg_if_can2stderr_000230bc" (* "*") (cast_expression "(code *)PTR_sg_if_can2stderr_000230bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_if_can2stderr_000230bc"))) () ")")) (argument_list "(PTR_00023064 + 0x2404,iVar11)" (( "(") (binary_expression "PTR_00023064 + 0x2404" (identifier "PTR_00023064") (+ "+") (number_literal "0x2404")) (, ",") (identifier "iVar11") () ")")))) (, ",") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\nLAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);\n    }" ({ "{") (labeled_statement "LAB_00010e64:\n      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);" (statement_identifier "LAB_00010e64") (: ":") (expression_statement "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);" (call_expression "(*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418)" (parenthesized_expression "(*(code *)PTR_pr2serr_000230d8)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000230d8" (* "*") (cast_expression "(code *)PTR_pr2serr_000230d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000230d8"))) () ")")) (argument_list "(PTR_00023064 + 0x2418)" (( "(") (binary_expression "PTR_00023064 + 0x2418" (identifier "PTR_00023064") (+ "+") (number_literal "0x2418")) () ")"))) (; ";"))) (} "}")))) (if_statement "if (iVar11 < 0) {\n      iVar11 = 99;\n    }" (if "if") (parenthesized_expression "(iVar11 < 0)" (( "(") (binary_expression "iVar11 < 0" (identifier "iVar11") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar11 = 99;\n    }" ({ "{") (expression_statement "iVar11 = 99;" (assignment_expression "iVar11 = 99" (identifier "iVar11") (= "=") (number_literal "99")) (; ";")) (} "}"))) (} "}")))) (return_statement "return iVar11;" (return "return") (identifier "iVar11") (; ";")) (} "}")))
(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: (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: (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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (array_declarator declarator: (identifier) size: (number_literal))) (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: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (false))) (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)))))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (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: (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) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (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 (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (true))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (true))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (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: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) 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)) (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (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)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (unary_expression argument: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (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: (identifier) right: (number_literal))) consequence: (compound_statement (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_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: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))) consequence: (compound_statement (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (identifier) (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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (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 (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal)))) (expression_statement (assignment_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: (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 (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (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: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (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: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (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: (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: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (identifier) (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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))) (goto_statement label: (statement_identifier)))) (goto_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: (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) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (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: (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) (number_literal) (pointer_expression argument: (identifier)) (number_literal) (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)))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (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 (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) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (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)) (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (identifier) (number_literal))))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (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 (number_literal) (identifier) (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (break_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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (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)))))))) (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (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 (number_literal) (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (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 (number_literal) (binary_expression left: (identifier) right: (number_literal)))))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (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 (number_literal) (binary_expression left: (identifier) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) 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: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list)))) (return_statement (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (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 (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (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 (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (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 (number_literal) (identifier)))))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (goto_statement label: (statement_identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (break_statement)) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (goto_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 (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 (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (goto_statement label: (statement_identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (labeled_statement label: (statement_identifier) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) body: (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))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (unary_expression argument: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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: (number_literal)))))))) (return_statement (identifier)))))

int MASKED(int param_1,int param_2)

{
  bool bVar1;
  bool bVar2;
  undefined *puVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  int iVar6;
  undefined4 uVar7;
  char cVar8;
  undefined *puVar9;
  undefined *puVar10;
  char *unaff_s0;
  undefined4 *unaff_s1;
  int iVar11;
  char *pcVar12;
  int iVar13;
  undefined *puVar14;
  undefined1 *puVar15;
  int iVar16;
  undefined *puVar17;
  code *pcVar18;
  char *local_10a0;
  int local_1094;
  int local_108c;
  int local_1080;
  undefined1 auStack_107c [80];
  uint local_102c;
  uint local_1028;
  undefined1 auStack_1026 [2];
  undefined4 local_1024;
  undefined2 local_1020 [13];
  char acStack_1006 [12];
  undefined2 local_ffa;
  undefined1 auStack_ff8 [4044];
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_000230e4;
  puVar10 = PTR_00023064;
  puVar9 = PTR_DAT_00023058;
  local_2c = *(int *)PTR___stack_chk_guard_000230e4;
  if (1 < param_1) {
    local_1094 = -1;
    iVar11 = 1;
    puVar14 = PTR_00023064 + 0x1f94;
    puVar17 = PTR_00023064 + 0x1f98;
    local_10a0 = (char *)0x0;
    local_108c = 0;
    puVar5 = PTR_00023064 + 0x1fa0;
    bVar2 = false;
    bVar1 = false;
    puVar4 = (undefined4 *)(param_2 + 4);
    do {
      while( true ) {
        unaff_s1 = puVar4;
        unaff_s0 = (char *)*unaff_s1;
        iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f90);
        if (iVar6 != 0) break;
        *(int *)(puVar9 + 0x3110) = *(int *)(puVar9 + 0x3110) + 1;
LAB_00010ac8:
        iVar11 = iVar11 + 1;
        puVar4 = unaff_s1 + 1;
        if (param_1 == iVar11) goto LAB_00010b80;
      }
      iVar6 = (*(code *)PTR_strncmp_0002308c)(unaff_s0,puVar14,3);
      if (iVar6 == 0) {
        local_1094 = (*(code *)PTR_strtoul_000230c8)(unaff_s0 + 3,0,0);
        bVar2 = true;
        goto LAB_00010ac8;
      }
      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar17);
      if (iVar6 == 0) {
        bVar1 = true;
        goto LAB_00010ac8;
      }
      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar10 + 0x1f9c);
      if (iVar6 == 0) {
        local_108c = 1;
        goto LAB_00010ac8;
      }
      iVar6 = (*(code *)PTR_strcmp_000230f0)(unaff_s0,puVar5);
      if (iVar6 == 0) {
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fb4,PTR_00023064 + 0x1fa4);
        iVar11 = 0;
        goto LAB_00010cf8;
      }
      if (*unaff_s0 == '-') {
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fcc,unaff_s0);
        goto LAB_00010cdc;
      }
      iVar11 = iVar11 + 1;
      if (local_10a0 != (char *)0x0) {
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1fe8);
        goto LAB_00010cdc;
      }
      puVar4 = unaff_s1 + 1;
      local_10a0 = unaff_s0;
    } while (param_1 != iVar11);
LAB_00010b80:
    unaff_s0 = PTR_DAT_00023058;
    unaff_s1 = unaff_s1 + 1;
    if (local_10a0 != (char *)0x0) {
      unaff_s1 = (undefined4 *)
                 (*(code *)PTR_sg_cmds_open_device_00023090)
                           (local_10a0,0,*(undefined4 *)(PTR_DAT_00023058 + 0x3110));
      if ((int)unaff_s1 < 0) {
        unaff_s1 = (undefined4 *)-(int)unaff_s1;
        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(unaff_s1);
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x1ffc,local_10a0,uVar7);
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);
        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);
        goto LAB_00010c68;
      }
      if (bVar1) {
        (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);
        iVar11 = *(int *)(unaff_s0 + 0x3110);
        if (local_108c == 0) {
          acStack_1006[7] = 1;
          local_102c = *(uint *)PTR_mode10_hdr_00023068;
          local_1024 = 0x6c010128;
          acStack_1006[10] = '\n';
          acStack_1006[0xb] = '\x02';
          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);
          if (iVar11 != 0) {
            iVar11 = 2;
          }
          uVar7 = 0x134;
          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;
        }
        else {
          local_1020[0] = 0x2c68;
          acStack_1006[9] = 1;
          local_ffa = 0xa02;
          local_102c = *(uint *)PTR_mode6_hdr_00023070;
          local_1028 = *(uint *)PTR_block_descriptor_0002306c;
          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);
          if (iVar11 != 0) {
            iVar11 = 2;
          }
          uVar7 = 0x76;
          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;
        }
        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);
        iVar6 = *(int *)(unaff_s0 + 0x3110);
        if (iVar11 != 0) {
          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2028,auStack_107c);
          goto LAB_00010f20;
        }
LAB_00010f18:
        if (iVar6 == 0) goto LAB_00010f20;
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2010);
        goto LAB_00010f20;
      }
      if (bVar2) {
        if (local_108c == 0) {
          if (0xff < local_1094) {
            iVar11 = -1;
            (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x206c);
            goto LAB_00010f20;
          }
          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);
          local_1024 = 0x6c010128;
          local_102c = *(uint *)PTR_mode10_hdr_00023068;
          local_1028 = *(uint *)(PTR_mode10_hdr_00023068 + 4);
          (*(code *)PTR_memset_000230b4)(&local_ffa,0,0x100);
          iVar11 = *(int *)(unaff_s0 + 0x3110);
          auStack_ff8[local_1094 + -2] = 0x81;
          acStack_1006[7] = 2;
          acStack_1006[10] = '\n';
          acStack_1006[0xb] = '\x02';
          if (iVar11 != 0) {
            iVar11 = 2;
          }
          uVar7 = 0x134;
          pcVar18 = (code *)PTR_sg_ll_mode_select10_000230ac;
        }
        else {
          if (0x1f < local_1094) goto LAB_000118b4;
          (*(code *)PTR_memset_000230b4)(&local_102c,0,0x134);
          local_1020[0] = 0x2c68;
          local_1028 = *(uint *)PTR_block_descriptor_0002306c;
          local_102c = *(uint *)PTR_mode6_hdr_00023070;
          local_1024 = *(undefined4 *)(PTR_block_descriptor_0002306c + 4);
          (*(code *)PTR_memset_000230b4)(auStack_ff8,0,0x20);
          iVar11 = *(int *)(unaff_s0 + 0x3110);
          auStack_ff8[local_1094] = 0x81;
          acStack_1006[9] = 2;
          local_ffa = 0xa02;
          if (iVar11 != 0) {
            iVar11 = 2;
          }
          uVar7 = 0x76;
          pcVar18 = (code *)PTR_sg_ll_mode_select6_000230d4;
        }
        iVar11 = (*pcVar18)(unaff_s1,1,0,&local_102c,uVar7,1,iVar11);
        iVar6 = *(int *)(unaff_s0 + 0x3110);
        if (iVar11 != 0) {
          (*(code *)PTR_sg_get_category_sense_str_00023098)(iVar11,0x50,auStack_107c);
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2084,local_1094,auStack_107c);
          goto LAB_00010f20;
        }
        goto LAB_00010f18;
      }
      local_1080 = 0;
      if (local_108c == 0) {
        iVar11 = (*(code *)PTR_sg_ll_mode_sense10_v2_000230b8)
                           (unaff_s1,0,0,0,0x2c,1,&local_102c,0x134,0,&local_1080,1,
                            *(undefined4 *)(unaff_s0 + 0x3110));
      }
      else {
        iVar11 = (*(code *)PTR_sg_ll_mode_sense6_000230c4)
                           (unaff_s1,0,0,0x2c,0,&local_102c,0xfc,1,
                            *(undefined4 *)(unaff_s0 + 0x3110));
      }
      if (iVar11 != 0) {
        if (iVar11 == 9) {
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2334);
        }
        else if (iVar11 == 5) {
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2380);
        }
        else {
          (*(code *)PTR_sg_get_category_sense_str_00023098)
                    (iVar11,0x50,auStack_107c,*(undefined4 *)(unaff_s0 + 0x3110));
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23d8,auStack_107c);
        }
        iVar6 = (*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);
        if (-1 < iVar6) goto LAB_00010c68;
        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-iVar6);
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);
        goto LAB_00010c68;
      }
      iVar6 = (*(code *)PTR_sg_msense_calc_length_000230a0)(&local_102c,0x134,local_108c,0);
      if (local_1080 < 1) {
        if ((*(int *)(unaff_s0 + 0x3110) != 0) && (1 < iVar6)) {
LAB_00011344:
          iVar13 = 0x10;
          local_10a0 = (char *)0x0;
          puVar9 = PTR_00023064 + 0x20d0;
          puVar10 = PTR_00023064 + 0x20d4;
          do {
            puVar15 = (undefined1 *)((int)&local_102c + (int)local_10a0);
            (*(code *)PTR___printf_chk_000230a4)(1,puVar9,(int)local_10a0 >> 4);
            pcVar12 = local_10a0;
            do {
              (*(code *)PTR___printf_chk_000230a4)(1,puVar10,*puVar15);
              if (iVar6 <= (int)pcVar12) {
                (*(code *)PTR_putchar_000230b0)(10);
                break;
              }
              pcVar12 = (char *)((int)pcVar12 + 1);
              puVar15 = puVar15 + 1;
            } while ((char *)iVar13 != pcVar12);
            iVar13 = iVar13 + 0x10;
            local_10a0 = (char *)((int)local_10a0 + 0x10);
            (*(code *)PTR_putchar_000230b0)(10);
          } while ((int)local_10a0 < iVar6);
        }
      }
      else {
        if (0x134 - local_1080 < iVar6) {
          iVar6 = 0x134 - local_1080;
        }
        if (iVar6 < 2) {
          (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x20ac);
        }
        else if (*(int *)(unaff_s0 + 0x3110) != 0) goto LAB_00011344;
      }
      if (local_108c == 0) {
        local_1094 = 0x100;
        puVar9 = PTR_00023064 + 0x1d9c;
        puVar15 = (undefined1 *)((int)local_1020 + (local_1028 & 0xff));
        pcVar12 = auStack_ff8 + ((local_1028 & 0xff) - 2);
      }
      else {
        local_1094 = 0x20;
        puVar9 = PTR_00023064 + 0x1d94;
        puVar15 = auStack_1026 + (local_102c & 0xff);
        pcVar12 = acStack_1006 + (local_102c & 0xff) + 6;
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20dc,puVar9);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x20ec,puVar15);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2108,puVar15 + 0x10);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x212c);
      if (puVar15[0x20] == '\0') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);
      }
      else if (puVar15[0x20] == '\x01') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);
      }
      else {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2194);
      }
      cVar8 = puVar15[0x21];
      if (cVar8 == '\x01') {
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21c4);
      }
      else if (cVar8 == '\0') {
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21b8);
      }
      else if (cVar8 == '\x02') {
        (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x21cc);
      }
      else {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21f8);
      if (puVar15[0x22] == '\0') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2150);
      }
      else if (puVar15[0x22] == '\x01') {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2174);
      }
      else {
        (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x221c);
      }
      if ((byte)puVar15[0x23] < 5) {
                    /* WARNING: Could not emulate address calculation at 0x00011224 */
                    /* WARNING: Treating indirect jump as call */
        iVar11 = (*(code *)(&_gp_1 + *(int *)(PTR_00023064 + (uint)(byte)puVar15[0x23] * 4 + 0x2460)
                           ))();
        return iVar11;
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x21e0);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2250,puVar15[0x24]);
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x226c,puVar15[0x25]);
      if ((puVar15[0x25] & 4) == 0) {
        puVar9 = PTR_00023064 + 0x1db0;
      }
      else {
        puVar9 = PTR_00023064 + 0x1da8;
      }
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2280,puVar9);
      puVar9 = PTR_00023064;
      if ((puVar15[0x25] & 2) == 0) {
        puVar10 = PTR_00023064 + 0x1db0;
      }
      else {
        puVar10 = PTR_00023064 + 0x1da8;
      }
      iVar6 = 0;
      (*(code *)PTR___printf_chk_000230a4)(1,PTR_00023064 + 0x2290,puVar10);
      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22ac);
      (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x22e8);
      puVar10 = PTR_00023064 + 0x2330;
      puVar5 = PTR_00023064 + 0x2324;
      puVar14 = PTR_00023064 + 0x2320;
      do {
        iVar13 = 0;
        (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x2314,iVar6 >> 4);
        cVar8 = *pcVar12;
        if (cVar8 == '\x01') goto LAB_00011564;
LAB_0001150c:
        if (cVar8 == '\0') {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar14);
        }
        else if (cVar8 == '\x02') {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 9000);
        }
        else if (cVar8 == '\x03') {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar9 + 0x232c);
        }
        else {
          (*(code *)PTR___printf_chk_000230a4)(1,puVar10);
        }
        bVar1 = iVar13 == 7;
        iVar13 = iVar13 + 1;
        if (bVar1) goto LAB_00011584;
        while (iVar13 != 0x10) {
          while( true ) {
            cVar8 = pcVar12[iVar13];
            if (cVar8 != '\x01') goto LAB_0001150c;
LAB_00011564:
            iVar16 = iVar13 + 1;
            (*(code *)PTR___printf_chk_000230a4)(1,puVar5);
            bVar1 = iVar13 != 7;
            iVar13 = iVar16;
            if (bVar1) break;
LAB_00011584:
            (*(code *)PTR_putchar_000230b0)(0x20);
          }
        }
        iVar6 = iVar6 + 0x10;
        pcVar12 = pcVar12 + 0x10;
        (*(code *)PTR_putchar_000230b0)(10);
      } while (iVar6 < local_1094);
      unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);
      if ((int)unaff_s1 < 0) {
        uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);
        (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);
        goto LAB_00010f64;
      }
      if (*(int *)(unaff_s0 + 0x3110) == 0) {
        iVar11 = 0;
        iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,0);
        if (iVar6 == 0) goto LAB_00010e64;
      }
      goto LAB_00010cf8;
    }
  }
LAB_00010cdc:
  iVar11 = 1;
  (*(code *)PTR_puts_000230d0)(PTR_00023064 + 0x1dbc);
LAB_00010cf8:
  while (local_2c != *(int *)puVar3) {
    (*(code *)PTR___stack_chk_fail_000230dc)();
LAB_000118b4:
    iVar11 = -1;
    (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2040);
LAB_00010f20:
    unaff_s1 = (undefined4 *)(*(code *)PTR_sg_cmds_close_device_000230e0)(unaff_s1);
    if ((int)unaff_s1 < 0) {
      uVar7 = (*(code *)PTR_safe_strerror_0002309c)(-(int)unaff_s1);
      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x23f0,uVar7);
      if (iVar11 == 0) {
LAB_00010f64:
        iVar11 = (*(code *)PTR_sg_convert_errno_000230a8)(unaff_s1);
      }
    }
LAB_00010c68:
    if ((*(int *)(unaff_s0 + 0x3110) == 0) &&
       (iVar6 = (*(code *)PTR_sg_if_can2stderr_000230bc)(PTR_00023064 + 0x2404,iVar11), iVar6 == 0))
    {
LAB_00010e64:
      (*(code *)PTR_pr2serr_000230d8)(PTR_00023064 + 0x2418);
    }
    if (iVar11 < 0) {
      iVar11 = 99;
    }
  }
  return iVar11;
}

