
int main(int argc,char **argv)

{
  undefined *puVar1;
  char *pcVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined4 uVar6;
  undefined1 auStack_e0 [16];
  undefined *puStack_d0;
  undefined4 uStack_cc;
  undefined1 *puStack_c8;
  undefined4 uStack_c0;
  undefined1 auStack_bc [12];
  uint local_b0;
  uint local_ac;
  uint local_a8;
  undefined4 local_a4;
  int local_a0;
  opts_t opts;
  char b [80];
  
  puVar1 = PTR___stack_chk_guard_000231c0;
  opts.do_eject = false;
  opts.do_immed = false;
  opts.do_load = false;
  opts.do_loej = false;
  opts.do_noflush = false;
  opts.do_readonly = false;
  opts.do_start = false;
  opts.do_stop = false;
  opts.opt_new = false;
  opts.verbose_given = false;
  opts.version_given = false;
  opts._11_1_ = 0;
  opts.do_fl = -1;
  opts.do_help = 0;
  opts.do_mod = 0;
  opts.do_pc = 0;
  opts.verbose = 0;
  opts.device_name = (char *)0x0;
  iVar3 = *(int *)PTR___stack_chk_guard_000231c0;
  iVar4 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);
  if (iVar4 == 0) {
    opts.opt_new = true;
    iVar4 = new_parse_cmd_line(&opts,argc,argv);
    if (iVar4 != 0) goto LAB_00010bbc;
    if (opts.opt_new == false) {
      iVar4 = old_parse_cmd_line(&opts,argc,argv);
      goto LAB_00010cc4;
    }
    if (opts.do_help == 0) goto LAB_00010a88;
LAB_00010c24:
    iVar4 = 0;
    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);
    goto LAB_00010bbc;
  }
  opts._8_4_ = opts._8_4_ & 0xffffff;
  iVar4 = old_parse_cmd_line(&opts,argc,argv);
  if (iVar4 != 0) goto LAB_00010bbc;
  if (opts.opt_new == false) {
    if (opts.do_help != 0) {
LAB_00010ce4:
      iVar4 = 0;
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);
      goto LAB_00010bbc;
    }
  }
  else {
    iVar4 = new_parse_cmd_line(&opts,argc,argv);
LAB_00010cc4:
    if (iVar4 != 0) goto LAB_00010bbc;
    if (opts.do_help != 0) {
      if (opts.opt_new != false) goto LAB_00010c24;
      goto LAB_00010ce4;
    }
  }
LAB_00010a88:
  if (opts.verbose_given == false) {
LAB_00010c54:
    if (opts.version_given != false) {
      iVar4 = 0;
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);
      goto LAB_00010bbc;
    }
  }
  else {
    if (opts.version_given != false) {
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);
      goto LAB_00010c54;
    }
  }
  if ((opts.do_start != false) && (opts.do_stop != false)) {
    iVar4 = 0x1f;
    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);
    goto LAB_00010bbc;
  }
  if (opts.do_load == false) {
    if ((opts.do_eject != false) || (opts.do_stop != false)) {
      opts.do_start = false;
      goto LAB_00010ae8;
    }
    if (opts.opt_new == false) {
      if ((opts._0_4_ & 0xff) == 0) goto LAB_00010e7c;
      goto LAB_00010aec;
    }
    if ((opts._0_4_ & 0xff) != 0) {
      if (opts.do_start == false) goto LAB_00010ae4;
      goto LAB_00010aec;
    }
LAB_00010e7c:
    if (opts.do_fl != -1) goto LAB_00010aec;
    if (opts.do_pc == 0) {
      opts.do_start = true;
      opts.do_stop = false;
    }
    if (opts.device_name == (char *)0x0) goto LAB_00010ea8;
  }
  else {
    if (opts.do_eject != false) {
      iVar4 = 0x1f;
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);
      goto LAB_00010bbc;
    }
LAB_00010ae4:
    opts.do_start = true;
LAB_00010ae8:
    opts.do_start = SUB21(opts._6_2_,1);
    opts.do_stop = SUB21(opts._6_2_,0);
LAB_00010aec:
    if (opts.device_name == (char *)0x0) {
LAB_00010ea8:
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);
      if (opts.opt_new == false) {
        iVar4 = 1;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);
      }
      else {
        iVar4 = 1;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);
      }
      goto LAB_00010bbc;
    }
    if (-1 < opts.do_fl) {
      if (opts.do_start == false) {
        iVar4 = 0x1f;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);
        goto LAB_00010bbc;
      }
      if (0 < opts.do_pc) {
        iVar4 = 0x1f;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);
        goto LAB_00010bbc;
      }
    }
  }
  iVar5 = (*(code *)PTR_sg_cmds_open_device_00023178)
                    (opts.device_name,opts.do_readonly,opts.verbose);
  pcVar2 = opts.device_name;
  if (iVar5 < 0) {
    if (opts.verbose != 0) {
      uVar6 = (*(code *)PTR_safe_strerror_00023188)(-iVar5);
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,pcVar2,uVar6);
    }
    iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);
  }
  else {
    if (opts.do_fl < 0) {
      local_b0 = (uint)opts._4_4_ >> 0x18;
      if (opts.do_pc < 1) {
        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;
        local_ac = opts._0_4_ & 0xff;
        local_a0 = opts.verbose;
        local_a4 = 1;
        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);
      }
      else {
        local_a0 = opts.verbose;
        local_a8 = 0;
        local_a4 = 1;
        local_ac = 0;
        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);
      }
    }
    else {
      local_a0 = opts.verbose;
      local_a4 = 1;
      local_a8 = 1;
      local_ac = 1;
      local_b0 = 1;
      iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);
    }
    if (iVar4 == 0) {
      iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);
      if (iVar5 < 0) {
        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);
      }
    }
    else {
      if (opts.verbose < 2) {
        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);
      }
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);
      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);
    }
  }
  if ((opts.verbose == 0) &&
     (iVar5 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4), iVar5 == 0)) {
    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);
  }
  if (iVar4 < 0) {
    iVar4 = 99;
  }
LAB_00010bbc:
  if (iVar3 != *(int *)puVar1) {
    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();
    puStack_c8 = auStack_e0;
    puStack_d0 = PTR___libc_csu_fini_00023140;
    (*(code *)PTR___libc_start_main_0002319c)
              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);
    do {
                    /* WARNING: Do nothing block with infinite loop */
    } while( true );
  }
  return iVar4;
}



int main(undefined4 param_1,undefined4 param_2)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined1 auStack_e0 [16];
  undefined *puStack_d0;
  undefined4 uStack_cc;
  undefined1 *puStack_c8;
  undefined4 uStack_c0;
  undefined1 auStack_bc [12];
  uint local_b0;
  uint local_ac;
  uint local_a8;
  undefined4 local_a4;
  int local_a0;
  undefined4 local_90;
  undefined4 local_8c;
  undefined4 local_88;
  int local_84;
  int local_80;
  undefined4 local_7c;
  int local_78;
  int local_74;
  int local_70;
  undefined1 auStack_6c [80];
  int local_1c;
  
  puVar1 = PTR___stack_chk_guard_000231c0;
  local_90 = 0;
  local_8c = 0;
  local_88 = 0;
  local_84 = -1;
  local_80 = 0;
  local_7c = 0;
  local_78 = 0;
  local_74 = 0;
  local_70 = 0;
  local_1c = *(int *)PTR___stack_chk_guard_000231c0;
  iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);
  if (iVar2 == 0) {
    local_88 = CONCAT13(1,local_88._1_3_);
    iVar2 = FUN_00011150(&local_90,param_1,param_2);
    if (iVar2 != 0) goto LAB_00010bbc;
    if (local_88._0_1_ == '\0') {
      iVar2 = FUN_00011504(&local_90,param_1,param_2);
      goto LAB_00010cc4;
    }
    if (local_80 == 0) goto LAB_00010a88;
LAB_00010c24:
    iVar2 = 0;
    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);
    goto LAB_00010bbc;
  }
  local_88 = local_88 & 0xffffff;
  iVar2 = FUN_00011504(&local_90);
  if (iVar2 != 0) goto LAB_00010bbc;
  if (local_88._0_1_ == '\0') {
    if (local_80 != 0) {
LAB_00010ce4:
      iVar2 = 0;
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);
      goto LAB_00010bbc;
    }
  }
  else {
    iVar2 = FUN_00011150(&local_90,param_1,param_2);
LAB_00010cc4:
    if (iVar2 != 0) goto LAB_00010bbc;
    if (local_80 != 0) {
      if (local_88._0_1_ != '\0') goto LAB_00010c24;
      goto LAB_00010ce4;
    }
  }
LAB_00010a88:
  if (local_88._1_1_ == '\0') {
LAB_00010c54:
    if (local_88._2_1_ != '\0') {
      iVar2 = 0;
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);
      goto LAB_00010bbc;
    }
  }
  else {
    if (local_88._2_1_ != '\0') {
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);
      goto LAB_00010c54;
    }
  }
  if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {
    iVar2 = 0x1f;
    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);
    goto LAB_00010bbc;
  }
  if (local_90._2_1_ == '\0') {
    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {
      local_8c._2_2_ = (ushort)(byte)local_8c;
      goto LAB_00010ae8;
    }
    if (local_88._0_1_ == '\0') {
      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;
      goto LAB_00010aec;
    }
    if ((local_90 & 0xff) != 0) {
      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;
      goto LAB_00010aec;
    }
LAB_00010e7c:
    if (local_84 != -1) goto LAB_00010aec;
    if (local_78 == 0) {
      local_8c = CONCAT22(local_8c._0_2_,0x100);
    }
    if (local_70 == 0) goto LAB_00010ea8;
  }
  else {
    if (local_90._0_1_ != '\0') {
      iVar2 = 0x1f;
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);
      goto LAB_00010bbc;
    }
LAB_00010ae4:
    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);
LAB_00010ae8:
LAB_00010aec:
    if (local_70 == 0) {
LAB_00010ea8:
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);
      if (local_88._0_1_ == '\0') {
        iVar2 = 1;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);
      }
      else {
        iVar2 = 1;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);
      }
      goto LAB_00010bbc;
    }
    if (-1 < local_84) {
      if (local_8c._2_1_ == '\0') {
        iVar2 = 0x1f;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);
        goto LAB_00010bbc;
      }
      if (0 < local_78) {
        iVar2 = 0x1f;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);
        goto LAB_00010bbc;
      }
    }
  }
  iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);
  iVar2 = local_70;
  if (iVar3 < 0) {
    if (local_74 != 0) {
      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);
    }
    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);
  }
  else {
    if (local_84 < 0) {
      local_b0 = local_8c >> 0x18;
      if (local_78 < 1) {
        local_a8 = local_8c >> 8 & 0xff;
        local_ac = local_90 & 0xff;
        local_a0 = local_74;
        local_a4 = 1;
        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);
      }
      else {
        local_a0 = local_74;
        local_a8 = 0;
        local_a4 = 1;
        local_ac = 0;
        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);
      }
    }
    else {
      local_a0 = local_74;
      local_a4 = 1;
      local_a8 = 1;
      local_ac = 1;
      local_b0 = 1;
      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);
    }
    if (iVar2 == 0) {
      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);
      if (iVar3 < 0) {
        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);
      }
    }
    else {
      if (local_74 < 2) {
        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);
      }
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);
      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);
    }
  }
  if ((local_74 == 0) &&
     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {
    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);
  }
  if (iVar2 < 0) {
    iVar2 = 99;
  }
LAB_00010bbc:
  if (local_1c != *(int *)puVar1) {
    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();
    puStack_c8 = auStack_e0;
    puStack_d0 = PTR___libc_csu_fini_00023140;
    (*(code *)PTR___libc_start_main_0002319c)
              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);
    do {
                    /* WARNING: Do nothing block with infinite loop */
    } while( true );
  }
  return iVar2;
}


lui gp,0x2
addiu gp,gp,-0x58a0
addu gp,gp,t9
addiu sp,sp,-0xc0
lw t9,-0x7f74(gp)
li v0,-0x1
sw s2,0xb0(sp)
sw s0,0xa8(sp)
addiu s0,sp,0x30
sw gp,0x28(sp)
sw s3,0xb4(sp)
or s3,a0,zero
sw s4,0xb8(sp)
or s4,a1,zero
sw ra,0xbc(sp)
sw s1,0xac(sp)
sw zero,0x30(sp)
sw zero,0x4(s0)
sw zero,0x8(s0)
sw v0,0x3c(sp)
lw s2,-0x7f60(gp)
lw a0,-0x7fcc(gp)
sw zero,0x10(s0)
sw zero,0x14(s0)
sw zero,0x18(s0)
addiu a0,a0,0x2b84
sw zero,0x1c(s0)
sw zero,0x20(s0)
lw v0,0x0(s2)
sw v0,0xa4(sp)
jalr t9
_nop
or a2,s4,zero
lw gp,0x28(sp)
beq v0,zero,0x00010bec
_or a1,s3,zero
lw t9,-0x7fcc(gp)
or a0,s0,zero
addiu t9,t9,0x1504
bal 0x00011504
_sb zero,0x38(sp)
lw gp,0x28(sp)
bne v0,zero,0x00010bbc
_or s1,v0,zero
lbu v0,0x38(sp)
bne v0,zero,0x00010ca4
_lw v0,0x40(sp)
bne v0,zero,0x00010ce4
_lw a0,-0x7fcc(gp)
lbu v0,0x39(sp)
beq v0,zero,0x00010c54
_lbu v0,0x3a(sp)
bne v0,zero,0x00010c40
_lw a0,-0x7fcc(gp)
lbu v0,0x36(sp)
beq v0,zero,0x00010ab0
_lbu v1,0x32(sp)
lbu v1,0x37(sp)
bne v1,zero,0x00010dc0
_lbu v1,0x32(sp)
bne v1,zero,0x00010c80
_lbu a0,0x30(sp)
bne a0,zero,0x00010cfc
_lbu v1,0x37(sp)
bne v1,zero,0x00010cfc
_lbu a0,0x38(sp)
beq a0,zero,0x00010e74
_lbu v1,0x33(sp)
beq v1,zero,0x00010e7c
_nop
bne v0,zero,0x00010aec
_lw a0,0x50(sp)
li v0,0x1
sb v0,0x36(sp)
lw a0,0x50(sp)
beq a0,zero,0x00010ea8
_lw v0,0x3c(sp)
bltz v0,0x00010b0c
_lbu v0,0x36(sp)
beq v0,zero,0x00010ef8
_lw v0,0x48(sp)
bgtz v0,0x00010ee0
_lw t9,-0x7f70(gp)
lw t9,-0x7fa8(gp)
lw a2,0x4c(sp)
jalr t9
_lbu a1,0x35(sp)
lw gp,0x28(sp)
bltz v0,0x00010d9c
_or s0,v0,zero
lw a2,0x3c(sp)
lbu a1,0x31(sp)
bgez a2,0x00010d68
_lw v1,0x4c(sp)
lw a3,0x48(sp)
blez a3,0x00010e34
_lbu v0,0x34(sp)
lw t9,-0x7f94(gp)
or a0,s0,zero
lw a2,0x44(sp)
sw v1,0x20(sp)
li v1,0x1
sw zero,0x18(sp)
sw v1,0x1c(sp)
sw zero,0x14(sp)
jalr t9
_sw v0,0x10(sp)
lw gp,0x28(sp)
or s1,v0,zero
bne s1,zero,0x00010d04
_lw a3,0x4c(sp)
lw t9,-0x7f64(gp)
jalr t9
_or a0,s0,zero
bgez v0,0x00010ba4
_lw gp,0x28(sp)
lw t9,-0x7f90(gp)
jalr t9
_subu a0,zero,v0
lw gp,0x28(sp)
or s1,v0,zero
lw v0,0x4c(sp)
beq v0,zero,0x00010d38
_lw a0,-0x7fcc(gp)
bgez s1,0x00010bbc
_nop
li s1,0x63
lw a0,0xa4(sp)
or v0,s1,zero
lw v1,0x0(s2)
bne a0,v1,0x00010f60
_lw ra,0xbc(sp)
lw s4,0xb8(sp)
lw s3,0xb4(sp)
lw s2,0xb0(sp)
lw s1,0xac(sp)
lw s0,0xa8(sp)
jr ra
_addiu sp,sp,0xc0
lw t9,-0x7fcc(gp)
li v0,0x1
or a0,s0,zero
addiu t9,t9,0x1150
bal 0x00011150
_sb v0,0x38(sp)
lw gp,0x28(sp)
bne v0,zero,0x00010bbc
_or s1,v0,zero
lbu v0,0x38(sp)
beq v0,zero,0x00010e10
_lw v0,0x40(sp)
beq v0,zero,0x00010a88
_lbu v0,0x39(sp)
lw a0,-0x7fcc(gp)
or s1,zero,zero
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x1da4
b 0x00010bbc
_lw gp,0x28(sp)
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x2b98
lw gp,0x28(sp)
lbu v0,0x3a(sp)
beq v0,zero,0x00010a9c
_lbu v0,0x36(sp)
lw a1,-0x7fcc(gp)
or s1,zero,zero
lw a0,-0x7fcc(gp)
lw t9,-0x7f70(gp)
addiu a1,a1,0x2bcc
jalr t9
_addiu a0,a0,0x2bdc
b 0x00010bbc
_lw gp,0x28(sp)
beq a0,zero,0x00010ae4
_li v0,0x1
lw a0,-0x7fcc(gp)
li s1,0x1f
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x2c20
b 0x00010bbc
_lw gp,0x28(sp)
lw t9,-0x7fcc(gp)
or a2,s4,zero
or a1,s3,zero
addiu t9,t9,0x1150
bal 0x00011150
_or a0,s0,zero
lw gp,0x28(sp)
or s1,v0,zero
bne s1,zero,0x00010bbc
_lw v0,0x40(sp)
beq v0,zero,0x00010a88
_lbu v0,0x39(sp)
lbu v0,0x38(sp)
bne v0,zero,0x00010c24
_nop
lw a0,-0x7fcc(gp)
or s1,zero,zero
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x2490
b 0x00010bbc
_lw gp,0x28(sp)
b 0x00010ae8
_sb zero,0x36(sp)
slti v0,a3,0x2
bne v0,zero,0x00010f14
_lw t9,-0x7f9c(gp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x2d08
lw gp,0x28(sp)
lw t9,-0x7f64(gp)
jalr t9
_or a0,s0,zero
b 0x00010ba4
_lw gp,0x28(sp)
or a1,s1,zero
lw t9,-0x7f88(gp)
jalr t9
_addiu a0,a0,0x2d28
bne v0,zero,0x00010bb0
_lw gp,0x28(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x2d3c
b 0x00010bb0
_lw gp,0x28(sp)
li v0,0x1
lw t9,-0x7f94(gp)
or a3,zero,zero
sw v1,0x20(sp)
sw v0,0x1c(sp)
or a0,s0,zero
sw v0,0x18(sp)
sw v0,0x14(sp)
jalr t9
_sw v0,0x10(sp)
lw gp,0x28(sp)
b 0x00010b74
_or s1,v0,zero
lw v0,0x4c(sp)
bne v0,zero,0x00010ddc
_subu s0,zero,s0
lw t9,-0x7f90(gp)
jalr t9
_or a0,s0,zero
lw gp,0x28(sp)
b 0x00010ba4
_or s1,v0,zero
lw a0,-0x7fcc(gp)
li s1,0x1f
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x2bf0
b 0x00010bbc
_lw gp,0x28(sp)
lw t9,-0x7f98(gp)
or a0,s0,zero
jalr t9
_lw s1,0x50(sp)
lw gp,0x28(sp)
or a2,v0,zero
or a1,s1,zero
lw a0,-0x7fcc(gp)
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x2ce8
b 0x00010da8
_lw gp,0x28(sp)
lw t9,-0x7fcc(gp)
or a2,s4,zero
or a1,s3,zero
addiu t9,t9,0x1504
bal 0x00011504
_or a0,s0,zero
lw gp,0x28(sp)
b 0x00010cc4
_or s1,v0,zero
lbu t1,0x36(sp)
or a3,zero,zero
lbu t0,0x33(sp)
or a2,zero,zero
lw t9,-0x7f94(gp)
or a0,s0,zero
sw v1,0x20(sp)
li v1,0x1
sw t1,0x18(sp)
sw v1,0x1c(sp)
sw t0,0x14(sp)
jalr t9
_sw v0,0x10(sp)
lw gp,0x28(sp)
b 0x00010b74
_or s1,v0,zero
bne v1,zero,0x00010aec
_lw a0,0x50(sp)
lw v1,0x3c(sp)
li v0,-0x1
bne v1,v0,0x00010aec
_lw a0,0x50(sp)
lw v0,0x48(sp)
bne v0,zero,0x00010ea0
_li v0,0x1
sb v0,0x36(sp)
lw a0,0x50(sp)
bne a0,zero,0x00010b0c
_nop
lw a0,-0x7fcc(gp)
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x2c50
lw gp,0x28(sp)
lbu v0,0x38(sp)
beq v0,zero,0x00010f48
_lw t9,-0x7f70(gp)
lw a0,-0x7fcc(gp)
li s1,0x1
jalr t9
_addiu a0,a0,0x1da4
b 0x00010bbc
_lw gp,0x28(sp)
lw a0,-0x7fcc(gp)
li s1,0x1f
jalr t9
_addiu a0,a0,0x2ca8
b 0x00010bbc
_lw gp,0x28(sp)
lw a0,-0x7fcc(gp)
li s1,0x1f
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x2c6c
b 0x00010bbc
_lw gp,0x28(sp)
addiu s3,sp,0x54
li a1,0x50
or a0,s1,zero
jalr t9
_or a2,s3,zero
or a1,s3,zero
lw gp,0x28(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7f70(gp)
jalr t9
_addiu a0,a0,0x2bec
b 0x00010d10
_lw gp,0x28(sp)
lw a0,-0x7fcc(gp)
li s1,0x1
jalr t9
_addiu a0,a0,0x2490
b 0x00010bbc
_lw gp,0x28(sp)
lw t9,-0x7f6c(gp)
jalr t9
_nop
nop
(translation_unit "int main(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  int local_84;\n  int local_80;\n  undefined4 local_7c;\n  int local_78;\n  int local_74;\n  int local_70;\n  undefined1 auStack_6c [80];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  local_90 = 0;\n  local_8c = 0;\n  local_88 = 0;\n  local_84 = -1;\n  local_80 = 0;\n  local_7c = 0;\n  local_78 = 0;\n  local_74 = 0;\n  local_70 = 0;\n  local_1c = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  local_88 = local_88 & 0xffffff;\n  iVar2 = FUN_00011504(&local_90);\n  if (iVar2 != 0) goto LAB_00010bbc;\n  if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);\n  iVar2 = local_70;\n  if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }\n  if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar2 < 0) {\n    iVar2 = 99;\n  }\nLAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }\n  return iVar2;\n}\n\n" (function_definition "int main(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  int local_84;\n  int local_80;\n  undefined4 local_7c;\n  int local_78;\n  int local_74;\n  int local_70;\n  undefined1 auStack_6c [80];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  local_90 = 0;\n  local_8c = 0;\n  local_88 = 0;\n  local_84 = -1;\n  local_80 = 0;\n  local_7c = 0;\n  local_78 = 0;\n  local_74 = 0;\n  local_70 = 0;\n  local_1c = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  local_88 = local_88 & 0xffffff;\n  iVar2 = FUN_00011504(&local_90);\n  if (iVar2 != 0) goto LAB_00010bbc;\n  if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);\n  iVar2 = local_70;\n  if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }\n  if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar2 < 0) {\n    iVar2 = 99;\n  }\nLAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }\n  return iVar2;\n}" primitive_type (function_declarator "main(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  int local_84;\n  int local_80;\n  undefined4 local_7c;\n  int local_78;\n  int local_74;\n  int local_70;\n  undefined1 auStack_6c [80];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  local_90 = 0;\n  local_8c = 0;\n  local_88 = 0;\n  local_84 = -1;\n  local_80 = 0;\n  local_7c = 0;\n  local_78 = 0;\n  local_74 = 0;\n  local_70 = 0;\n  local_1c = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  local_88 = local_88 & 0xffffff;\n  iVar2 = FUN_00011504(&local_90);\n  if (iVar2 != 0) goto LAB_00010bbc;\n  if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);\n  iVar2 = local_70;\n  if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }\n  if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar2 < 0) {\n    iVar2 = 99;\n  }\nLAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined1 auStack_e0 [16];" type_identifier (array_declarator "auStack_e0 [16]" identifier [ number_literal ]) ;) (declaration "undefined *puStack_d0;" type_identifier (pointer_declarator "*puStack_d0" * identifier) ;) (declaration "undefined4 uStack_cc;" type_identifier identifier ;) (declaration "undefined1 *puStack_c8;" type_identifier (pointer_declarator "*puStack_c8" * identifier) ;) (declaration "undefined4 uStack_c0;" type_identifier identifier ;) (declaration "undefined1 auStack_bc [12];" type_identifier (array_declarator "auStack_bc [12]" identifier [ number_literal ]) ;) (declaration "uint local_b0;" type_identifier identifier ;) (declaration "uint local_ac;" type_identifier identifier ;) (declaration "uint local_a8;" type_identifier identifier ;) (declaration "undefined4 local_a4;" type_identifier identifier ;) (declaration "int local_a0;" primitive_type identifier ;) (declaration "undefined4 local_90;" type_identifier identifier ;) (declaration "undefined4 local_8c;" type_identifier identifier ;) (declaration "undefined4 local_88;" type_identifier identifier ;) (declaration "int local_84;" primitive_type identifier ;) (declaration "int local_80;" primitive_type identifier ;) (declaration "undefined4 local_7c;" type_identifier identifier ;) (declaration "int local_78;" primitive_type identifier ;) (declaration "int local_74;" primitive_type identifier ;) (declaration "int local_70;" primitive_type identifier ;) (declaration "undefined1 auStack_6c [80];" type_identifier (array_declarator "auStack_6c [80]" identifier [ number_literal ]) ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000231c0;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000231c0" identifier = identifier) ;) (expression_statement "local_90 = 0;" (assignment_expression "local_90 = 0" identifier = number_literal) ;) (expression_statement "local_8c = 0;" (assignment_expression "local_8c = 0" identifier = number_literal) ;) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" identifier = number_literal) ;) (expression_statement "local_84 = -1;" (assignment_expression "local_84 = -1" identifier = number_literal) ;) (expression_statement "local_80 = 0;" (assignment_expression "local_80 = 0" identifier = number_literal) ;) (expression_statement "local_7c = 0;" (assignment_expression "local_7c = 0" identifier = number_literal) ;) (expression_statement "local_78 = 0;" (assignment_expression "local_78 = 0" identifier = number_literal) ;) (expression_statement "local_74 = 0;" (assignment_expression "local_74 = 0" identifier = number_literal) ;) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_000231c0;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_000231c0" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000231c0" * (cast_expression "(int *)PTR___stack_chk_guard_000231c0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84)" identifier = (call_expression "(*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84)" (parenthesized_expression "(*(code *)PTR_getenv_000231ac)" ( (pointer_expression "*(code *)PTR_getenv_000231ac" * (cast_expression "(code *)PTR_getenv_000231ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2b84)" ( (binary_expression "PTR_00023154 + 0x2b84" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }" { (expression_statement "local_88 = CONCAT13(1,local_88._1_3_);" (assignment_expression "local_88 = CONCAT13(1,local_88._1_3_)" identifier = (call_expression "CONCAT13(1,local_88._1_3_)" identifier (argument_list "(1,local_88._1_3_)" ( number_literal , (field_expression "local_88._1_3_" identifier . field_identifier) )))) ;) (expression_statement "iVar2 = FUN_00011150(&local_90,param_1,param_2);" (assignment_expression "iVar2 = FUN_00011150(&local_90,param_1,param_2)" identifier = (call_expression "FUN_00011150(&local_90,param_1,param_2)" identifier (argument_list "(&local_90,param_1,param_2)" ( (pointer_expression "&local_90" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00010bbc;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;)) (if_statement "if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }" if (parenthesized_expression "(local_88._0_1_ == '\0')" ( (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }" { (expression_statement "iVar2 = FUN_00011504(&local_90,param_1,param_2);" (assignment_expression "iVar2 = FUN_00011504(&local_90,param_1,param_2)" identifier = (call_expression "FUN_00011504(&local_90,param_1,param_2)" identifier (argument_list "(&local_90,param_1,param_2)" ( (pointer_expression "&local_90" & identifier) , identifier , identifier )))) ;) (goto_statement "goto LAB_00010cc4;" goto statement_identifier ;) })) (if_statement "if (local_80 == 0) goto LAB_00010a88;" if (parenthesized_expression "(local_80 == 0)" ( (binary_expression "local_80 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00010a88;" goto statement_identifier ;)) (labeled_statement "LAB_00010c24:\n    iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x1da4)" ( (binary_expression "PTR_00023154 + 0x1da4" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (expression_statement "local_88 = local_88 & 0xffffff;" (assignment_expression "local_88 = local_88 & 0xffffff" identifier = (binary_expression "local_88 & 0xffffff" identifier & number_literal)) ;) (expression_statement "iVar2 = FUN_00011504(&local_90);" (assignment_expression "iVar2 = FUN_00011504(&local_90)" identifier = (call_expression "FUN_00011504(&local_90)" identifier (argument_list "(&local_90)" ( (pointer_expression "&local_90" & identifier) )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00010bbc;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;)) (if_statement "if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" if (parenthesized_expression "(local_88._0_1_ == '\0')" ( (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }" { (if_statement "if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(local_80 != 0)" ( (binary_expression "local_80 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }" { (labeled_statement "LAB_00010ce4:\n      iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2490)" ( (binary_expression "PTR_00023154 + 0x2490" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" else (compound_statement "{\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" { (expression_statement "iVar2 = FUN_00011150(&local_90,param_1,param_2);" (assignment_expression "iVar2 = FUN_00011150(&local_90,param_1,param_2)" identifier = (call_expression "FUN_00011150(&local_90,param_1,param_2)" identifier (argument_list "(&local_90,param_1,param_2)" ( (pointer_expression "&local_90" & identifier) , identifier , identifier )))) ;) (labeled_statement "LAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;" statement_identifier : (if_statement "if (iVar2 != 0) goto LAB_00010bbc;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;))) (if_statement "if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }" if (parenthesized_expression "(local_80 != 0)" ( (binary_expression "local_80 != 0" identifier != number_literal) )) (compound_statement "{\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }" { (if_statement "if (local_88._0_1_ != '\0') goto LAB_00010c24;" if (parenthesized_expression "(local_88._0_1_ != '\0')" ( (binary_expression "local_88._0_1_ != '\0'" (field_expression "local_88._0_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00010c24;" goto statement_identifier ;)) (goto_statement "goto LAB_00010ce4;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" statement_identifier : (if_statement "if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" if (parenthesized_expression "(local_88._1_1_ == '\0')" ( (binary_expression "local_88._1_1_ == '\0'" (field_expression "local_88._1_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }" { (labeled_statement "LAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" statement_identifier : (if_statement "if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(local_88._2_1_ != '\0')" ( (binary_expression "local_88._2_1_ != '\0'" (field_expression "local_88._2_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc)" ( (binary_expression "PTR_00023154 + 0x2bdc" identifier + number_literal) , (binary_expression "PTR_00023154 + 0x2bcc" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) }))) }) (else_clause "else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" else (compound_statement "{\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" { (if_statement "if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }" if (parenthesized_expression "(local_88._2_1_ != '\0')" ( (binary_expression "local_88._2_1_ != '\0'" (field_expression "local_88._2_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }" { (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2b98)" ( (binary_expression "PTR_00023154 + 0x2b98" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010c54;" goto statement_identifier ;) })) })))) (if_statement "if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }" if (parenthesized_expression "((local_8c._2_1_ != '\0') && ((byte)local_8c != 0))" ( (binary_expression "(local_8c._2_1_ != '\0') && ((byte)local_8c != 0)" (parenthesized_expression "(local_8c._2_1_ != '\0')" ( (binary_expression "local_8c._2_1_ != '\0'" (field_expression "local_8c._2_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((byte)local_8c != 0)" ( (binary_expression "(byte)local_8c != 0" (cast_expression "(byte)local_8c" ( (type_descriptor "byte" type_identifier) ) identifier) != number_literal) ))) )) (compound_statement "{\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }" { (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2bf0)" ( (binary_expression "PTR_00023154 + 0x2bf0" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (if_statement "if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" if (parenthesized_expression "(local_90._2_1_ == '\0')" ( (binary_expression "local_90._2_1_ == '\0'" (field_expression "local_90._2_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }" { (if_statement "if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }" if (parenthesized_expression "((local_90._0_1_ != '\0') || ((byte)local_8c != 0))" ( (binary_expression "(local_90._0_1_ != '\0') || ((byte)local_8c != 0)" (parenthesized_expression "(local_90._0_1_ != '\0')" ( (binary_expression "local_90._0_1_ != '\0'" (field_expression "local_90._0_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "((byte)local_8c != 0)" ( (binary_expression "(byte)local_8c != 0" (cast_expression "(byte)local_8c" ( (type_descriptor "byte" type_identifier) ) identifier) != number_literal) ))) )) (compound_statement "{\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }" { (expression_statement "local_8c._2_2_ = (ushort)(byte)local_8c;" (assignment_expression "local_8c._2_2_ = (ushort)(byte)local_8c" (field_expression "local_8c._2_2_" identifier . field_identifier) = (cast_expression "(ushort)(byte)local_8c" ( (type_descriptor "ushort" type_identifier) ) (cast_expression "(byte)local_8c" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (goto_statement "goto LAB_00010ae8;" goto statement_identifier ;) })) (if_statement "if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }" if (parenthesized_expression "(local_88._0_1_ == '\0')" ( (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }" { (if_statement "if ((local_90 & 0xff) == 0) goto LAB_00010e7c;" if (parenthesized_expression "((local_90 & 0xff) == 0)" ( (binary_expression "(local_90 & 0xff) == 0" (parenthesized_expression "(local_90 & 0xff)" ( (binary_expression "local_90 & 0xff" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00010e7c;" goto statement_identifier ;)) (goto_statement "goto LAB_00010aec;" goto statement_identifier ;) })) (if_statement "if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }" if (parenthesized_expression "((local_90 & 0xff) != 0)" ( (binary_expression "(local_90 & 0xff) != 0" (parenthesized_expression "(local_90 & 0xff)" ( (binary_expression "local_90 & 0xff" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }" { (if_statement "if (local_8c._2_1_ == '\0') goto LAB_00010ae4;" if (parenthesized_expression "(local_8c._2_1_ == '\0')" ( (binary_expression "local_8c._2_1_ == '\0'" (field_expression "local_8c._2_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00010ae4;" goto statement_identifier ;)) (goto_statement "goto LAB_00010aec;" goto statement_identifier ;) })) (labeled_statement "LAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;" statement_identifier : (if_statement "if (local_84 != -1) goto LAB_00010aec;" if (parenthesized_expression "(local_84 != -1)" ( (binary_expression "local_84 != -1" identifier != number_literal) )) (goto_statement "goto LAB_00010aec;" goto statement_identifier ;))) (if_statement "if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }" if (parenthesized_expression "(local_78 == 0)" ( (binary_expression "local_78 == 0" identifier == number_literal) )) (compound_statement "{\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }" { (expression_statement "local_8c = CONCAT22(local_8c._0_2_,0x100);" (assignment_expression "local_8c = CONCAT22(local_8c._0_2_,0x100)" identifier = (call_expression "CONCAT22(local_8c._0_2_,0x100)" identifier (argument_list "(local_8c._0_2_,0x100)" ( (field_expression "local_8c._0_2_" identifier . field_identifier) , number_literal )))) ;) })) (if_statement "if (local_70 == 0) goto LAB_00010ea8;" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00010ea8;" goto statement_identifier ;)) }) (else_clause "else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" else (compound_statement "{\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" { (if_statement "if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(local_90._0_1_ != '\0')" ( (binary_expression "local_90._0_1_ != '\0'" (field_expression "local_90._0_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }" { (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2c20)" ( (binary_expression "PTR_00023154 + 0x2c20" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (labeled_statement "LAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);" statement_identifier : (expression_statement "local_8c._2_2_ = CONCAT11(1,(byte)local_8c);" (assignment_expression "local_8c._2_2_ = CONCAT11(1,(byte)local_8c)" (field_expression "local_8c._2_2_" identifier . field_identifier) = (call_expression "CONCAT11(1,(byte)local_8c)" identifier (argument_list "(1,(byte)local_8c)" ( number_literal , (cast_expression "(byte)local_8c" ( (type_descriptor "byte" type_identifier) ) identifier) )))) ;)) (labeled_statement "LAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" statement_identifier : (labeled_statement "LAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" statement_identifier : (if_statement "if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" { (labeled_statement "LAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);" statement_identifier : (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2c50)" ( (binary_expression "PTR_00023154 + 0x2c50" identifier + number_literal) ))) ;)) (if_statement "if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" if (parenthesized_expression "(local_88._0_1_ == '\0')" ( (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2490)" ( (binary_expression "PTR_00023154 + 0x2490" identifier + number_literal) ))) ;) }) (else_clause "else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" else (compound_statement "{\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x1da4)" ( (binary_expression "PTR_00023154 + 0x1da4" identifier + number_literal) ))) ;) }))) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })))) (if_statement "if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }" if (parenthesized_expression "(-1 < local_84)" ( (binary_expression "-1 < local_84" number_literal < identifier) )) (compound_statement "{\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }" { (if_statement "if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }" if (parenthesized_expression "(local_8c._2_1_ == '\0')" ( (binary_expression "local_8c._2_1_ == '\0'" (field_expression "local_8c._2_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }" { (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2c6c)" ( (binary_expression "PTR_00023154 + 0x2c6c" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (if_statement "if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }" if (parenthesized_expression "(0 < local_78)" ( (binary_expression "0 < local_78" number_literal < identifier) )) (compound_statement "{\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }" { (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2ca8)" ( (binary_expression "PTR_00023154 + 0x2ca8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) })) }))) (expression_statement "iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);" (assignment_expression "iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74)" identifier = (call_expression "(*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74)" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00023178)" ( (pointer_expression "*(code *)PTR_sg_cmds_open_device_00023178" * (cast_expression "(code *)PTR_sg_cmds_open_device_00023178" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_70,local_8c._1_1_,local_74)" ( identifier , (field_expression "local_8c._1_1_" identifier . field_identifier) , identifier )))) ;) (expression_statement "iVar2 = local_70;" (assignment_expression "iVar2 = local_70" identifier = identifier) ;) (if_statement "if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }" { (if_statement "if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }" if (parenthesized_expression "(local_74 != 0)" ( (binary_expression "local_74 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }" { (expression_statement "uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);" (assignment_expression "uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3)" identifier = (call_expression "(*(code *)PTR_safe_strerror_00023188)(-iVar3)" (parenthesized_expression "(*(code *)PTR_safe_strerror_00023188)" ( (pointer_expression "*(code *)PTR_safe_strerror_00023188" * (cast_expression "(code *)PTR_safe_strerror_00023188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar3)" ( (unary_expression "-iVar3" - identifier) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2ce8,iVar2,uVar4)" ( (binary_expression "PTR_00023154 + 0x2ce8" identifier + number_literal) , identifier , identifier ))) ;) })) (expression_statement "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);" (assignment_expression "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_00023190)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_00023190" * (cast_expression "(code *)PTR_sg_convert_errno_00023190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar3)" ( (unary_expression "-iVar3" - identifier) )))) ;) }) (else_clause "else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }" else (compound_statement "{\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }" { (if_statement "if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }" if (parenthesized_expression "(local_84 < 0)" ( (binary_expression "local_84 < 0" identifier < number_literal) )) (compound_statement "{\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }" { (expression_statement "local_b0 = local_8c >> 0x18;" (assignment_expression "local_b0 = local_8c >> 0x18" identifier = (binary_expression "local_8c >> 0x18" identifier >> number_literal)) ;) (if_statement "if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }" if (parenthesized_expression "(local_78 < 1)" ( (binary_expression "local_78 < 1" identifier < number_literal) )) (compound_statement "{\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }" { (expression_statement "local_a8 = local_8c >> 8 & 0xff;" (assignment_expression "local_a8 = local_8c >> 8 & 0xff" identifier = (binary_expression "local_8c >> 8 & 0xff" (binary_expression "local_8c >> 8" identifier >> number_literal) & number_literal)) ;) (expression_statement "local_ac = local_90 & 0xff;" (assignment_expression "local_ac = local_90 & 0xff" identifier = (binary_expression "local_90 & 0xff" identifier & number_literal)) ;) (expression_statement "local_a0 = local_74;" (assignment_expression "local_a0 = local_74" identifier = identifier) ;) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);" (assignment_expression "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0)" identifier = (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" ( (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" * (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,local_90._1_1_,0,0)" ( identifier , (field_expression "local_90._1_1_" identifier . field_identifier) , number_literal , number_literal )))) ;) }) (else_clause "else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }" else (compound_statement "{\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }" { (expression_statement "local_a0 = local_74;" (assignment_expression "local_a0 = local_74" identifier = identifier) ;) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" identifier = number_literal) ;) (expression_statement "local_ac = 0;" (assignment_expression "local_ac = 0" identifier = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);" (assignment_expression "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c)" identifier = (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" ( (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" * (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,local_90._1_1_,local_7c)" ( identifier , (field_expression "local_90._1_1_" identifier . field_identifier) , identifier )))) ;) }))) }) (else_clause "else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }" else (compound_statement "{\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }" { (expression_statement "local_a0 = local_74;" (assignment_expression "local_a0 = local_74" identifier = identifier) ;) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" identifier = number_literal) ;) (expression_statement "local_a8 = 1;" (assignment_expression "local_a8 = 1" identifier = number_literal) ;) (expression_statement "local_ac = 1;" (assignment_expression "local_ac = 1" identifier = number_literal) ;) (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);" (assignment_expression "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0)" identifier = (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" ( (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" * (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,local_90._1_1_,local_84,0)" ( identifier , (field_expression "local_90._1_1_" identifier . field_identifier) , identifier , number_literal )))) ;) }))) (if_statement "if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }" { (expression_statement "iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);" (assignment_expression "iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3)" identifier = (call_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000231bc" * (cast_expression "(code *)PTR_sg_cmds_close_device_000231bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier )))) ;) (if_statement "if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }" { (expression_statement "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);" (assignment_expression "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_00023190)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_00023190" * (cast_expression "(code *)PTR_sg_convert_errno_00023190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar3)" ( (unary_expression "-iVar3" - identifier) )))) ;) })) }) (else_clause "else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }" else (compound_statement "{\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }" { (if_statement "if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }" if (parenthesized_expression "(local_74 < 2)" ( (binary_expression "local_74 < 2" identifier < number_literal) )) (compound_statement "{\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023184)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023184" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023184" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,0x50,auStack_6c)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2bec,auStack_6c)" ( (binary_expression "PTR_00023154 + 0x2bec" identifier + number_literal) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2d08)" ( (binary_expression "PTR_00023154 + 0x2d08" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);" (call_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000231bc" * (cast_expression "(code *)PTR_sg_cmds_close_device_000231bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) }))) }))) (if_statement "if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }" if (parenthesized_expression "((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0))" ( (binary_expression "(local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)" (parenthesized_expression "(local_74 == 0)" ( (binary_expression "local_74 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)" ( (comma_expression "iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0" (assignment_expression "iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2)" identifier = (call_expression "(*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_00023198)" ( (pointer_expression "*(code *)PTR_sg_if_can2stderr_00023198" * (cast_expression "(code *)PTR_sg_if_can2stderr_00023198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2d28,iVar2)" ( (binary_expression "PTR_00023154 + 0x2d28" identifier + number_literal) , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }" { (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2d3c)" ( (binary_expression "PTR_00023154 + 0x2d3c" identifier + number_literal) ))) ;) })) (if_statement "if (iVar2 < 0) {\n    iVar2 = 99;\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar2 = 99;\n  }" { (expression_statement "iVar2 = 99;" (assignment_expression "iVar2 = 99" identifier = number_literal) ;) })) (labeled_statement "LAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }" statement_identifier : (if_statement "if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }" if (parenthesized_expression "(local_1c != *(int *)puVar1)" ( (binary_expression "local_1c != *(int *)puVar1" identifier != (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }" { (expression_statement "uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();" (assignment_expression "uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_000231b4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000231b4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000231b4" * (cast_expression "(code *)PTR___stack_chk_fail_000231b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puStack_c8 = auStack_e0;" (assignment_expression "puStack_c8 = auStack_e0" identifier = identifier) ;) (expression_statement "puStack_d0 = PTR___libc_csu_fini_00023140;" (assignment_expression "puStack_d0 = PTR___libc_csu_fini_00023140" identifier = identifier) ;) (expression_statement "(*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);" (call_expression "(*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c)" (parenthesized_expression "(*(code *)PTR___libc_start_main_0002319c)" ( (pointer_expression "*(code *)PTR___libc_start_main_0002319c" * (cast_expression "(code *)PTR___libc_start_main_0002319c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c)" ( identifier , identifier , identifier , identifier ))) ;) (do_statement "do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );" do (compound_statement "{\n                    /* WARNING: Do nothing block with infinite loop */\n    }" { comment }) while (parenthesized_expression "( true )" ( true )) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int main(int argc,char **argv)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  opts_t opts;\n  char b [80];\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  opts.do_eject = false;\n  opts.do_immed = false;\n  opts.do_load = false;\n  opts.do_loej = false;\n  opts.do_noflush = false;\n  opts.do_readonly = false;\n  opts.do_start = false;\n  opts.do_stop = false;\n  opts.opt_new = false;\n  opts.verbose_given = false;\n  opts.version_given = false;\n  opts._11_1_ = 0;\n  opts.do_fl = -1;\n  opts.do_help = 0;\n  opts.do_mod = 0;\n  opts.do_pc = 0;\n  opts.verbose = 0;\n  opts.device_name = (char *)0x0;\n  iVar3 = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar4 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar4 == 0) {\n    opts.opt_new = true;\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.opt_new == false) {\n      iVar4 = old_parse_cmd_line(&opts,argc,argv);\n      goto LAB_00010cc4;\n    }\n    if (opts.do_help == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar4 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  opts._8_4_ = opts._8_4_ & 0xffffff;\n  iVar4 = old_parse_cmd_line(&opts,argc,argv);\n  if (iVar4 != 0) goto LAB_00010bbc;\n  if (opts.opt_new == false) {\n    if (opts.do_help != 0) {\nLAB_00010ce4:\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\nLAB_00010cc4:\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.do_help != 0) {\n      if (opts.opt_new != false) goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (opts.verbose_given == false) {\nLAB_00010c54:\n    if (opts.version_given != false) {\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (opts.version_given != false) {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((opts.do_start != false) && (opts.do_stop != false)) {\n    iVar4 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (opts.do_load == false) {\n    if ((opts.do_eject != false) || (opts.do_stop != false)) {\n      opts.do_start = false;\n      goto LAB_00010ae8;\n    }\n    if (opts.opt_new == false) {\n      if ((opts._0_4_ & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((opts._0_4_ & 0xff) != 0) {\n      if (opts.do_start == false) goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (opts.do_fl != -1) goto LAB_00010aec;\n    if (opts.do_pc == 0) {\n      opts.do_start = true;\n      opts.do_stop = false;\n    }\n    if (opts.device_name == (char *)0x0) goto LAB_00010ea8;\n  }\n  else {\n    if (opts.do_eject != false) {\n      iVar4 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    opts.do_start = true;\nLAB_00010ae8:\n    opts.do_start = SUB21(opts._6_2_,1);\n    opts.do_stop = SUB21(opts._6_2_,0);\nLAB_00010aec:\n    if (opts.device_name == (char *)0x0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (opts.opt_new == false) {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < opts.do_fl) {\n      if (opts.do_start == false) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < opts.do_pc) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar5 = (*(code *)PTR_sg_cmds_open_device_00023178)\n                    (opts.device_name,opts.do_readonly,opts.verbose);\n  pcVar2 = opts.device_name;\n  if (iVar5 < 0) {\n    if (opts.verbose != 0) {\n      uVar6 = (*(code *)PTR_safe_strerror_00023188)(-iVar5);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,pcVar2,uVar6);\n    }\n    iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n  }\n  else {\n    if (opts.do_fl < 0) {\n      local_b0 = (uint)opts._4_4_ >> 0x18;\n      if (opts.do_pc < 1) {\n        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;\n        local_ac = opts._0_4_ & 0xff;\n        local_a0 = opts.verbose;\n        local_a4 = 1;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);\n      }\n      else {\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }\n    }\n    else {\n      local_a0 = opts.verbose;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);\n    }\n    if (iVar4 == 0) {\n      iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n      if (iVar5 < 0) {\n        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n      }\n    }\n    else {\n      if (opts.verbose < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n    }\n  }\n  if ((opts.verbose == 0) &&\n     (iVar5 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4), iVar5 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar4 < 0) {\n    iVar4 = 99;\n  }\nLAB_00010bbc:\n  if (iVar3 != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }\n  return iVar4;\n}\n\n" (function_definition "int main(int argc,char **argv)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  opts_t opts;\n  char b [80];\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  opts.do_eject = false;\n  opts.do_immed = false;\n  opts.do_load = false;\n  opts.do_loej = false;\n  opts.do_noflush = false;\n  opts.do_readonly = false;\n  opts.do_start = false;\n  opts.do_stop = false;\n  opts.opt_new = false;\n  opts.verbose_given = false;\n  opts.version_given = false;\n  opts._11_1_ = 0;\n  opts.do_fl = -1;\n  opts.do_help = 0;\n  opts.do_mod = 0;\n  opts.do_pc = 0;\n  opts.verbose = 0;\n  opts.device_name = (char *)0x0;\n  iVar3 = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar4 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar4 == 0) {\n    opts.opt_new = true;\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.opt_new == false) {\n      iVar4 = old_parse_cmd_line(&opts,argc,argv);\n      goto LAB_00010cc4;\n    }\n    if (opts.do_help == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar4 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  opts._8_4_ = opts._8_4_ & 0xffffff;\n  iVar4 = old_parse_cmd_line(&opts,argc,argv);\n  if (iVar4 != 0) goto LAB_00010bbc;\n  if (opts.opt_new == false) {\n    if (opts.do_help != 0) {\nLAB_00010ce4:\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\nLAB_00010cc4:\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.do_help != 0) {\n      if (opts.opt_new != false) goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (opts.verbose_given == false) {\nLAB_00010c54:\n    if (opts.version_given != false) {\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (opts.version_given != false) {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((opts.do_start != false) && (opts.do_stop != false)) {\n    iVar4 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (opts.do_load == false) {\n    if ((opts.do_eject != false) || (opts.do_stop != false)) {\n      opts.do_start = false;\n      goto LAB_00010ae8;\n    }\n    if (opts.opt_new == false) {\n      if ((opts._0_4_ & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((opts._0_4_ & 0xff) != 0) {\n      if (opts.do_start == false) goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (opts.do_fl != -1) goto LAB_00010aec;\n    if (opts.do_pc == 0) {\n      opts.do_start = true;\n      opts.do_stop = false;\n    }\n    if (opts.device_name == (char *)0x0) goto LAB_00010ea8;\n  }\n  else {\n    if (opts.do_eject != false) {\n      iVar4 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    opts.do_start = true;\nLAB_00010ae8:\n    opts.do_start = SUB21(opts._6_2_,1);\n    opts.do_stop = SUB21(opts._6_2_,0);\nLAB_00010aec:\n    if (opts.device_name == (char *)0x0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (opts.opt_new == false) {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < opts.do_fl) {\n      if (opts.do_start == false) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < opts.do_pc) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar5 = (*(code *)PTR_sg_cmds_open_device_00023178)\n                    (opts.device_name,opts.do_readonly,opts.verbose);\n  pcVar2 = opts.device_name;\n  if (iVar5 < 0) {\n    if (opts.verbose != 0) {\n      uVar6 = (*(code *)PTR_safe_strerror_00023188)(-iVar5);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,pcVar2,uVar6);\n    }\n    iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n  }\n  else {\n    if (opts.do_fl < 0) {\n      local_b0 = (uint)opts._4_4_ >> 0x18;\n      if (opts.do_pc < 1) {\n        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;\n        local_ac = opts._0_4_ & 0xff;\n        local_a0 = opts.verbose;\n        local_a4 = 1;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);\n      }\n      else {\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }\n    }\n    else {\n      local_a0 = opts.verbose;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);\n    }\n    if (iVar4 == 0) {\n      iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n      if (iVar5 < 0) {\n        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n      }\n    }\n    else {\n      if (opts.verbose < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n    }\n  }\n  if ((opts.verbose == 0) &&\n     (iVar5 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4), iVar5 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar4 < 0) {\n    iVar4 = 99;\n  }\nLAB_00010bbc:\n  if (iVar3 != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }\n  return iVar4;\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  undefined *puVar1;\n  char *pcVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  opts_t opts;\n  char b [80];\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  opts.do_eject = false;\n  opts.do_immed = false;\n  opts.do_load = false;\n  opts.do_loej = false;\n  opts.do_noflush = false;\n  opts.do_readonly = false;\n  opts.do_start = false;\n  opts.do_stop = false;\n  opts.opt_new = false;\n  opts.verbose_given = false;\n  opts.version_given = false;\n  opts._11_1_ = 0;\n  opts.do_fl = -1;\n  opts.do_help = 0;\n  opts.do_mod = 0;\n  opts.do_pc = 0;\n  opts.verbose = 0;\n  opts.device_name = (char *)0x0;\n  iVar3 = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar4 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar4 == 0) {\n    opts.opt_new = true;\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.opt_new == false) {\n      iVar4 = old_parse_cmd_line(&opts,argc,argv);\n      goto LAB_00010cc4;\n    }\n    if (opts.do_help == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar4 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  opts._8_4_ = opts._8_4_ & 0xffffff;\n  iVar4 = old_parse_cmd_line(&opts,argc,argv);\n  if (iVar4 != 0) goto LAB_00010bbc;\n  if (opts.opt_new == false) {\n    if (opts.do_help != 0) {\nLAB_00010ce4:\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\nLAB_00010cc4:\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.do_help != 0) {\n      if (opts.opt_new != false) goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (opts.verbose_given == false) {\nLAB_00010c54:\n    if (opts.version_given != false) {\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (opts.version_given != false) {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((opts.do_start != false) && (opts.do_stop != false)) {\n    iVar4 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (opts.do_load == false) {\n    if ((opts.do_eject != false) || (opts.do_stop != false)) {\n      opts.do_start = false;\n      goto LAB_00010ae8;\n    }\n    if (opts.opt_new == false) {\n      if ((opts._0_4_ & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((opts._0_4_ & 0xff) != 0) {\n      if (opts.do_start == false) goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (opts.do_fl != -1) goto LAB_00010aec;\n    if (opts.do_pc == 0) {\n      opts.do_start = true;\n      opts.do_stop = false;\n    }\n    if (opts.device_name == (char *)0x0) goto LAB_00010ea8;\n  }\n  else {\n    if (opts.do_eject != false) {\n      iVar4 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    opts.do_start = true;\nLAB_00010ae8:\n    opts.do_start = SUB21(opts._6_2_,1);\n    opts.do_stop = SUB21(opts._6_2_,0);\nLAB_00010aec:\n    if (opts.device_name == (char *)0x0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (opts.opt_new == false) {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < opts.do_fl) {\n      if (opts.do_start == false) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < opts.do_pc) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar5 = (*(code *)PTR_sg_cmds_open_device_00023178)\n                    (opts.device_name,opts.do_readonly,opts.verbose);\n  pcVar2 = opts.device_name;\n  if (iVar5 < 0) {\n    if (opts.verbose != 0) {\n      uVar6 = (*(code *)PTR_safe_strerror_00023188)(-iVar5);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,pcVar2,uVar6);\n    }\n    iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n  }\n  else {\n    if (opts.do_fl < 0) {\n      local_b0 = (uint)opts._4_4_ >> 0x18;\n      if (opts.do_pc < 1) {\n        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;\n        local_ac = opts._0_4_ & 0xff;\n        local_a0 = opts.verbose;\n        local_a4 = 1;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);\n      }\n      else {\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }\n    }\n    else {\n      local_a0 = opts.verbose;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);\n    }\n    if (iVar4 == 0) {\n      iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n      if (iVar5 < 0) {\n        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n      }\n    }\n    else {\n      if (opts.verbose < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n    }\n  }\n  if ((opts.verbose == 0) &&\n     (iVar5 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4), iVar5 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar4 < 0) {\n    iVar4 = 99;\n  }\nLAB_00010bbc:\n  if (iVar3 != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }\n  return iVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined1 auStack_e0 [16];" type_identifier (array_declarator "auStack_e0 [16]" identifier [ number_literal ]) ;) (declaration "undefined *puStack_d0;" type_identifier (pointer_declarator "*puStack_d0" * identifier) ;) (declaration "undefined4 uStack_cc;" type_identifier identifier ;) (declaration "undefined1 *puStack_c8;" type_identifier (pointer_declarator "*puStack_c8" * identifier) ;) (declaration "undefined4 uStack_c0;" type_identifier identifier ;) (declaration "undefined1 auStack_bc [12];" type_identifier (array_declarator "auStack_bc [12]" identifier [ number_literal ]) ;) (declaration "uint local_b0;" type_identifier identifier ;) (declaration "uint local_ac;" type_identifier identifier ;) (declaration "uint local_a8;" type_identifier identifier ;) (declaration "undefined4 local_a4;" type_identifier identifier ;) (declaration "int local_a0;" primitive_type identifier ;) (declaration "opts_t opts;" type_identifier identifier ;) (declaration "char b [80];" primitive_type (array_declarator "b [80]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000231c0;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000231c0" identifier = identifier) ;) (expression_statement "opts.do_eject = false;" (assignment_expression "opts.do_eject = false" (field_expression "opts.do_eject" identifier . field_identifier) = false) ;) (expression_statement "opts.do_immed = false;" (assignment_expression "opts.do_immed = false" (field_expression "opts.do_immed" identifier . field_identifier) = false) ;) (expression_statement "opts.do_load = false;" (assignment_expression "opts.do_load = false" (field_expression "opts.do_load" identifier . field_identifier) = false) ;) (expression_statement "opts.do_loej = false;" (assignment_expression "opts.do_loej = false" (field_expression "opts.do_loej" identifier . field_identifier) = false) ;) (expression_statement "opts.do_noflush = false;" (assignment_expression "opts.do_noflush = false" (field_expression "opts.do_noflush" identifier . field_identifier) = false) ;) (expression_statement "opts.do_readonly = false;" (assignment_expression "opts.do_readonly = false" (field_expression "opts.do_readonly" identifier . field_identifier) = false) ;) (expression_statement "opts.do_start = false;" (assignment_expression "opts.do_start = false" (field_expression "opts.do_start" identifier . field_identifier) = false) ;) (expression_statement "opts.do_stop = false;" (assignment_expression "opts.do_stop = false" (field_expression "opts.do_stop" identifier . field_identifier) = false) ;) (expression_statement "opts.opt_new = false;" (assignment_expression "opts.opt_new = false" (field_expression "opts.opt_new" identifier . field_identifier) = false) ;) (expression_statement "opts.verbose_given = false;" (assignment_expression "opts.verbose_given = false" (field_expression "opts.verbose_given" identifier . field_identifier) = false) ;) (expression_statement "opts.version_given = false;" (assignment_expression "opts.version_given = false" (field_expression "opts.version_given" identifier . field_identifier) = false) ;) (expression_statement "opts._11_1_ = 0;" (assignment_expression "opts._11_1_ = 0" (field_expression "opts._11_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "opts.do_fl = -1;" (assignment_expression "opts.do_fl = -1" (field_expression "opts.do_fl" identifier . field_identifier) = number_literal) ;) (expression_statement "opts.do_help = 0;" (assignment_expression "opts.do_help = 0" (field_expression "opts.do_help" identifier . field_identifier) = number_literal) ;) (expression_statement "opts.do_mod = 0;" (assignment_expression "opts.do_mod = 0" (field_expression "opts.do_mod" identifier . field_identifier) = number_literal) ;) (expression_statement "opts.do_pc = 0;" (assignment_expression "opts.do_pc = 0" (field_expression "opts.do_pc" identifier . field_identifier) = number_literal) ;) (expression_statement "opts.verbose = 0;" (assignment_expression "opts.verbose = 0" (field_expression "opts.verbose" identifier . field_identifier) = number_literal) ;) (expression_statement "opts.device_name = (char *)0x0;" (assignment_expression "opts.device_name = (char *)0x0" (field_expression "opts.device_name" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_000231c0;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_000231c0" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000231c0" * (cast_expression "(int *)PTR___stack_chk_guard_000231c0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar4 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);" (assignment_expression "iVar4 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84)" identifier = (call_expression "(*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84)" (parenthesized_expression "(*(code *)PTR_getenv_000231ac)" ( (pointer_expression "*(code *)PTR_getenv_000231ac" * (cast_expression "(code *)PTR_getenv_000231ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2b84)" ( (binary_expression "PTR_00023154 + 0x2b84" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n    opts.opt_new = true;\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.opt_new == false) {\n      iVar4 = old_parse_cmd_line(&opts,argc,argv);\n      goto LAB_00010cc4;\n    }\n    if (opts.do_help == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar4 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    opts.opt_new = true;\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.opt_new == false) {\n      iVar4 = old_parse_cmd_line(&opts,argc,argv);\n      goto LAB_00010cc4;\n    }\n    if (opts.do_help == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar4 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }" { (expression_statement "opts.opt_new = true;" (assignment_expression "opts.opt_new = true" (field_expression "opts.opt_new" identifier . field_identifier) = true) ;) (expression_statement "iVar4 = new_parse_cmd_line(&opts,argc,argv);" (assignment_expression "iVar4 = new_parse_cmd_line(&opts,argc,argv)" identifier = (call_expression "new_parse_cmd_line(&opts,argc,argv)" identifier (argument_list "(&opts,argc,argv)" ( (pointer_expression "&opts" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) goto LAB_00010bbc;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;)) (if_statement "if (opts.opt_new == false) {\n      iVar4 = old_parse_cmd_line(&opts,argc,argv);\n      goto LAB_00010cc4;\n    }" if (parenthesized_expression "(opts.opt_new == false)" ( (binary_expression "opts.opt_new == false" (field_expression "opts.opt_new" identifier . field_identifier) == false) )) (compound_statement "{\n      iVar4 = old_parse_cmd_line(&opts,argc,argv);\n      goto LAB_00010cc4;\n    }" { (expression_statement "iVar4 = old_parse_cmd_line(&opts,argc,argv);" (assignment_expression "iVar4 = old_parse_cmd_line(&opts,argc,argv)" identifier = (call_expression "old_parse_cmd_line(&opts,argc,argv)" identifier (argument_list "(&opts,argc,argv)" ( (pointer_expression "&opts" & identifier) , identifier , identifier )))) ;) (goto_statement "goto LAB_00010cc4;" goto statement_identifier ;) })) (if_statement "if (opts.do_help == 0) goto LAB_00010a88;" if (parenthesized_expression "(opts.do_help == 0)" ( (binary_expression "opts.do_help == 0" (field_expression "opts.do_help" identifier . field_identifier) == number_literal) )) (goto_statement "goto LAB_00010a88;" goto statement_identifier ;)) (labeled_statement "LAB_00010c24:\n    iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x1da4)" ( (binary_expression "PTR_00023154 + 0x1da4" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (expression_statement "opts._8_4_ = opts._8_4_ & 0xffffff;" (assignment_expression "opts._8_4_ = opts._8_4_ & 0xffffff" (field_expression "opts._8_4_" identifier . field_identifier) = (binary_expression "opts._8_4_ & 0xffffff" (field_expression "opts._8_4_" identifier . field_identifier) & number_literal)) ;) (expression_statement "iVar4 = old_parse_cmd_line(&opts,argc,argv);" (assignment_expression "iVar4 = old_parse_cmd_line(&opts,argc,argv)" identifier = (call_expression "old_parse_cmd_line(&opts,argc,argv)" identifier (argument_list "(&opts,argc,argv)" ( (pointer_expression "&opts" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) goto LAB_00010bbc;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;)) (if_statement "if (opts.opt_new == false) {\n    if (opts.do_help != 0) {\nLAB_00010ce4:\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\nLAB_00010cc4:\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.do_help != 0) {\n      if (opts.opt_new != false) goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" if (parenthesized_expression "(opts.opt_new == false)" ( (binary_expression "opts.opt_new == false" (field_expression "opts.opt_new" identifier . field_identifier) == false) )) (compound_statement "{\n    if (opts.do_help != 0) {\nLAB_00010ce4:\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }" { (if_statement "if (opts.do_help != 0) {\nLAB_00010ce4:\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(opts.do_help != 0)" ( (binary_expression "opts.do_help != 0" (field_expression "opts.do_help" identifier . field_identifier) != number_literal) )) (compound_statement "{\nLAB_00010ce4:\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }" { (labeled_statement "LAB_00010ce4:\n      iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2490)" ( (binary_expression "PTR_00023154 + 0x2490" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\nLAB_00010cc4:\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.do_help != 0) {\n      if (opts.opt_new != false) goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" else (compound_statement "{\n    iVar4 = new_parse_cmd_line(&opts,argc,argv);\nLAB_00010cc4:\n    if (iVar4 != 0) goto LAB_00010bbc;\n    if (opts.do_help != 0) {\n      if (opts.opt_new != false) goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" { (expression_statement "iVar4 = new_parse_cmd_line(&opts,argc,argv);" (assignment_expression "iVar4 = new_parse_cmd_line(&opts,argc,argv)" identifier = (call_expression "new_parse_cmd_line(&opts,argc,argv)" identifier (argument_list "(&opts,argc,argv)" ( (pointer_expression "&opts" & identifier) , identifier , identifier )))) ;) (labeled_statement "LAB_00010cc4:\n    if (iVar4 != 0) goto LAB_00010bbc;" statement_identifier : (if_statement "if (iVar4 != 0) goto LAB_00010bbc;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;))) (if_statement "if (opts.do_help != 0) {\n      if (opts.opt_new != false) goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }" if (parenthesized_expression "(opts.do_help != 0)" ( (binary_expression "opts.do_help != 0" (field_expression "opts.do_help" identifier . field_identifier) != number_literal) )) (compound_statement "{\n      if (opts.opt_new != false) goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }" { (if_statement "if (opts.opt_new != false) goto LAB_00010c24;" if (parenthesized_expression "(opts.opt_new != false)" ( (binary_expression "opts.opt_new != false" (field_expression "opts.opt_new" identifier . field_identifier) != false) )) (goto_statement "goto LAB_00010c24;" goto statement_identifier ;)) (goto_statement "goto LAB_00010ce4;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00010a88:\n  if (opts.verbose_given == false) {\nLAB_00010c54:\n    if (opts.version_given != false) {\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (opts.version_given != false) {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" statement_identifier : (if_statement "if (opts.verbose_given == false) {\nLAB_00010c54:\n    if (opts.version_given != false) {\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (opts.version_given != false) {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" if (parenthesized_expression "(opts.verbose_given == false)" ( (binary_expression "opts.verbose_given == false" (field_expression "opts.verbose_given" identifier . field_identifier) == false) )) (compound_statement "{\nLAB_00010c54:\n    if (opts.version_given != false) {\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }" { (labeled_statement "LAB_00010c54:\n    if (opts.version_given != false) {\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" statement_identifier : (if_statement "if (opts.version_given != false) {\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(opts.version_given != false)" ( (binary_expression "opts.version_given != false" (field_expression "opts.version_given" identifier . field_identifier) != false) )) (compound_statement "{\n      iVar4 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc)" ( (binary_expression "PTR_00023154 + 0x2bdc" identifier + number_literal) , (binary_expression "PTR_00023154 + 0x2bcc" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) }))) }) (else_clause "else {\n    if (opts.version_given != false) {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" else (compound_statement "{\n    if (opts.version_given != false) {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" { (if_statement "if (opts.version_given != false) {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }" if (parenthesized_expression "(opts.version_given != false)" ( (binary_expression "opts.version_given != false" (field_expression "opts.version_given" identifier . field_identifier) != false) )) (compound_statement "{\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }" { (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2b98)" ( (binary_expression "PTR_00023154 + 0x2b98" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010c54;" goto statement_identifier ;) })) })))) (if_statement "if ((opts.do_start != false) && (opts.do_stop != false)) {\n    iVar4 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }" if (parenthesized_expression "((opts.do_start != false) && (opts.do_stop != false))" ( (binary_expression "(opts.do_start != false) && (opts.do_stop != false)" (parenthesized_expression "(opts.do_start != false)" ( (binary_expression "opts.do_start != false" (field_expression "opts.do_start" identifier . field_identifier) != false) )) && (parenthesized_expression "(opts.do_stop != false)" ( (binary_expression "opts.do_stop != false" (field_expression "opts.do_stop" identifier . field_identifier) != false) ))) )) (compound_statement "{\n    iVar4 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }" { (expression_statement "iVar4 = 0x1f;" (assignment_expression "iVar4 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2bf0)" ( (binary_expression "PTR_00023154 + 0x2bf0" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (if_statement "if (opts.do_load == false) {\n    if ((opts.do_eject != false) || (opts.do_stop != false)) {\n      opts.do_start = false;\n      goto LAB_00010ae8;\n    }\n    if (opts.opt_new == false) {\n      if ((opts._0_4_ & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((opts._0_4_ & 0xff) != 0) {\n      if (opts.do_start == false) goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (opts.do_fl != -1) goto LAB_00010aec;\n    if (opts.do_pc == 0) {\n      opts.do_start = true;\n      opts.do_stop = false;\n    }\n    if (opts.device_name == (char *)0x0) goto LAB_00010ea8;\n  }\n  else {\n    if (opts.do_eject != false) {\n      iVar4 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    opts.do_start = true;\nLAB_00010ae8:\n    opts.do_start = SUB21(opts._6_2_,1);\n    opts.do_stop = SUB21(opts._6_2_,0);\nLAB_00010aec:\n    if (opts.device_name == (char *)0x0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (opts.opt_new == false) {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < opts.do_fl) {\n      if (opts.do_start == false) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < opts.do_pc) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" if (parenthesized_expression "(opts.do_load == false)" ( (binary_expression "opts.do_load == false" (field_expression "opts.do_load" identifier . field_identifier) == false) )) (compound_statement "{\n    if ((opts.do_eject != false) || (opts.do_stop != false)) {\n      opts.do_start = false;\n      goto LAB_00010ae8;\n    }\n    if (opts.opt_new == false) {\n      if ((opts._0_4_ & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((opts._0_4_ & 0xff) != 0) {\n      if (opts.do_start == false) goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (opts.do_fl != -1) goto LAB_00010aec;\n    if (opts.do_pc == 0) {\n      opts.do_start = true;\n      opts.do_stop = false;\n    }\n    if (opts.device_name == (char *)0x0) goto LAB_00010ea8;\n  }" { (if_statement "if ((opts.do_eject != false) || (opts.do_stop != false)) {\n      opts.do_start = false;\n      goto LAB_00010ae8;\n    }" if (parenthesized_expression "((opts.do_eject != false) || (opts.do_stop != false))" ( (binary_expression "(opts.do_eject != false) || (opts.do_stop != false)" (parenthesized_expression "(opts.do_eject != false)" ( (binary_expression "opts.do_eject != false" (field_expression "opts.do_eject" identifier . field_identifier) != false) )) || (parenthesized_expression "(opts.do_stop != false)" ( (binary_expression "opts.do_stop != false" (field_expression "opts.do_stop" identifier . field_identifier) != false) ))) )) (compound_statement "{\n      opts.do_start = false;\n      goto LAB_00010ae8;\n    }" { (expression_statement "opts.do_start = false;" (assignment_expression "opts.do_start = false" (field_expression "opts.do_start" identifier . field_identifier) = false) ;) (goto_statement "goto LAB_00010ae8;" goto statement_identifier ;) })) (if_statement "if (opts.opt_new == false) {\n      if ((opts._0_4_ & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }" if (parenthesized_expression "(opts.opt_new == false)" ( (binary_expression "opts.opt_new == false" (field_expression "opts.opt_new" identifier . field_identifier) == false) )) (compound_statement "{\n      if ((opts._0_4_ & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }" { (if_statement "if ((opts._0_4_ & 0xff) == 0) goto LAB_00010e7c;" if (parenthesized_expression "((opts._0_4_ & 0xff) == 0)" ( (binary_expression "(opts._0_4_ & 0xff) == 0" (parenthesized_expression "(opts._0_4_ & 0xff)" ( (binary_expression "opts._0_4_ & 0xff" (field_expression "opts._0_4_" identifier . field_identifier) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00010e7c;" goto statement_identifier ;)) (goto_statement "goto LAB_00010aec;" goto statement_identifier ;) })) (if_statement "if ((opts._0_4_ & 0xff) != 0) {\n      if (opts.do_start == false) goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }" if (parenthesized_expression "((opts._0_4_ & 0xff) != 0)" ( (binary_expression "(opts._0_4_ & 0xff) != 0" (parenthesized_expression "(opts._0_4_ & 0xff)" ( (binary_expression "opts._0_4_ & 0xff" (field_expression "opts._0_4_" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      if (opts.do_start == false) goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }" { (if_statement "if (opts.do_start == false) goto LAB_00010ae4;" if (parenthesized_expression "(opts.do_start == false)" ( (binary_expression "opts.do_start == false" (field_expression "opts.do_start" identifier . field_identifier) == false) )) (goto_statement "goto LAB_00010ae4;" goto statement_identifier ;)) (goto_statement "goto LAB_00010aec;" goto statement_identifier ;) })) (labeled_statement "LAB_00010e7c:\n    if (opts.do_fl != -1) goto LAB_00010aec;" statement_identifier : (if_statement "if (opts.do_fl != -1) goto LAB_00010aec;" if (parenthesized_expression "(opts.do_fl != -1)" ( (binary_expression "opts.do_fl != -1" (field_expression "opts.do_fl" identifier . field_identifier) != number_literal) )) (goto_statement "goto LAB_00010aec;" goto statement_identifier ;))) (if_statement "if (opts.do_pc == 0) {\n      opts.do_start = true;\n      opts.do_stop = false;\n    }" if (parenthesized_expression "(opts.do_pc == 0)" ( (binary_expression "opts.do_pc == 0" (field_expression "opts.do_pc" identifier . field_identifier) == number_literal) )) (compound_statement "{\n      opts.do_start = true;\n      opts.do_stop = false;\n    }" { (expression_statement "opts.do_start = true;" (assignment_expression "opts.do_start = true" (field_expression "opts.do_start" identifier . field_identifier) = true) ;) (expression_statement "opts.do_stop = false;" (assignment_expression "opts.do_stop = false" (field_expression "opts.do_stop" identifier . field_identifier) = false) ;) })) (if_statement "if (opts.device_name == (char *)0x0) goto LAB_00010ea8;" if (parenthesized_expression "(opts.device_name == (char *)0x0)" ( (binary_expression "opts.device_name == (char *)0x0" (field_expression "opts.device_name" identifier . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00010ea8;" goto statement_identifier ;)) }) (else_clause "else {\n    if (opts.do_eject != false) {\n      iVar4 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    opts.do_start = true;\nLAB_00010ae8:\n    opts.do_start = SUB21(opts._6_2_,1);\n    opts.do_stop = SUB21(opts._6_2_,0);\nLAB_00010aec:\n    if (opts.device_name == (char *)0x0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (opts.opt_new == false) {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < opts.do_fl) {\n      if (opts.do_start == false) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < opts.do_pc) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" else (compound_statement "{\n    if (opts.do_eject != false) {\n      iVar4 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    opts.do_start = true;\nLAB_00010ae8:\n    opts.do_start = SUB21(opts._6_2_,1);\n    opts.do_stop = SUB21(opts._6_2_,0);\nLAB_00010aec:\n    if (opts.device_name == (char *)0x0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (opts.opt_new == false) {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < opts.do_fl) {\n      if (opts.do_start == false) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < opts.do_pc) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" { (if_statement "if (opts.do_eject != false) {\n      iVar4 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(opts.do_eject != false)" ( (binary_expression "opts.do_eject != false" (field_expression "opts.do_eject" identifier . field_identifier) != false) )) (compound_statement "{\n      iVar4 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }" { (expression_statement "iVar4 = 0x1f;" (assignment_expression "iVar4 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2c20)" ( (binary_expression "PTR_00023154 + 0x2c20" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (labeled_statement "LAB_00010ae4:\n    opts.do_start = true;" statement_identifier : (expression_statement "opts.do_start = true;" (assignment_expression "opts.do_start = true" (field_expression "opts.do_start" identifier . field_identifier) = true) ;)) (labeled_statement "LAB_00010ae8:\n    opts.do_start = SUB21(opts._6_2_,1);" statement_identifier : (expression_statement "opts.do_start = SUB21(opts._6_2_,1);" (assignment_expression "opts.do_start = SUB21(opts._6_2_,1)" (field_expression "opts.do_start" identifier . field_identifier) = (call_expression "SUB21(opts._6_2_,1)" identifier (argument_list "(opts._6_2_,1)" ( (field_expression "opts._6_2_" identifier . field_identifier) , number_literal )))) ;)) (expression_statement "opts.do_stop = SUB21(opts._6_2_,0);" (assignment_expression "opts.do_stop = SUB21(opts._6_2_,0)" (field_expression "opts.do_stop" identifier . field_identifier) = (call_expression "SUB21(opts._6_2_,0)" identifier (argument_list "(opts._6_2_,0)" ( (field_expression "opts._6_2_" identifier . field_identifier) , number_literal )))) ;) (labeled_statement "LAB_00010aec:\n    if (opts.device_name == (char *)0x0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (opts.opt_new == false) {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" statement_identifier : (if_statement "if (opts.device_name == (char *)0x0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (opts.opt_new == false) {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(opts.device_name == (char *)0x0)" ( (binary_expression "opts.device_name == (char *)0x0" (field_expression "opts.device_name" identifier . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (opts.opt_new == false) {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" { (labeled_statement "LAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);" statement_identifier : (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2c50)" ( (binary_expression "PTR_00023154 + 0x2c50" identifier + number_literal) ))) ;)) (if_statement "if (opts.opt_new == false) {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" if (parenthesized_expression "(opts.opt_new == false)" ( (binary_expression "opts.opt_new == false" (field_expression "opts.opt_new" identifier . field_identifier) == false) )) (compound_statement "{\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2490)" ( (binary_expression "PTR_00023154 + 0x2490" identifier + number_literal) ))) ;) }) (else_clause "else {\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" else (compound_statement "{\n        iVar4 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x1da4)" ( (binary_expression "PTR_00023154 + 0x1da4" identifier + number_literal) ))) ;) }))) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) }))) (if_statement "if (-1 < opts.do_fl) {\n      if (opts.do_start == false) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < opts.do_pc) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }" if (parenthesized_expression "(-1 < opts.do_fl)" ( (binary_expression "-1 < opts.do_fl" number_literal < (field_expression "opts.do_fl" identifier . field_identifier)) )) (compound_statement "{\n      if (opts.do_start == false) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < opts.do_pc) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }" { (if_statement "if (opts.do_start == false) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }" if (parenthesized_expression "(opts.do_start == false)" ( (binary_expression "opts.do_start == false" (field_expression "opts.do_start" identifier . field_identifier) == false) )) (compound_statement "{\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }" { (expression_statement "iVar4 = 0x1f;" (assignment_expression "iVar4 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2c6c)" ( (binary_expression "PTR_00023154 + 0x2c6c" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (if_statement "if (0 < opts.do_pc) {\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }" if (parenthesized_expression "(0 < opts.do_pc)" ( (binary_expression "0 < opts.do_pc" number_literal < (field_expression "opts.do_pc" identifier . field_identifier)) )) (compound_statement "{\n        iVar4 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }" { (expression_statement "iVar4 = 0x1f;" (assignment_expression "iVar4 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2ca8)" ( (binary_expression "PTR_00023154 + 0x2ca8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) })) }))) (expression_statement "iVar5 = (*(code *)PTR_sg_cmds_open_device_00023178)\n                    (opts.device_name,opts.do_readonly,opts.verbose);" (assignment_expression "iVar5 = (*(code *)PTR_sg_cmds_open_device_00023178)\n                    (opts.device_name,opts.do_readonly,opts.verbose)" identifier = (call_expression "(*(code *)PTR_sg_cmds_open_device_00023178)\n                    (opts.device_name,opts.do_readonly,opts.verbose)" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00023178)" ( (pointer_expression "*(code *)PTR_sg_cmds_open_device_00023178" * (cast_expression "(code *)PTR_sg_cmds_open_device_00023178" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(opts.device_name,opts.do_readonly,opts.verbose)" ( (field_expression "opts.device_name" identifier . field_identifier) , (field_expression "opts.do_readonly" identifier . field_identifier) , (field_expression "opts.verbose" identifier . field_identifier) )))) ;) (expression_statement "pcVar2 = opts.device_name;" (assignment_expression "pcVar2 = opts.device_name" identifier = (field_expression "opts.device_name" identifier . field_identifier)) ;) (if_statement "if (iVar5 < 0) {\n    if (opts.verbose != 0) {\n      uVar6 = (*(code *)PTR_safe_strerror_00023188)(-iVar5);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,pcVar2,uVar6);\n    }\n    iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n  }\n  else {\n    if (opts.do_fl < 0) {\n      local_b0 = (uint)opts._4_4_ >> 0x18;\n      if (opts.do_pc < 1) {\n        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;\n        local_ac = opts._0_4_ & 0xff;\n        local_a0 = opts.verbose;\n        local_a4 = 1;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);\n      }\n      else {\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }\n    }\n    else {\n      local_a0 = opts.verbose;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);\n    }\n    if (iVar4 == 0) {\n      iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n      if (iVar5 < 0) {\n        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n      }\n    }\n    else {\n      if (opts.verbose < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n    }\n  }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n    if (opts.verbose != 0) {\n      uVar6 = (*(code *)PTR_safe_strerror_00023188)(-iVar5);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,pcVar2,uVar6);\n    }\n    iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n  }" { (if_statement "if (opts.verbose != 0) {\n      uVar6 = (*(code *)PTR_safe_strerror_00023188)(-iVar5);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,pcVar2,uVar6);\n    }" if (parenthesized_expression "(opts.verbose != 0)" ( (binary_expression "opts.verbose != 0" (field_expression "opts.verbose" identifier . field_identifier) != number_literal) )) (compound_statement "{\n      uVar6 = (*(code *)PTR_safe_strerror_00023188)(-iVar5);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,pcVar2,uVar6);\n    }" { (expression_statement "uVar6 = (*(code *)PTR_safe_strerror_00023188)(-iVar5);" (assignment_expression "uVar6 = (*(code *)PTR_safe_strerror_00023188)(-iVar5)" identifier = (call_expression "(*(code *)PTR_safe_strerror_00023188)(-iVar5)" (parenthesized_expression "(*(code *)PTR_safe_strerror_00023188)" ( (pointer_expression "*(code *)PTR_safe_strerror_00023188" * (cast_expression "(code *)PTR_safe_strerror_00023188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar5)" ( (unary_expression "-iVar5" - identifier) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,pcVar2,uVar6);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,pcVar2,uVar6)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2ce8,pcVar2,uVar6)" ( (binary_expression "PTR_00023154 + 0x2ce8" identifier + number_literal) , identifier , identifier ))) ;) })) (expression_statement "iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);" (assignment_expression "iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_00023190)(-iVar5)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_00023190)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_00023190" * (cast_expression "(code *)PTR_sg_convert_errno_00023190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar5)" ( (unary_expression "-iVar5" - identifier) )))) ;) }) (else_clause "else {\n    if (opts.do_fl < 0) {\n      local_b0 = (uint)opts._4_4_ >> 0x18;\n      if (opts.do_pc < 1) {\n        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;\n        local_ac = opts._0_4_ & 0xff;\n        local_a0 = opts.verbose;\n        local_a4 = 1;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);\n      }\n      else {\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }\n    }\n    else {\n      local_a0 = opts.verbose;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);\n    }\n    if (iVar4 == 0) {\n      iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n      if (iVar5 < 0) {\n        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n      }\n    }\n    else {\n      if (opts.verbose < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n    }\n  }" else (compound_statement "{\n    if (opts.do_fl < 0) {\n      local_b0 = (uint)opts._4_4_ >> 0x18;\n      if (opts.do_pc < 1) {\n        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;\n        local_ac = opts._0_4_ & 0xff;\n        local_a0 = opts.verbose;\n        local_a4 = 1;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);\n      }\n      else {\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }\n    }\n    else {\n      local_a0 = opts.verbose;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);\n    }\n    if (iVar4 == 0) {\n      iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n      if (iVar5 < 0) {\n        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n      }\n    }\n    else {\n      if (opts.verbose < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n    }\n  }" { (if_statement "if (opts.do_fl < 0) {\n      local_b0 = (uint)opts._4_4_ >> 0x18;\n      if (opts.do_pc < 1) {\n        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;\n        local_ac = opts._0_4_ & 0xff;\n        local_a0 = opts.verbose;\n        local_a4 = 1;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);\n      }\n      else {\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }\n    }\n    else {\n      local_a0 = opts.verbose;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);\n    }" if (parenthesized_expression "(opts.do_fl < 0)" ( (binary_expression "opts.do_fl < 0" (field_expression "opts.do_fl" identifier . field_identifier) < number_literal) )) (compound_statement "{\n      local_b0 = (uint)opts._4_4_ >> 0x18;\n      if (opts.do_pc < 1) {\n        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;\n        local_ac = opts._0_4_ & 0xff;\n        local_a0 = opts.verbose;\n        local_a4 = 1;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);\n      }\n      else {\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }\n    }" { (expression_statement "local_b0 = (uint)opts._4_4_ >> 0x18;" (assignment_expression "local_b0 = (uint)opts._4_4_ >> 0x18" identifier = (binary_expression "(uint)opts._4_4_ >> 0x18" (cast_expression "(uint)opts._4_4_" ( (type_descriptor "uint" type_identifier) ) (field_expression "opts._4_4_" identifier . field_identifier)) >> number_literal)) ;) (if_statement "if (opts.do_pc < 1) {\n        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;\n        local_ac = opts._0_4_ & 0xff;\n        local_a0 = opts.verbose;\n        local_a4 = 1;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);\n      }\n      else {\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }" if (parenthesized_expression "(opts.do_pc < 1)" ( (binary_expression "opts.do_pc < 1" (field_expression "opts.do_pc" identifier . field_identifier) < number_literal) )) (compound_statement "{\n        local_a8 = (uint)opts._4_4_ >> 8 & 0xff;\n        local_ac = opts._0_4_ & 0xff;\n        local_a0 = opts.verbose;\n        local_a4 = 1;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);\n      }" { (expression_statement "local_a8 = (uint)opts._4_4_ >> 8 & 0xff;" (assignment_expression "local_a8 = (uint)opts._4_4_ >> 8 & 0xff" identifier = (binary_expression "(uint)opts._4_4_ >> 8 & 0xff" (binary_expression "(uint)opts._4_4_ >> 8" (cast_expression "(uint)opts._4_4_" ( (type_descriptor "uint" type_identifier) ) (field_expression "opts._4_4_" identifier . field_identifier)) >> number_literal) & number_literal)) ;) (expression_statement "local_ac = opts._0_4_ & 0xff;" (assignment_expression "local_ac = opts._0_4_ & 0xff" identifier = (binary_expression "opts._0_4_ & 0xff" (field_expression "opts._0_4_" identifier . field_identifier) & number_literal)) ;) (expression_statement "local_a0 = opts.verbose;" (assignment_expression "local_a0 = opts.verbose" identifier = (field_expression "opts.verbose" identifier . field_identifier)) ;) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" identifier = number_literal) ;) (expression_statement "iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0);" (assignment_expression "iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0)" identifier = (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,0,0)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" ( (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" * (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,opts.do_immed,0,0)" ( identifier , (field_expression "opts.do_immed" identifier . field_identifier) , number_literal , number_literal )))) ;) }) (else_clause "else {\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }" else (compound_statement "{\n        local_a0 = opts.verbose;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);\n      }" { (expression_statement "local_a0 = opts.verbose;" (assignment_expression "local_a0 = opts.verbose" identifier = (field_expression "opts.verbose" identifier . field_identifier)) ;) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" identifier = number_literal) ;) (expression_statement "local_ac = 0;" (assignment_expression "local_ac = 0" identifier = number_literal) ;) (expression_statement "iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod);" (assignment_expression "iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod)" identifier = (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_mod)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" ( (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" * (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,opts.do_immed,opts.do_mod)" ( identifier , (field_expression "opts.do_immed" identifier . field_identifier) , (field_expression "opts.do_mod" identifier . field_identifier) )))) ;) }))) }) (else_clause "else {\n      local_a0 = opts.verbose;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);\n    }" else (compound_statement "{\n      local_a0 = opts.verbose;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);\n    }" { (expression_statement "local_a0 = opts.verbose;" (assignment_expression "local_a0 = opts.verbose" identifier = (field_expression "opts.verbose" identifier . field_identifier)) ;) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" identifier = number_literal) ;) (expression_statement "local_a8 = 1;" (assignment_expression "local_a8 = 1" identifier = number_literal) ;) (expression_statement "local_ac = 1;" (assignment_expression "local_ac = 1" identifier = number_literal) ;) (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" identifier = number_literal) ;) (expression_statement "iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0);" (assignment_expression "iVar4 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0)" identifier = (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar5,opts.do_immed,opts.do_fl,0)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" ( (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" * (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,opts.do_immed,opts.do_fl,0)" ( identifier , (field_expression "opts.do_immed" identifier . field_identifier) , (field_expression "opts.do_fl" identifier . field_identifier) , number_literal )))) ;) }))) (if_statement "if (iVar4 == 0) {\n      iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n      if (iVar5 < 0) {\n        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n      }\n    }\n    else {\n      if (opts.verbose < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n      if (iVar5 < 0) {\n        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n      }\n    }" { (expression_statement "iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);" (assignment_expression "iVar5 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5)" identifier = (call_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000231bc" * (cast_expression "(code *)PTR_sg_cmds_close_device_000231bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier )))) ;) (if_statement "if (iVar5 < 0) {\n        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n      }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);\n      }" { (expression_statement "iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5);" (assignment_expression "iVar4 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar5)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_00023190)(-iVar5)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_00023190)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_00023190" * (cast_expression "(code *)PTR_sg_convert_errno_00023190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar5)" ( (unary_expression "-iVar5" - identifier) )))) ;) })) }) (else_clause "else {\n      if (opts.verbose < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n    }" else (compound_statement "{\n      if (opts.verbose < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);\n    }" { (if_statement "if (opts.verbose < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }" if (parenthesized_expression "(opts.verbose < 2)" ( (binary_expression "opts.verbose < 2" (field_expression "opts.verbose" identifier . field_identifier) < number_literal) )) (compound_statement "{\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);\n      }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023184)(iVar4,0x50,b)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023184)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023184" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023184" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,0x50,b)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,b)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2bec,b)" ( (binary_expression "PTR_00023154 + 0x2bec" identifier + number_literal) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2d08)" ( (binary_expression "PTR_00023154 + 0x2d08" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5);" (call_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar5)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000231bc" * (cast_expression "(code *)PTR_sg_cmds_close_device_000231bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) }))) }))) (if_statement "if ((opts.verbose == 0) &&\n     (iVar5 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4), iVar5 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }" if (parenthesized_expression "((opts.verbose == 0) &&\n     (iVar5 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4), iVar5 == 0))" ( (binary_expression "(opts.verbose == 0) &&\n     (iVar5 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4), iVar5 == 0)" (parenthesized_expression "(opts.verbose == 0)" ( (binary_expression "opts.verbose == 0" (field_expression "opts.verbose" identifier . field_identifier) == number_literal) )) && (parenthesized_expression "(iVar5 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4), iVar5 == 0)" ( (comma_expression "iVar5 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4), iVar5 == 0" (assignment_expression "iVar5 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4)" identifier = (call_expression "(*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar4)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_00023198)" ( (pointer_expression "*(code *)PTR_sg_if_can2stderr_00023198" * (cast_expression "(code *)PTR_sg_if_can2stderr_00023198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2d28,iVar4)" ( (binary_expression "PTR_00023154 + 0x2d28" identifier + number_literal) , identifier )))) , (binary_expression "iVar5 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }" { (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2d3c)" ( (binary_expression "PTR_00023154 + 0x2d3c" identifier + number_literal) ))) ;) })) (if_statement "if (iVar4 < 0) {\n    iVar4 = 99;\n  }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar4 = 99;\n  }" { (expression_statement "iVar4 = 99;" (assignment_expression "iVar4 = 99" identifier = number_literal) ;) })) (labeled_statement "LAB_00010bbc:\n  if (iVar3 != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }" statement_identifier : (if_statement "if (iVar3 != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }" if (parenthesized_expression "(iVar3 != *(int *)puVar1)" ( (binary_expression "iVar3 != *(int *)puVar1" identifier != (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );\n  }" { (expression_statement "uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();" (assignment_expression "uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_000231b4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000231b4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000231b4" * (cast_expression "(code *)PTR___stack_chk_fail_000231b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puStack_c8 = auStack_e0;" (assignment_expression "puStack_c8 = auStack_e0" identifier = identifier) ;) (expression_statement "puStack_d0 = PTR___libc_csu_fini_00023140;" (assignment_expression "puStack_d0 = PTR___libc_csu_fini_00023140" identifier = identifier) ;) (expression_statement "(*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);" (call_expression "(*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c)" (parenthesized_expression "(*(code *)PTR___libc_start_main_0002319c)" ( (pointer_expression "*(code *)PTR___libc_start_main_0002319c" * (cast_expression "(code *)PTR___libc_start_main_0002319c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c)" ( identifier , identifier , identifier , identifier ))) ;) (do_statement "do {\n                    /* WARNING: Do nothing block with infinite loop */\n    } while( true );" do (compound_statement "{\n                    /* WARNING: Do nothing block with infinite loop */\n    }" { comment }) while (parenthesized_expression "( true )" ( true )) ;) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "int main(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  int local_84;\n  int local_80;\n  undefined4 local_7c;\n  int local_78;\n  int local_74;\n  int local_70;\n  undefined1 auStack_6c [80];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  local_90 = 0;\n  local_8c = 0;\n  local_88 = 0;\n  local_84 = -1;\n  local_80 = 0;\n  local_7c = 0;\n  local_78 = 0;\n  local_74 = 0;\n  local_70 = 0;\n  local_1c = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  local_88 = local_88 & 0xffffff;\n  iVar2 = FUN_00011504(&local_90);\n  if (iVar2 != 0) goto LAB_00010bbc;\n  if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);\n  iVar2 = local_70;\n  if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }\n  if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar2 < 0) {\n    iVar2 = 99;\n  }\nLAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }\n  return iVar2;\n}\n\n" (function_definition "int main(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  int local_84;\n  int local_80;\n  undefined4 local_7c;\n  int local_78;\n  int local_74;\n  int local_70;\n  undefined1 auStack_6c [80];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  local_90 = 0;\n  local_8c = 0;\n  local_88 = 0;\n  local_84 = -1;\n  local_80 = 0;\n  local_7c = 0;\n  local_78 = 0;\n  local_74 = 0;\n  local_70 = 0;\n  local_1c = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  local_88 = local_88 & 0xffffff;\n  iVar2 = FUN_00011504(&local_90);\n  if (iVar2 != 0) goto LAB_00010bbc;\n  if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);\n  iVar2 = local_70;\n  if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }\n  if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar2 < 0) {\n    iVar2 = 99;\n  }\nLAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }\n  return iVar2;\n}" primitive_type (function_declarator "main(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  int local_84;\n  int local_80;\n  undefined4 local_7c;\n  int local_78;\n  int local_74;\n  int local_70;\n  undefined1 auStack_6c [80];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  local_90 = 0;\n  local_8c = 0;\n  local_88 = 0;\n  local_84 = -1;\n  local_80 = 0;\n  local_7c = 0;\n  local_78 = 0;\n  local_74 = 0;\n  local_70 = 0;\n  local_1c = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  local_88 = local_88 & 0xffffff;\n  iVar2 = FUN_00011504(&local_90);\n  if (iVar2 != 0) goto LAB_00010bbc;\n  if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);\n  iVar2 = local_70;\n  if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }\n  if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar2 < 0) {\n    iVar2 = 99;\n  }\nLAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined1 auStack_e0 [16];" type_identifier (array_declarator "auStack_e0 [16]" identifier [ number_literal ]) ;) (declaration "undefined *puStack_d0;" type_identifier (pointer_declarator "*puStack_d0" * identifier) ;) (declaration "undefined4 uStack_cc;" type_identifier identifier ;) (declaration "undefined1 *puStack_c8;" type_identifier (pointer_declarator "*puStack_c8" * identifier) ;) (declaration "undefined4 uStack_c0;" type_identifier identifier ;) (declaration "undefined1 auStack_bc [12];" type_identifier (array_declarator "auStack_bc [12]" identifier [ number_literal ]) ;) (declaration "uint local_b0;" type_identifier identifier ;) (declaration "uint local_ac;" type_identifier identifier ;) (declaration "uint local_a8;" type_identifier identifier ;) (declaration "undefined4 local_a4;" type_identifier identifier ;) (declaration "int local_a0;" primitive_type identifier ;) (declaration "undefined4 local_90;" type_identifier identifier ;) (declaration "undefined4 local_8c;" type_identifier identifier ;) (declaration "undefined4 local_88;" type_identifier identifier ;) (declaration "int local_84;" primitive_type identifier ;) (declaration "int local_80;" primitive_type identifier ;) (declaration "undefined4 local_7c;" type_identifier identifier ;) (declaration "int local_78;" primitive_type identifier ;) (declaration "int local_74;" primitive_type identifier ;) (declaration "int local_70;" primitive_type identifier ;) (declaration "undefined1 auStack_6c [80];" type_identifier (array_declarator "auStack_6c [80]" identifier [ number_literal ]) ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000231c0;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000231c0" identifier = identifier) ;) (expression_statement "local_90 = 0;" (assignment_expression "local_90 = 0" identifier = number_literal) ;) (expression_statement "local_8c = 0;" (assignment_expression "local_8c = 0" identifier = number_literal) ;) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" identifier = number_literal) ;) (expression_statement "local_84 = -1;" (assignment_expression "local_84 = -1" identifier = number_literal) ;) (expression_statement "local_80 = 0;" (assignment_expression "local_80 = 0" identifier = number_literal) ;) (expression_statement "local_7c = 0;" (assignment_expression "local_7c = 0" identifier = number_literal) ;) (expression_statement "local_78 = 0;" (assignment_expression "local_78 = 0" identifier = number_literal) ;) (expression_statement "local_74 = 0;" (assignment_expression "local_74 = 0" identifier = number_literal) ;) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_000231c0;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_000231c0" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000231c0" * (cast_expression "(int *)PTR___stack_chk_guard_000231c0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84)" identifier = (call_expression "(*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84)" (parenthesized_expression "(*(code *)PTR_getenv_000231ac)" ( (pointer_expression "*(code *)PTR_getenv_000231ac" * (cast_expression "(code *)PTR_getenv_000231ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2b84)" ( (binary_expression "PTR_00023154 + 0x2b84" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }" { (expression_statement "local_88 = CONCAT13(1,local_88._1_3_);" (assignment_expression "local_88 = CONCAT13(1,local_88._1_3_)" identifier = (call_expression "CONCAT13(1,local_88._1_3_)" identifier (argument_list "(1,local_88._1_3_)" ( number_literal , (field_expression "local_88._1_3_" identifier . field_identifier) )))) ;) (expression_statement "iVar2 = FUN_00011150(&local_90,param_1,param_2);" (assignment_expression "iVar2 = FUN_00011150(&local_90,param_1,param_2)" identifier = (call_expression "FUN_00011150(&local_90,param_1,param_2)" identifier (argument_list "(&local_90,param_1,param_2)" ( (pointer_expression "&local_90" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00010bbc;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;)) (if_statement "if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }" if (parenthesized_expression "(local_88._0_1_ == '\0')" ( (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }" { (expression_statement "iVar2 = FUN_00011504(&local_90,param_1,param_2);" (assignment_expression "iVar2 = FUN_00011504(&local_90,param_1,param_2)" identifier = (call_expression "FUN_00011504(&local_90,param_1,param_2)" identifier (argument_list "(&local_90,param_1,param_2)" ( (pointer_expression "&local_90" & identifier) , identifier , identifier )))) ;) (goto_statement "goto LAB_00010cc4;" goto statement_identifier ;) })) (if_statement "if (local_80 == 0) goto LAB_00010a88;" if (parenthesized_expression "(local_80 == 0)" ( (binary_expression "local_80 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00010a88;" goto statement_identifier ;)) (labeled_statement "LAB_00010c24:\n    iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x1da4)" ( (binary_expression "PTR_00023154 + 0x1da4" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (expression_statement "local_88 = local_88 & 0xffffff;" (assignment_expression "local_88 = local_88 & 0xffffff" identifier = (binary_expression "local_88 & 0xffffff" identifier & number_literal)) ;) (expression_statement "iVar2 = FUN_00011504(&local_90);" (assignment_expression "iVar2 = FUN_00011504(&local_90)" identifier = (call_expression "FUN_00011504(&local_90)" identifier (argument_list "(&local_90)" ( (pointer_expression "&local_90" & identifier) )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00010bbc;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;)) (if_statement "if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" if (parenthesized_expression "(local_88._0_1_ == '\0')" ( (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }" { (if_statement "if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(local_80 != 0)" ( (binary_expression "local_80 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }" { (labeled_statement "LAB_00010ce4:\n      iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2490)" ( (binary_expression "PTR_00023154 + 0x2490" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" else (compound_statement "{\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" { (expression_statement "iVar2 = FUN_00011150(&local_90,param_1,param_2);" (assignment_expression "iVar2 = FUN_00011150(&local_90,param_1,param_2)" identifier = (call_expression "FUN_00011150(&local_90,param_1,param_2)" identifier (argument_list "(&local_90,param_1,param_2)" ( (pointer_expression "&local_90" & identifier) , identifier , identifier )))) ;) (labeled_statement "LAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;" statement_identifier : (if_statement "if (iVar2 != 0) goto LAB_00010bbc;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;))) (if_statement "if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }" if (parenthesized_expression "(local_80 != 0)" ( (binary_expression "local_80 != 0" identifier != number_literal) )) (compound_statement "{\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }" { (if_statement "if (local_88._0_1_ != '\0') goto LAB_00010c24;" if (parenthesized_expression "(local_88._0_1_ != '\0')" ( (binary_expression "local_88._0_1_ != '\0'" (field_expression "local_88._0_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00010c24;" goto statement_identifier ;)) (goto_statement "goto LAB_00010ce4;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" statement_identifier : (if_statement "if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" if (parenthesized_expression "(local_88._1_1_ == '\0')" ( (binary_expression "local_88._1_1_ == '\0'" (field_expression "local_88._1_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }" { (labeled_statement "LAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" statement_identifier : (if_statement "if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(local_88._2_1_ != '\0')" ( (binary_expression "local_88._2_1_ != '\0'" (field_expression "local_88._2_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc)" ( (binary_expression "PTR_00023154 + 0x2bdc" identifier + number_literal) , (binary_expression "PTR_00023154 + 0x2bcc" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) }))) }) (else_clause "else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" else (compound_statement "{\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" { (if_statement "if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }" if (parenthesized_expression "(local_88._2_1_ != '\0')" ( (binary_expression "local_88._2_1_ != '\0'" (field_expression "local_88._2_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }" { (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2b98)" ( (binary_expression "PTR_00023154 + 0x2b98" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010c54;" goto statement_identifier ;) })) })))) (if_statement "if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }" if (parenthesized_expression "((local_8c._2_1_ != '\0') && ((byte)local_8c != 0))" ( (binary_expression "(local_8c._2_1_ != '\0') && ((byte)local_8c != 0)" (parenthesized_expression "(local_8c._2_1_ != '\0')" ( (binary_expression "local_8c._2_1_ != '\0'" (field_expression "local_8c._2_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((byte)local_8c != 0)" ( (binary_expression "(byte)local_8c != 0" (cast_expression "(byte)local_8c" ( (type_descriptor "byte" type_identifier) ) identifier) != number_literal) ))) )) (compound_statement "{\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }" { (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2bf0)" ( (binary_expression "PTR_00023154 + 0x2bf0" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (if_statement "if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" if (parenthesized_expression "(local_90._2_1_ == '\0')" ( (binary_expression "local_90._2_1_ == '\0'" (field_expression "local_90._2_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }" { (if_statement "if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }" if (parenthesized_expression "((local_90._0_1_ != '\0') || ((byte)local_8c != 0))" ( (binary_expression "(local_90._0_1_ != '\0') || ((byte)local_8c != 0)" (parenthesized_expression "(local_90._0_1_ != '\0')" ( (binary_expression "local_90._0_1_ != '\0'" (field_expression "local_90._0_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "((byte)local_8c != 0)" ( (binary_expression "(byte)local_8c != 0" (cast_expression "(byte)local_8c" ( (type_descriptor "byte" type_identifier) ) identifier) != number_literal) ))) )) (compound_statement "{\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }" { (expression_statement "local_8c._2_2_ = (ushort)(byte)local_8c;" (assignment_expression "local_8c._2_2_ = (ushort)(byte)local_8c" (field_expression "local_8c._2_2_" identifier . field_identifier) = (cast_expression "(ushort)(byte)local_8c" ( (type_descriptor "ushort" type_identifier) ) (cast_expression "(byte)local_8c" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (goto_statement "goto LAB_00010ae8;" goto statement_identifier ;) })) (if_statement "if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }" if (parenthesized_expression "(local_88._0_1_ == '\0')" ( (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }" { (if_statement "if ((local_90 & 0xff) == 0) goto LAB_00010e7c;" if (parenthesized_expression "((local_90 & 0xff) == 0)" ( (binary_expression "(local_90 & 0xff) == 0" (parenthesized_expression "(local_90 & 0xff)" ( (binary_expression "local_90 & 0xff" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00010e7c;" goto statement_identifier ;)) (goto_statement "goto LAB_00010aec;" goto statement_identifier ;) })) (if_statement "if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }" if (parenthesized_expression "((local_90 & 0xff) != 0)" ( (binary_expression "(local_90 & 0xff) != 0" (parenthesized_expression "(local_90 & 0xff)" ( (binary_expression "local_90 & 0xff" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }" { (if_statement "if (local_8c._2_1_ == '\0') goto LAB_00010ae4;" if (parenthesized_expression "(local_8c._2_1_ == '\0')" ( (binary_expression "local_8c._2_1_ == '\0'" (field_expression "local_8c._2_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00010ae4;" goto statement_identifier ;)) (goto_statement "goto LAB_00010aec;" goto statement_identifier ;) })) (labeled_statement "LAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;" statement_identifier : (if_statement "if (local_84 != -1) goto LAB_00010aec;" if (parenthesized_expression "(local_84 != -1)" ( (binary_expression "local_84 != -1" identifier != number_literal) )) (goto_statement "goto LAB_00010aec;" goto statement_identifier ;))) (if_statement "if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }" if (parenthesized_expression "(local_78 == 0)" ( (binary_expression "local_78 == 0" identifier == number_literal) )) (compound_statement "{\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }" { (expression_statement "local_8c = CONCAT22(local_8c._0_2_,0x100);" (assignment_expression "local_8c = CONCAT22(local_8c._0_2_,0x100)" identifier = (call_expression "CONCAT22(local_8c._0_2_,0x100)" identifier (argument_list "(local_8c._0_2_,0x100)" ( (field_expression "local_8c._0_2_" identifier . field_identifier) , number_literal )))) ;) })) (if_statement "if (local_70 == 0) goto LAB_00010ea8;" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00010ea8;" goto statement_identifier ;)) }) (else_clause "else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" else (compound_statement "{\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" { (if_statement "if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(local_90._0_1_ != '\0')" ( (binary_expression "local_90._0_1_ != '\0'" (field_expression "local_90._0_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }" { (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2c20)" ( (binary_expression "PTR_00023154 + 0x2c20" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (labeled_statement "LAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);" statement_identifier : (expression_statement "local_8c._2_2_ = CONCAT11(1,(byte)local_8c);" (assignment_expression "local_8c._2_2_ = CONCAT11(1,(byte)local_8c)" (field_expression "local_8c._2_2_" identifier . field_identifier) = (call_expression "CONCAT11(1,(byte)local_8c)" identifier (argument_list "(1,(byte)local_8c)" ( number_literal , (cast_expression "(byte)local_8c" ( (type_descriptor "byte" type_identifier) ) identifier) )))) ;)) (labeled_statement "LAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" statement_identifier : (labeled_statement "LAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" statement_identifier : (if_statement "if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" if (parenthesized_expression "(local_70 == 0)" ( (binary_expression "local_70 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" { (labeled_statement "LAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);" statement_identifier : (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2c50)" ( (binary_expression "PTR_00023154 + 0x2c50" identifier + number_literal) ))) ;)) (if_statement "if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" if (parenthesized_expression "(local_88._0_1_ == '\0')" ( (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2490)" ( (binary_expression "PTR_00023154 + 0x2490" identifier + number_literal) ))) ;) }) (else_clause "else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" else (compound_statement "{\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x1da4)" ( (binary_expression "PTR_00023154 + 0x1da4" identifier + number_literal) ))) ;) }))) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })))) (if_statement "if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }" if (parenthesized_expression "(-1 < local_84)" ( (binary_expression "-1 < local_84" number_literal < identifier) )) (compound_statement "{\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }" { (if_statement "if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }" if (parenthesized_expression "(local_8c._2_1_ == '\0')" ( (binary_expression "local_8c._2_1_ == '\0'" (field_expression "local_8c._2_1_" identifier . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }" { (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2c6c)" ( (binary_expression "PTR_00023154 + 0x2c6c" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) (if_statement "if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }" if (parenthesized_expression "(0 < local_78)" ( (binary_expression "0 < local_78" number_literal < identifier) )) (compound_statement "{\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }" { (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2ca8)" ( (binary_expression "PTR_00023154 + 0x2ca8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00010bbc;" goto statement_identifier ;) })) })) }))) (expression_statement "iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);" (assignment_expression "iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74)" identifier = (call_expression "(*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74)" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00023178)" ( (pointer_expression "*(code *)PTR_sg_cmds_open_device_00023178" * (cast_expression "(code *)PTR_sg_cmds_open_device_00023178" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_70,local_8c._1_1_,local_74)" ( identifier , (field_expression "local_8c._1_1_" identifier . field_identifier) , identifier )))) ;) (expression_statement "iVar2 = local_70;" (assignment_expression "iVar2 = local_70" identifier = identifier) ;) (if_statement "if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }" { (if_statement "if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }" if (parenthesized_expression "(local_74 != 0)" ( (binary_expression "local_74 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }" { (expression_statement "uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);" (assignment_expression "uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3)" identifier = (call_expression "(*(code *)PTR_safe_strerror_00023188)(-iVar3)" (parenthesized_expression "(*(code *)PTR_safe_strerror_00023188)" ( (pointer_expression "*(code *)PTR_safe_strerror_00023188" * (cast_expression "(code *)PTR_safe_strerror_00023188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar3)" ( (unary_expression "-iVar3" - identifier) )))) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2ce8,iVar2,uVar4)" ( (binary_expression "PTR_00023154 + 0x2ce8" identifier + number_literal) , identifier , identifier ))) ;) })) (expression_statement "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);" (assignment_expression "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_00023190)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_00023190" * (cast_expression "(code *)PTR_sg_convert_errno_00023190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar3)" ( (unary_expression "-iVar3" - identifier) )))) ;) }) (else_clause "else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }" else (compound_statement "{\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }" { (if_statement "if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }" if (parenthesized_expression "(local_84 < 0)" ( (binary_expression "local_84 < 0" identifier < number_literal) )) (compound_statement "{\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }" { (expression_statement "local_b0 = local_8c >> 0x18;" (assignment_expression "local_b0 = local_8c >> 0x18" identifier = (binary_expression "local_8c >> 0x18" identifier >> number_literal)) ;) (if_statement "if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }" if (parenthesized_expression "(local_78 < 1)" ( (binary_expression "local_78 < 1" identifier < number_literal) )) (compound_statement "{\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }" { (expression_statement "local_a8 = local_8c >> 8 & 0xff;" (assignment_expression "local_a8 = local_8c >> 8 & 0xff" identifier = (binary_expression "local_8c >> 8 & 0xff" (binary_expression "local_8c >> 8" identifier >> number_literal) & number_literal)) ;) (expression_statement "local_ac = local_90 & 0xff;" (assignment_expression "local_ac = local_90 & 0xff" identifier = (binary_expression "local_90 & 0xff" identifier & number_literal)) ;) (expression_statement "local_a0 = local_74;" (assignment_expression "local_a0 = local_74" identifier = identifier) ;) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);" (assignment_expression "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0)" identifier = (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" ( (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" * (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,local_90._1_1_,0,0)" ( identifier , (field_expression "local_90._1_1_" identifier . field_identifier) , number_literal , number_literal )))) ;) }) (else_clause "else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }" else (compound_statement "{\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }" { (expression_statement "local_a0 = local_74;" (assignment_expression "local_a0 = local_74" identifier = identifier) ;) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" identifier = number_literal) ;) (expression_statement "local_ac = 0;" (assignment_expression "local_ac = 0" identifier = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);" (assignment_expression "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c)" identifier = (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" ( (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" * (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,local_90._1_1_,local_7c)" ( identifier , (field_expression "local_90._1_1_" identifier . field_identifier) , identifier )))) ;) }))) }) (else_clause "else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }" else (compound_statement "{\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }" { (expression_statement "local_a0 = local_74;" (assignment_expression "local_a0 = local_74" identifier = identifier) ;) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" identifier = number_literal) ;) (expression_statement "local_a8 = 1;" (assignment_expression "local_a8 = 1" identifier = number_literal) ;) (expression_statement "local_ac = 1;" (assignment_expression "local_ac = 1" identifier = number_literal) ;) (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);" (assignment_expression "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0)" identifier = (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" ( (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" * (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,local_90._1_1_,local_84,0)" ( identifier , (field_expression "local_90._1_1_" identifier . field_identifier) , identifier , number_literal )))) ;) }))) (if_statement "if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }" { (expression_statement "iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);" (assignment_expression "iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3)" identifier = (call_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000231bc" * (cast_expression "(code *)PTR_sg_cmds_close_device_000231bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier )))) ;) (if_statement "if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }" { (expression_statement "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);" (assignment_expression "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" identifier = (call_expression "(*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_00023190)" ( (pointer_expression "*(code *)PTR_sg_convert_errno_00023190" * (cast_expression "(code *)PTR_sg_convert_errno_00023190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(-iVar3)" ( (unary_expression "-iVar3" - identifier) )))) ;) })) }) (else_clause "else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }" else (compound_statement "{\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }" { (if_statement "if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }" if (parenthesized_expression "(local_74 < 2)" ( (binary_expression "local_74 < 2" identifier < number_literal) )) (compound_statement "{\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }" { (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023184)" ( (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023184" * (cast_expression "(code *)PTR_sg_get_category_sense_str_00023184" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,0x50,auStack_6c)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2bec,auStack_6c)" ( (binary_expression "PTR_00023154 + 0x2bec" identifier + number_literal) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2d08)" ( (binary_expression "PTR_00023154 + 0x2d08" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);" (call_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)" ( (pointer_expression "*(code *)PTR_sg_cmds_close_device_000231bc" * (cast_expression "(code *)PTR_sg_cmds_close_device_000231bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) }))) }))) (if_statement "if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }" if (parenthesized_expression "((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0))" ( (binary_expression "(local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)" (parenthesized_expression "(local_74 == 0)" ( (binary_expression "local_74 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)" ( (comma_expression "iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0" (assignment_expression "iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2)" identifier = (call_expression "(*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_00023198)" ( (pointer_expression "*(code *)PTR_sg_if_can2stderr_00023198" * (cast_expression "(code *)PTR_sg_if_can2stderr_00023198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2d28,iVar2)" ( (binary_expression "PTR_00023154 + 0x2d28" identifier + number_literal) , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }" { (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" ( (pointer_expression "*(code *)PTR_pr2serr_000231b0" * (cast_expression "(code *)PTR_pr2serr_000231b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_00023154 + 0x2d3c)" ( (binary_expression "PTR_00023154 + 0x2d3c" identifier + number_literal) ))) ;) })) (if_statement "if (iVar2 < 0) {\n    iVar2 = 99;\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar2 = 99;\n  }" { (expression_statement "iVar2 = 99;" (assignment_expression "iVar2 = 99" identifier = number_literal) ;) })) (labeled_statement "LAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }" statement_identifier : (if_statement "if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }" if (parenthesized_expression "(local_1c != *(int *)puVar1)" ( (binary_expression "local_1c != *(int *)puVar1" identifier != (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }" { (expression_statement "uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();" (assignment_expression "uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_000231b4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000231b4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000231b4" * (cast_expression "(code *)PTR___stack_chk_fail_000231b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puStack_c8 = auStack_e0;" (assignment_expression "puStack_c8 = auStack_e0" identifier = identifier) ;) (expression_statement "puStack_d0 = PTR___libc_csu_fini_00023140;" (assignment_expression "puStack_d0 = PTR___libc_csu_fini_00023140" identifier = identifier) ;) (expression_statement "(*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);" (call_expression "(*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c)" (parenthesized_expression "(*(code *)PTR___libc_start_main_0002319c)" ( (pointer_expression "*(code *)PTR___libc_start_main_0002319c" * (cast_expression "(code *)PTR___libc_start_main_0002319c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c)" ( identifier , identifier , identifier , identifier ))) ;) (do_statement "do {\n                    \n    } while( true );" do (compound_statement "{\n                    \n    }" { }) while (parenthesized_expression "( true )" ( true )) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = 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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (field_expression IDENT . field_identifier) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (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) ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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) ))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) == (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence ')) )) (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) , (binary_expression IDENT + LIT) ))) ;) (goto_statement goto statement_identifier ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) != (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) ))) ;) (goto_statement goto statement_identifier ;) })) })))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != LIT) ))) )) (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 ;) })) (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , LIT )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence ')) )) (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 ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;)) (labeled_statement statement_identifier : (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (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 (field_expression IDENT . field_identifier) == (char_literal ' escape_sequence ')) )) (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) ))) ;) }) (else_clause else (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 ;) })))) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) == (char_literal ' escape_sequence ')) )) (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 ;) })) (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 (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (field_expression IDENT . field_identifier) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (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 ( (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 , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (unary_expression - IDENT) )))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (field_expression IDENT . field_identifier) , LIT , LIT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (field_expression IDENT . field_identifier) , IDENT )))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (field_expression IDENT . field_identifier) , 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 )))) ;) (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 ( (unary_expression - IDENT) )))) ;) })) }) (else_clause else (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 ( 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 ))) ;) })) (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 ( IDENT ))) ;) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == 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 { (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) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (do_statement do (compound_statement { }) while (parenthesized_expression ( BOOL )) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int main(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  int local_84;\n  int local_80;\n  undefined4 local_7c;\n  int local_78;\n  int local_74;\n  int local_70;\n  undefined1 auStack_6c [80];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  local_90 = 0;\n  local_8c = 0;\n  local_88 = 0;\n  local_84 = -1;\n  local_80 = 0;\n  local_7c = 0;\n  local_78 = 0;\n  local_74 = 0;\n  local_70 = 0;\n  local_1c = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  local_88 = local_88 & 0xffffff;\n  iVar2 = FUN_00011504(&local_90);\n  if (iVar2 != 0) goto LAB_00010bbc;\n  if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);\n  iVar2 = local_70;\n  if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }\n  if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar2 < 0) {\n    iVar2 = 99;\n  }\nLAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "main(undefined4 param_1,undefined4 param_2)" (identifier "main") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined1 auStack_e0 [16];\n  undefined *puStack_d0;\n  undefined4 uStack_cc;\n  undefined1 *puStack_c8;\n  undefined4 uStack_c0;\n  undefined1 auStack_bc [12];\n  uint local_b0;\n  uint local_ac;\n  uint local_a8;\n  undefined4 local_a4;\n  int local_a0;\n  undefined4 local_90;\n  undefined4 local_8c;\n  undefined4 local_88;\n  int local_84;\n  int local_80;\n  undefined4 local_7c;\n  int local_78;\n  int local_74;\n  int local_70;\n  undefined1 auStack_6c [80];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_000231c0;\n  local_90 = 0;\n  local_8c = 0;\n  local_88 = 0;\n  local_84 = -1;\n  local_80 = 0;\n  local_7c = 0;\n  local_78 = 0;\n  local_74 = 0;\n  local_70 = 0;\n  local_1c = *(int *)PTR___stack_chk_guard_000231c0;\n  iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);\n  if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }\n  local_88 = local_88 & 0xffffff;\n  iVar2 = FUN_00011504(&local_90);\n  if (iVar2 != 0) goto LAB_00010bbc;\n  if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }\nLAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }\n  if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }\n  if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }\n  iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);\n  iVar2 = local_70;\n  if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }\n  if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }\n  if (iVar2 < 0) {\n    iVar2 = 99;\n  }\nLAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }\n  return iVar2;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined1 auStack_e0 [16];" (type_identifier "undefined1") (array_declarator "auStack_e0 [16]" (identifier "auStack_e0") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined *puStack_d0;" (type_identifier "undefined") (pointer_declarator "*puStack_d0" (* "*") (identifier "puStack_d0")) (; ";")) (declaration "undefined4 uStack_cc;" (type_identifier "undefined4") (identifier "uStack_cc") (; ";")) (declaration "undefined1 *puStack_c8;" (type_identifier "undefined1") (pointer_declarator "*puStack_c8" (* "*") (identifier "puStack_c8")) (; ";")) (declaration "undefined4 uStack_c0;" (type_identifier "undefined4") (identifier "uStack_c0") (; ";")) (declaration "undefined1 auStack_bc [12];" (type_identifier "undefined1") (array_declarator "auStack_bc [12]" (identifier "auStack_bc") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "uint local_b0;" (type_identifier "uint") (identifier "local_b0") (; ";")) (declaration "uint local_ac;" (type_identifier "uint") (identifier "local_ac") (; ";")) (declaration "uint local_a8;" (type_identifier "uint") (identifier "local_a8") (; ";")) (declaration "undefined4 local_a4;" (type_identifier "undefined4") (identifier "local_a4") (; ";")) (declaration "int local_a0;" (primitive_type "int") (identifier "local_a0") (; ";")) (declaration "undefined4 local_90;" (type_identifier "undefined4") (identifier "local_90") (; ";")) (declaration "undefined4 local_8c;" (type_identifier "undefined4") (identifier "local_8c") (; ";")) (declaration "undefined4 local_88;" (type_identifier "undefined4") (identifier "local_88") (; ";")) (declaration "int local_84;" (primitive_type "int") (identifier "local_84") (; ";")) (declaration "int local_80;" (primitive_type "int") (identifier "local_80") (; ";")) (declaration "undefined4 local_7c;" (type_identifier "undefined4") (identifier "local_7c") (; ";")) (declaration "int local_78;" (primitive_type "int") (identifier "local_78") (; ";")) (declaration "int local_74;" (primitive_type "int") (identifier "local_74") (; ";")) (declaration "int local_70;" (primitive_type "int") (identifier "local_70") (; ";")) (declaration "undefined1 auStack_6c [80];" (type_identifier "undefined1") (array_declarator "auStack_6c [80]" (identifier "auStack_6c") ([ "[") (number_literal "80") (] "]")) (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_000231c0;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000231c0" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_000231c0")) (; ";")) (expression_statement "local_90 = 0;" (assignment_expression "local_90 = 0" (identifier "local_90") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_8c = 0;" (assignment_expression "local_8c = 0" (identifier "local_8c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" (identifier "local_88") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_84 = -1;" (assignment_expression "local_84 = -1" (identifier "local_84") (= "=") (number_literal "-1")) (; ";")) (expression_statement "local_80 = 0;" (assignment_expression "local_80 = 0" (identifier "local_80") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_7c = 0;" (assignment_expression "local_7c = 0" (identifier "local_7c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_78 = 0;" (assignment_expression "local_78 = 0" (identifier "local_78") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_74 = 0;" (assignment_expression "local_74 = 0" (identifier "local_74") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" (identifier "local_70") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_000231c0;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_000231c0" (identifier "local_1c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000231c0" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000231c0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000231c0")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);" (assignment_expression "iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84)" (parenthesized_expression "(*(code *)PTR_getenv_000231ac)" (( "(") (pointer_expression "*(code *)PTR_getenv_000231ac" (* "*") (cast_expression "(code *)PTR_getenv_000231ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getenv_000231ac"))) () ")")) (argument_list "(PTR_00023154 + 0x2b84)" (( "(") (binary_expression "PTR_00023154 + 0x2b84" (identifier "PTR_00023154") (+ "+") (number_literal "0x2b84")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_88 = CONCAT13(1,local_88._1_3_);\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }\n    if (local_80 == 0) goto LAB_00010a88;\nLAB_00010c24:\n    iVar2 = 0;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n    goto LAB_00010bbc;\n  }" ({ "{") (expression_statement "local_88 = CONCAT13(1,local_88._1_3_);" (assignment_expression "local_88 = CONCAT13(1,local_88._1_3_)" (identifier "local_88") (= "=") (call_expression "CONCAT13(1,local_88._1_3_)" (identifier "CONCAT13") (argument_list "(1,local_88._1_3_)" (( "(") (number_literal "1") (, ",") (field_expression "local_88._1_3_" (identifier "local_88") (. ".") (field_identifier "_1_3_")) () ")")))) (; ";")) (expression_statement "iVar2 = FUN_00011150(&local_90,param_1,param_2);" (assignment_expression "iVar2 = FUN_00011150(&local_90,param_1,param_2)" (identifier "iVar2") (= "=") (call_expression "FUN_00011150(&local_90,param_1,param_2)" (identifier "FUN_00011150") (argument_list "(&local_90,param_1,param_2)" (( "(") (pointer_expression "&local_90" (& "&") (identifier "local_90")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_00010bbc;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";"))) (if_statement "if (local_88._0_1_ == '\0') {\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }" (if "if") (parenthesized_expression "(local_88._0_1_ == '\0')" (( "(") (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" (identifier "local_88") (. ".") (field_identifier "_0_1_")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar2 = FUN_00011504(&local_90,param_1,param_2);\n      goto LAB_00010cc4;\n    }" ({ "{") (expression_statement "iVar2 = FUN_00011504(&local_90,param_1,param_2);" (assignment_expression "iVar2 = FUN_00011504(&local_90,param_1,param_2)" (identifier "iVar2") (= "=") (call_expression "FUN_00011504(&local_90,param_1,param_2)" (identifier "FUN_00011504") (argument_list "(&local_90,param_1,param_2)" (( "(") (pointer_expression "&local_90" (& "&") (identifier "local_90")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (goto_statement "goto LAB_00010cc4;" (goto "goto") (statement_identifier "LAB_00010cc4") (; ";")) (} "}"))) (if_statement "if (local_80 == 0) goto LAB_00010a88;" (if "if") (parenthesized_expression "(local_80 == 0)" (( "(") (binary_expression "local_80 == 0" (identifier "local_80") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00010a88;" (goto "goto") (statement_identifier "LAB_00010a88") (; ";"))) (labeled_statement "LAB_00010c24:\n    iVar2 = 0;" (statement_identifier "LAB_00010c24") (: ":") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";"))) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x1da4)" (( "(") (binary_expression "PTR_00023154 + 0x1da4" (identifier "PTR_00023154") (+ "+") (number_literal "0x1da4")) () ")"))) (; ";")) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";")) (} "}"))) (expression_statement "local_88 = local_88 & 0xffffff;" (assignment_expression "local_88 = local_88 & 0xffffff" (identifier "local_88") (= "=") (binary_expression "local_88 & 0xffffff" (identifier "local_88") (& "&") (number_literal "0xffffff"))) (; ";")) (expression_statement "iVar2 = FUN_00011504(&local_90);" (assignment_expression "iVar2 = FUN_00011504(&local_90)" (identifier "iVar2") (= "=") (call_expression "FUN_00011504(&local_90)" (identifier "FUN_00011504") (argument_list "(&local_90)" (( "(") (pointer_expression "&local_90" (& "&") (identifier "local_90")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_00010bbc;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";"))) (if_statement "if (local_88._0_1_ == '\0') {\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" (if "if") (parenthesized_expression "(local_88._0_1_ == '\0')" (( "(") (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" (identifier "local_88") (. ".") (field_identifier "_0_1_")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }\n  }" ({ "{") (if_statement "if (local_80 != 0) {\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }" (if "if") (parenthesized_expression "(local_80 != 0)" (( "(") (binary_expression "local_80 != 0" (identifier "local_80") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00010ce4:\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      goto LAB_00010bbc;\n    }" ({ "{") (labeled_statement "LAB_00010ce4:\n      iVar2 = 0;" (statement_identifier "LAB_00010ce4") (: ":") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";"))) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2490)" (( "(") (binary_expression "PTR_00023154 + 0x2490" (identifier "PTR_00023154") (+ "+") (number_literal "0x2490")) () ")"))) (; ";")) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" (else "else") (compound_statement "{\n    iVar2 = FUN_00011150(&local_90,param_1,param_2);\nLAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;\n    if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }\n  }" ({ "{") (expression_statement "iVar2 = FUN_00011150(&local_90,param_1,param_2);" (assignment_expression "iVar2 = FUN_00011150(&local_90,param_1,param_2)" (identifier "iVar2") (= "=") (call_expression "FUN_00011150(&local_90,param_1,param_2)" (identifier "FUN_00011150") (argument_list "(&local_90,param_1,param_2)" (( "(") (pointer_expression "&local_90" (& "&") (identifier "local_90")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (labeled_statement "LAB_00010cc4:\n    if (iVar2 != 0) goto LAB_00010bbc;" (statement_identifier "LAB_00010cc4") (: ":") (if_statement "if (iVar2 != 0) goto LAB_00010bbc;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";")))) (if_statement "if (local_80 != 0) {\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }" (if "if") (parenthesized_expression "(local_80 != 0)" (( "(") (binary_expression "local_80 != 0" (identifier "local_80") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (local_88._0_1_ != '\0') goto LAB_00010c24;\n      goto LAB_00010ce4;\n    }" ({ "{") (if_statement "if (local_88._0_1_ != '\0') goto LAB_00010c24;" (if "if") (parenthesized_expression "(local_88._0_1_ != '\0')" (( "(") (binary_expression "local_88._0_1_ != '\0'" (field_expression "local_88._0_1_" (identifier "local_88") (. ".") (field_identifier "_0_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00010c24;" (goto "goto") (statement_identifier "LAB_00010c24") (; ";"))) (goto_statement "goto LAB_00010ce4;" (goto "goto") (statement_identifier "LAB_00010ce4") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_00010a88:\n  if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" (statement_identifier "LAB_00010a88") (: ":") (if_statement "if (local_88._1_1_ == '\0') {\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }\n  else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" (if "if") (parenthesized_expression "(local_88._1_1_ == '\0')" (( "(") (binary_expression "local_88._1_1_ == '\0'" (field_expression "local_88._1_1_" (identifier "local_88") (. ".") (field_identifier "_1_1_")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }\n  }" ({ "{") (labeled_statement "LAB_00010c54:\n    if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" (statement_identifier "LAB_00010c54") (: ":") (if_statement "if (local_88._2_1_ != '\0') {\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" (if "if") (parenthesized_expression "(local_88._2_1_ != '\0')" (( "(") (binary_expression "local_88._2_1_ != '\0'" (field_expression "local_88._2_1_" (identifier "local_88") (. ".") (field_identifier "_2_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar2 = 0;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);\n      goto LAB_00010bbc;\n    }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc)" (( "(") (binary_expression "PTR_00023154 + 0x2bdc" (identifier "PTR_00023154") (+ "+") (number_literal "0x2bdc")) (, ",") (binary_expression "PTR_00023154 + 0x2bcc" (identifier "PTR_00023154") (+ "+") (number_literal "0x2bcc")) () ")"))) (; ";")) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" (else "else") (compound_statement "{\n    if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }\n  }" ({ "{") (if_statement "if (local_88._2_1_ != '\0') {\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }" (if "if") (parenthesized_expression "(local_88._2_1_ != '\0')" (( "(") (binary_expression "local_88._2_1_ != '\0'" (field_expression "local_88._2_1_" (identifier "local_88") (. ".") (field_identifier "_2_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);\n      goto LAB_00010c54;\n    }" ({ "{") (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2b98)" (( "(") (binary_expression "PTR_00023154 + 0x2b98" (identifier "PTR_00023154") (+ "+") (number_literal "0x2b98")) () ")"))) (; ";")) (goto_statement "goto LAB_00010c54;" (goto "goto") (statement_identifier "LAB_00010c54") (; ";")) (} "}"))) (} "}"))))) (if_statement "if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }" (if "if") (parenthesized_expression "((local_8c._2_1_ != '\0') && ((byte)local_8c != 0))" (( "(") (binary_expression "(local_8c._2_1_ != '\0') && ((byte)local_8c != 0)" (parenthesized_expression "(local_8c._2_1_ != '\0')" (( "(") (binary_expression "local_8c._2_1_ != '\0'" (field_expression "local_8c._2_1_" (identifier "local_8c") (. ".") (field_identifier "_2_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((byte)local_8c != 0)" (( "(") (binary_expression "(byte)local_8c != 0" (cast_expression "(byte)local_8c" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_8c")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    iVar2 = 0x1f;\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);\n    goto LAB_00010bbc;\n  }" ({ "{") (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" (identifier "iVar2") (= "=") (number_literal "0x1f")) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2bf0)" (( "(") (binary_expression "PTR_00023154 + 0x2bf0" (identifier "PTR_00023154") (+ "+") (number_literal "0x2bf0")) () ")"))) (; ";")) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";")) (} "}"))) (if_statement "if (local_90._2_1_ == '\0') {\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }\n  else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(local_90._2_1_ == '\0')" (( "(") (binary_expression "local_90._2_1_ == '\0'" (field_expression "local_90._2_1_" (identifier "local_90") (. ".") (field_identifier "_2_1_")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }\n    if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }\n    if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }\nLAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;\n    if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }\n    if (local_70 == 0) goto LAB_00010ea8;\n  }" ({ "{") (if_statement "if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }" (if "if") (parenthesized_expression "((local_90._0_1_ != '\0') || ((byte)local_8c != 0))" (( "(") (binary_expression "(local_90._0_1_ != '\0') || ((byte)local_8c != 0)" (parenthesized_expression "(local_90._0_1_ != '\0')" (( "(") (binary_expression "local_90._0_1_ != '\0'" (field_expression "local_90._0_1_" (identifier "local_90") (. ".") (field_identifier "_0_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "((byte)local_8c != 0)" (( "(") (binary_expression "(byte)local_8c != 0" (cast_expression "(byte)local_8c" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_8c")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      local_8c._2_2_ = (ushort)(byte)local_8c;\n      goto LAB_00010ae8;\n    }" ({ "{") (expression_statement "local_8c._2_2_ = (ushort)(byte)local_8c;" (assignment_expression "local_8c._2_2_ = (ushort)(byte)local_8c" (field_expression "local_8c._2_2_" (identifier "local_8c") (. ".") (field_identifier "_2_2_")) (= "=") (cast_expression "(ushort)(byte)local_8c" (( "(") (type_descriptor "ushort" (type_identifier "ushort")) () ")") (cast_expression "(byte)local_8c" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_8c")))) (; ";")) (goto_statement "goto LAB_00010ae8;" (goto "goto") (statement_identifier "LAB_00010ae8") (; ";")) (} "}"))) (if_statement "if (local_88._0_1_ == '\0') {\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }" (if "if") (parenthesized_expression "(local_88._0_1_ == '\0')" (( "(") (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" (identifier "local_88") (. ".") (field_identifier "_0_1_")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;\n      goto LAB_00010aec;\n    }" ({ "{") (if_statement "if ((local_90 & 0xff) == 0) goto LAB_00010e7c;" (if "if") (parenthesized_expression "((local_90 & 0xff) == 0)" (( "(") (binary_expression "(local_90 & 0xff) == 0" (parenthesized_expression "(local_90 & 0xff)" (( "(") (binary_expression "local_90 & 0xff" (identifier "local_90") (& "&") (number_literal "0xff")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00010e7c;" (goto "goto") (statement_identifier "LAB_00010e7c") (; ";"))) (goto_statement "goto LAB_00010aec;" (goto "goto") (statement_identifier "LAB_00010aec") (; ";")) (} "}"))) (if_statement "if ((local_90 & 0xff) != 0) {\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }" (if "if") (parenthesized_expression "((local_90 & 0xff) != 0)" (( "(") (binary_expression "(local_90 & 0xff) != 0" (parenthesized_expression "(local_90 & 0xff)" (( "(") (binary_expression "local_90 & 0xff" (identifier "local_90") (& "&") (number_literal "0xff")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;\n      goto LAB_00010aec;\n    }" ({ "{") (if_statement "if (local_8c._2_1_ == '\0') goto LAB_00010ae4;" (if "if") (parenthesized_expression "(local_8c._2_1_ == '\0')" (( "(") (binary_expression "local_8c._2_1_ == '\0'" (field_expression "local_8c._2_1_" (identifier "local_8c") (. ".") (field_identifier "_2_1_")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00010ae4;" (goto "goto") (statement_identifier "LAB_00010ae4") (; ";"))) (goto_statement "goto LAB_00010aec;" (goto "goto") (statement_identifier "LAB_00010aec") (; ";")) (} "}"))) (labeled_statement "LAB_00010e7c:\n    if (local_84 != -1) goto LAB_00010aec;" (statement_identifier "LAB_00010e7c") (: ":") (if_statement "if (local_84 != -1) goto LAB_00010aec;" (if "if") (parenthesized_expression "(local_84 != -1)" (( "(") (binary_expression "local_84 != -1" (identifier "local_84") (!= "!=") (number_literal "-1")) () ")")) (goto_statement "goto LAB_00010aec;" (goto "goto") (statement_identifier "LAB_00010aec") (; ";")))) (if_statement "if (local_78 == 0) {\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }" (if "if") (parenthesized_expression "(local_78 == 0)" (( "(") (binary_expression "local_78 == 0" (identifier "local_78") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_8c = CONCAT22(local_8c._0_2_,0x100);\n    }" ({ "{") (expression_statement "local_8c = CONCAT22(local_8c._0_2_,0x100);" (assignment_expression "local_8c = CONCAT22(local_8c._0_2_,0x100)" (identifier "local_8c") (= "=") (call_expression "CONCAT22(local_8c._0_2_,0x100)" (identifier "CONCAT22") (argument_list "(local_8c._0_2_,0x100)" (( "(") (field_expression "local_8c._0_2_" (identifier "local_8c") (. ".") (field_identifier "_0_2_")) (, ",") (number_literal "0x100") () ")")))) (; ";")) (} "}"))) (if_statement "if (local_70 == 0) goto LAB_00010ea8;" (if "if") (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00010ea8;" (goto "goto") (statement_identifier "LAB_00010ea8") (; ";"))) (} "}")) (else_clause "else {\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }\nLAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);\nLAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }\n    if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }\n  }" ({ "{") (if_statement "if (local_90._0_1_ != '\0') {\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }" (if "if") (parenthesized_expression "(local_90._0_1_ != '\0')" (( "(") (binary_expression "local_90._0_1_ != '\0'" (field_expression "local_90._0_1_" (identifier "local_90") (. ".") (field_identifier "_0_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar2 = 0x1f;\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);\n      goto LAB_00010bbc;\n    }" ({ "{") (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" (identifier "iVar2") (= "=") (number_literal "0x1f")) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2c20)" (( "(") (binary_expression "PTR_00023154 + 0x2c20" (identifier "PTR_00023154") (+ "+") (number_literal "0x2c20")) () ")"))) (; ";")) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";")) (} "}"))) (labeled_statement "LAB_00010ae4:\n    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);" (statement_identifier "LAB_00010ae4") (: ":") (expression_statement "local_8c._2_2_ = CONCAT11(1,(byte)local_8c);" (assignment_expression "local_8c._2_2_ = CONCAT11(1,(byte)local_8c)" (field_expression "local_8c._2_2_" (identifier "local_8c") (. ".") (field_identifier "_2_2_")) (= "=") (call_expression "CONCAT11(1,(byte)local_8c)" (identifier "CONCAT11") (argument_list "(1,(byte)local_8c)" (( "(") (number_literal "1") (, ",") (cast_expression "(byte)local_8c" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_8c")) () ")")))) (; ";"))) (labeled_statement "LAB_00010ae8:\nLAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" (statement_identifier "LAB_00010ae8") (: ":") (labeled_statement "LAB_00010aec:\n    if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" (statement_identifier "LAB_00010aec") (: ":") (if_statement "if (local_70 == 0) {\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" (if "if") (parenthesized_expression "(local_70 == 0)" (( "(") (binary_expression "local_70 == 0" (identifier "local_70") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);\n      if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }\n      goto LAB_00010bbc;\n    }" ({ "{") (labeled_statement "LAB_00010ea8:\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);" (statement_identifier "LAB_00010ea8") (: ":") (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2c50)" (( "(") (binary_expression "PTR_00023154 + 0x2c50" (identifier "PTR_00023154") (+ "+") (number_literal "0x2c50")) () ")"))) (; ";"))) (if_statement "if (local_88._0_1_ == '\0') {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }\n      else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" (if "if") (parenthesized_expression "(local_88._0_1_ == '\0')" (( "(") (binary_expression "local_88._0_1_ == '\0'" (field_expression "local_88._0_1_" (identifier "local_88") (. ".") (field_identifier "_0_1_")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);\n      }" ({ "{") (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2490)" (( "(") (binary_expression "PTR_00023154 + 0x2490" (identifier "PTR_00023154") (+ "+") (number_literal "0x2490")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" (else "else") (compound_statement "{\n        iVar2 = 1;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);\n      }" ({ "{") (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x1da4)" (( "(") (binary_expression "PTR_00023154 + 0x1da4" (identifier "PTR_00023154") (+ "+") (number_literal "0x1da4")) () ")"))) (; ";")) (} "}")))) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";")) (} "}"))))) (if_statement "if (-1 < local_84) {\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }" (if "if") (parenthesized_expression "(-1 < local_84)" (( "(") (binary_expression "-1 < local_84" (number_literal "-1") (< "<") (identifier "local_84")) () ")")) (compound_statement "{\n      if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }\n      if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }\n    }" ({ "{") (if_statement "if (local_8c._2_1_ == '\0') {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }" (if "if") (parenthesized_expression "(local_8c._2_1_ == '\0')" (( "(") (binary_expression "local_8c._2_1_ == '\0'" (field_expression "local_8c._2_1_" (identifier "local_8c") (. ".") (field_identifier "_2_1_")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);\n        goto LAB_00010bbc;\n      }" ({ "{") (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" (identifier "iVar2") (= "=") (number_literal "0x1f")) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2c6c)" (( "(") (binary_expression "PTR_00023154 + 0x2c6c" (identifier "PTR_00023154") (+ "+") (number_literal "0x2c6c")) () ")"))) (; ";")) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";")) (} "}"))) (if_statement "if (0 < local_78) {\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }" (if "if") (parenthesized_expression "(0 < local_78)" (( "(") (binary_expression "0 < local_78" (number_literal "0") (< "<") (identifier "local_78")) () ")")) (compound_statement "{\n        iVar2 = 0x1f;\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);\n        goto LAB_00010bbc;\n      }" ({ "{") (expression_statement "iVar2 = 0x1f;" (assignment_expression "iVar2 = 0x1f" (identifier "iVar2") (= "=") (number_literal "0x1f")) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2ca8)" (( "(") (binary_expression "PTR_00023154 + 0x2ca8" (identifier "PTR_00023154") (+ "+") (number_literal "0x2ca8")) () ")"))) (; ";")) (goto_statement "goto LAB_00010bbc;" (goto "goto") (statement_identifier "LAB_00010bbc") (; ";")) (} "}"))) (} "}"))) (} "}")))) (expression_statement "iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);" (assignment_expression "iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74)" (parenthesized_expression "(*(code *)PTR_sg_cmds_open_device_00023178)" (( "(") (pointer_expression "*(code *)PTR_sg_cmds_open_device_00023178" (* "*") (cast_expression "(code *)PTR_sg_cmds_open_device_00023178" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_cmds_open_device_00023178"))) () ")")) (argument_list "(local_70,local_8c._1_1_,local_74)" (( "(") (identifier "local_70") (, ",") (field_expression "local_8c._1_1_" (identifier "local_8c") (. ".") (field_identifier "_1_1_")) (, ",") (identifier "local_74") () ")")))) (; ";")) (expression_statement "iVar2 = local_70;" (assignment_expression "iVar2 = local_70" (identifier "iVar2") (= "=") (identifier "local_70")) (; ";")) (if_statement "if (iVar3 < 0) {\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }\n  else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }\n    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n  }" ({ "{") (if_statement "if (local_74 != 0) {\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }" (if "if") (parenthesized_expression "(local_74 != 0)" (( "(") (binary_expression "local_74 != 0" (identifier "local_74") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);\n    }" ({ "{") (expression_statement "uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);" (assignment_expression "uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_safe_strerror_00023188)(-iVar3)" (parenthesized_expression "(*(code *)PTR_safe_strerror_00023188)" (( "(") (pointer_expression "*(code *)PTR_safe_strerror_00023188" (* "*") (cast_expression "(code *)PTR_safe_strerror_00023188" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safe_strerror_00023188"))) () ")")) (argument_list "(-iVar3)" (( "(") (unary_expression "-iVar3" (- "-") (identifier "iVar3")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2ce8,iVar2,uVar4)" (( "(") (binary_expression "PTR_00023154 + 0x2ce8" (identifier "PTR_00023154") (+ "+") (number_literal "0x2ce8")) (, ",") (identifier "iVar2") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);" (assignment_expression "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_00023190)" (( "(") (pointer_expression "*(code *)PTR_sg_convert_errno_00023190" (* "*") (cast_expression "(code *)PTR_sg_convert_errno_00023190" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_convert_errno_00023190"))) () ")")) (argument_list "(-iVar3)" (( "(") (unary_expression "-iVar3" (- "-") (identifier "iVar3")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }" (else "else") (compound_statement "{\n    if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }\n    if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }\n  }" ({ "{") (if_statement "if (local_84 < 0) {\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }\n    else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }" (if "if") (parenthesized_expression "(local_84 < 0)" (( "(") (binary_expression "local_84 < 0" (identifier "local_84") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      local_b0 = local_8c >> 0x18;\n      if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }\n    }" ({ "{") (expression_statement "local_b0 = local_8c >> 0x18;" (assignment_expression "local_b0 = local_8c >> 0x18" (identifier "local_b0") (= "=") (binary_expression "local_8c >> 0x18" (identifier "local_8c") (>> ">>") (number_literal "0x18"))) (; ";")) (if_statement "if (local_78 < 1) {\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }\n      else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }" (if "if") (parenthesized_expression "(local_78 < 1)" (( "(") (binary_expression "local_78 < 1" (identifier "local_78") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n        local_a8 = local_8c >> 8 & 0xff;\n        local_ac = local_90 & 0xff;\n        local_a0 = local_74;\n        local_a4 = 1;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);\n      }" ({ "{") (expression_statement "local_a8 = local_8c >> 8 & 0xff;" (assignment_expression "local_a8 = local_8c >> 8 & 0xff" (identifier "local_a8") (= "=") (binary_expression "local_8c >> 8 & 0xff" (binary_expression "local_8c >> 8" (identifier "local_8c") (>> ">>") (number_literal "8")) (& "&") (number_literal "0xff"))) (; ";")) (expression_statement "local_ac = local_90 & 0xff;" (assignment_expression "local_ac = local_90 & 0xff" (identifier "local_ac") (= "=") (binary_expression "local_90 & 0xff" (identifier "local_90") (& "&") (number_literal "0xff"))) (; ";")) (expression_statement "local_a0 = local_74;" (assignment_expression "local_a0 = local_74" (identifier "local_a0") (= "=") (identifier "local_74")) (; ";")) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" (identifier "local_a4") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);" (assignment_expression "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" (( "(") (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" (* "*") (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_ll_start_stop_unit_0002318c"))) () ")")) (argument_list "(iVar3,local_90._1_1_,0,0)" (( "(") (identifier "iVar3") (, ",") (field_expression "local_90._1_1_" (identifier "local_90") (. ".") (field_identifier "_1_1_")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")) (else_clause "else {\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }" (else "else") (compound_statement "{\n        local_a0 = local_74;\n        local_a8 = 0;\n        local_a4 = 1;\n        local_ac = 0;\n        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);\n      }" ({ "{") (expression_statement "local_a0 = local_74;" (assignment_expression "local_a0 = local_74" (identifier "local_a0") (= "=") (identifier "local_74")) (; ";")) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" (identifier "local_a8") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" (identifier "local_a4") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_ac = 0;" (assignment_expression "local_ac = 0" (identifier "local_ac") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);" (assignment_expression "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" (( "(") (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" (* "*") (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_ll_start_stop_unit_0002318c"))) () ")")) (argument_list "(iVar3,local_90._1_1_,local_7c)" (( "(") (identifier "iVar3") (, ",") (field_expression "local_90._1_1_" (identifier "local_90") (. ".") (field_identifier "_1_1_")) (, ",") (identifier "local_7c") () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }" (else "else") (compound_statement "{\n      local_a0 = local_74;\n      local_a4 = 1;\n      local_a8 = 1;\n      local_ac = 1;\n      local_b0 = 1;\n      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);\n    }" ({ "{") (expression_statement "local_a0 = local_74;" (assignment_expression "local_a0 = local_74" (identifier "local_a0") (= "=") (identifier "local_74")) (; ";")) (expression_statement "local_a4 = 1;" (assignment_expression "local_a4 = 1" (identifier "local_a4") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_a8 = 1;" (assignment_expression "local_a8 = 1" (identifier "local_a8") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_ac = 1;" (assignment_expression "local_ac = 1" (identifier "local_ac") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" (identifier "local_b0") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);" (assignment_expression "iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0)" (parenthesized_expression "(*(code *)PTR_sg_ll_start_stop_unit_0002318c)" (( "(") (pointer_expression "*(code *)PTR_sg_ll_start_stop_unit_0002318c" (* "*") (cast_expression "(code *)PTR_sg_ll_start_stop_unit_0002318c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_ll_start_stop_unit_0002318c"))) () ")")) (argument_list "(iVar3,local_90._1_1_,local_84,0)" (( "(") (identifier "iVar3") (, ",") (field_expression "local_90._1_1_" (identifier "local_90") (. ".") (field_identifier "_1_1_")) (, ",") (identifier "local_84") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar2 == 0) {\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }\n    else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n      if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }\n    }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);" (assignment_expression "iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)" (( "(") (pointer_expression "*(code *)PTR_sg_cmds_close_device_000231bc" (* "*") (cast_expression "(code *)PTR_sg_cmds_close_device_000231bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_cmds_close_device_000231bc"))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (if_statement "if (iVar3 < 0) {\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);\n      }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);" (assignment_expression "iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_sg_convert_errno_00023190)(-iVar3)" (parenthesized_expression "(*(code *)PTR_sg_convert_errno_00023190)" (( "(") (pointer_expression "*(code *)PTR_sg_convert_errno_00023190" (* "*") (cast_expression "(code *)PTR_sg_convert_errno_00023190" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_convert_errno_00023190"))) () ")")) (argument_list "(-iVar3)" (( "(") (unary_expression "-iVar3" (- "-") (identifier "iVar3")) () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }" (else "else") (compound_statement "{\n      if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }\n      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);\n      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);\n    }" ({ "{") (if_statement "if (local_74 < 2) {\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }" (if "if") (parenthesized_expression "(local_74 < 2)" (( "(") (binary_expression "local_74 < 2" (identifier "local_74") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);\n        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);\n      }" ({ "{") (expression_statement "(*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);" (call_expression "(*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c)" (parenthesized_expression "(*(code *)PTR_sg_get_category_sense_str_00023184)" (( "(") (pointer_expression "*(code *)PTR_sg_get_category_sense_str_00023184" (* "*") (cast_expression "(code *)PTR_sg_get_category_sense_str_00023184" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_get_category_sense_str_00023184"))) () ")")) (argument_list "(iVar2,0x50,auStack_6c)" (( "(") (identifier "iVar2") (, ",") (number_literal "0x50") (, ",") (identifier "auStack_6c") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2bec,auStack_6c)" (( "(") (binary_expression "PTR_00023154 + 0x2bec" (identifier "PTR_00023154") (+ "+") (number_literal "0x2bec")) (, ",") (identifier "auStack_6c") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2d08)" (( "(") (binary_expression "PTR_00023154 + 0x2d08" (identifier "PTR_00023154") (+ "+") (number_literal "0x2d08")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);" (call_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3)" (parenthesized_expression "(*(code *)PTR_sg_cmds_close_device_000231bc)" (( "(") (pointer_expression "*(code *)PTR_sg_cmds_close_device_000231bc" (* "*") (cast_expression "(code *)PTR_sg_cmds_close_device_000231bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_cmds_close_device_000231bc"))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (} "}")))) (} "}")))) (if_statement "if ((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }" (if "if") (parenthesized_expression "((local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0))" (( "(") (binary_expression "(local_74 == 0) &&\n     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)" (parenthesized_expression "(local_74 == 0)" (( "(") (binary_expression "local_74 == 0" (identifier "local_74") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)" (( "(") (comma_expression "iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0" (assignment_expression "iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2)" (parenthesized_expression "(*(code *)PTR_sg_if_can2stderr_00023198)" (( "(") (pointer_expression "*(code *)PTR_sg_if_can2stderr_00023198" (* "*") (cast_expression "(code *)PTR_sg_if_can2stderr_00023198" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sg_if_can2stderr_00023198"))) () ")")) (argument_list "(PTR_00023154 + 0x2d28,iVar2)" (( "(") (binary_expression "PTR_00023154 + 0x2d28" (identifier "PTR_00023154") (+ "+") (number_literal "0x2d28")) (, ",") (identifier "iVar2") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);\n  }" ({ "{") (expression_statement "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);" (call_expression "(*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c)" (parenthesized_expression "(*(code *)PTR_pr2serr_000231b0)" (( "(") (pointer_expression "*(code *)PTR_pr2serr_000231b0" (* "*") (cast_expression "(code *)PTR_pr2serr_000231b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pr2serr_000231b0"))) () ")")) (argument_list "(PTR_00023154 + 0x2d3c)" (( "(") (binary_expression "PTR_00023154 + 0x2d3c" (identifier "PTR_00023154") (+ "+") (number_literal "0x2d3c")) () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar2 < 0) {\n    iVar2 = 99;\n  }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = 99;\n  }" ({ "{") (expression_statement "iVar2 = 99;" (assignment_expression "iVar2 = 99" (identifier "iVar2") (= "=") (number_literal "99")) (; ";")) (} "}"))) (labeled_statement "LAB_00010bbc:\n  if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }" (statement_identifier "LAB_00010bbc") (: ":") (if_statement "if (local_1c != *(int *)puVar1) {\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }" (if "if") (parenthesized_expression "(local_1c != *(int *)puVar1)" (( "(") (binary_expression "local_1c != *(int *)puVar1" (identifier "local_1c") (!= "!=") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();\n    puStack_c8 = auStack_e0;\n    puStack_d0 = PTR___libc_csu_fini_00023140;\n    (*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);\n    do {\n                    \n    } while( true );\n  }" ({ "{") (expression_statement "uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();" (assignment_expression "uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)()" (identifier "uStack_cc") (= "=") (call_expression "(*(code *)PTR___stack_chk_fail_000231b4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000231b4)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000231b4" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000231b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000231b4"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puStack_c8 = auStack_e0;" (assignment_expression "puStack_c8 = auStack_e0" (identifier "puStack_c8") (= "=") (identifier "auStack_e0")) (; ";")) (expression_statement "puStack_d0 = PTR___libc_csu_fini_00023140;" (assignment_expression "puStack_d0 = PTR___libc_csu_fini_00023140" (identifier "puStack_d0") (= "=") (identifier "PTR___libc_csu_fini_00023140")) (; ";")) (expression_statement "(*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);" (call_expression "(*(code *)PTR___libc_start_main_0002319c)\n              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c)" (parenthesized_expression "(*(code *)PTR___libc_start_main_0002319c)" (( "(") (pointer_expression "*(code *)PTR___libc_start_main_0002319c" (* "*") (cast_expression "(code *)PTR___libc_start_main_0002319c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___libc_start_main_0002319c"))) () ")")) (argument_list "(PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c)" (( "(") (identifier "PTR_main_00023138") (, ",") (identifier "uStack_c0") (, ",") (identifier "auStack_bc") (, ",") (identifier "PTR___libc_csu_init_0002313c") () ")"))) (; ";")) (do_statement "do {\n                    \n    } while( true );" (do "do") (compound_statement "{\n                    \n    }" ({ "{") (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

int function_1(int argc,char **argv)

{
  type_1 *puVar1;
  char *pcVar2;
  int var_7;
  int var_2;
  int var_6;
  type_2 uVar6;
  type_3 auStack_e0 [16];
  type_1 *puStack_d0;
  type_2 uStack_cc;
  type_3 *puStack_c8;
  type_2 uStack_c0;
  type_3 auStack_bc [12];
  type_4 local_b0;
  type_4 local_ac;
  type_4 local_a8;
  type_2 local_a4;
  int local_a0;
  type_5 opts;
  char b [80];
  
  puVar1 = PTR___stack_chk_guard_000231c0;
  opts.do_eject = false;
  opts.do_immed = false;
  opts.do_load = false;
  opts.do_loej = false;
  opts.do_noflush = false;
  opts.do_readonly = false;
  opts.do_start = false;
  opts.do_stop = false;
  opts.opt_new = false;
  opts.verbose_given = false;
  opts.version_given = false;
  opts._11_1_ = 0;
  opts.do_fl = -1;
  opts.do_help = 0;
  opts.do_mod = 0;
  opts.do_pc = 0;
  opts.verbose = 0;
  opts.device_name = (char *)0x0;
  var_7 = *(int *)PTR___stack_chk_guard_000231c0;
  var_2 = (*(type_6 *)PTR_getenv_000231ac)(var_1 + 0x2b84);
  if (var_2 == 0) {
    opts.opt_new = true;
    var_2 = var_3(&opts,argc,argv);
    if (var_2 != 0) goto LAB_00010bbc;
    if (opts.opt_new == false) {
      var_2 = var_4(&opts,argc,argv);
      goto LAB_00010cc4;
    }
    if (opts.do_help == 0) goto LAB_00010a88;
LAB_00010c24:
    var_2 = 0;
    (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x1da4);
    goto LAB_00010bbc;
  }
  opts._8_4_ = opts._8_4_ & 0xffffff;
  var_2 = var_4(&opts,argc,argv);
  if (var_2 != 0) goto LAB_00010bbc;
  if (opts.opt_new == false) {
    if (opts.do_help != 0) {
LAB_00010ce4:
      var_2 = 0;
      (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2490);
      goto LAB_00010bbc;
    }
  }
  else {
    var_2 = var_3(&opts,argc,argv);
LAB_00010cc4:
    if (var_2 != 0) goto LAB_00010bbc;
    if (opts.do_help != 0) {
      if (opts.opt_new != false) goto LAB_00010c24;
      goto LAB_00010ce4;
    }
  }
LAB_00010a88:
  if (opts.verbose_given == false) {
LAB_00010c54:
    if (opts.version_given != false) {
      var_2 = 0;
      (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2bdc,var_1 + 0x2bcc);
      goto LAB_00010bbc;
    }
  }
  else {
    if (opts.version_given != false) {
      (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2b98);
      goto LAB_00010c54;
    }
  }
  if ((opts.do_start != false) && (opts.do_stop != false)) {
    var_2 = 0x1f;
    (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2bf0);
    goto LAB_00010bbc;
  }
  if (opts.do_load == false) {
    if ((opts.do_eject != false) || (opts.do_stop != false)) {
      opts.do_start = false;
      goto LAB_00010ae8;
    }
    if (opts.opt_new == false) {
      if ((opts._0_4_ & 0xff) == 0) goto LAB_00010e7c;
      goto LAB_00010aec;
    }
    if ((opts._0_4_ & 0xff) != 0) {
      if (opts.do_start == false) goto LAB_00010ae4;
      goto LAB_00010aec;
    }
LAB_00010e7c:
    if (opts.do_fl != -1) goto LAB_00010aec;
    if (opts.do_pc == 0) {
      opts.do_start = true;
      opts.do_stop = false;
    }
    if (opts.device_name == (char *)0x0) goto LAB_00010ea8;
  }
  else {
    if (opts.do_eject != false) {
      var_2 = 0x1f;
      (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2c20);
      goto LAB_00010bbc;
    }
LAB_00010ae4:
    opts.do_start = true;
LAB_00010ae8:
    opts.do_start = var_5(opts._6_2_,1);
    opts.do_stop = var_5(opts._6_2_,0);
LAB_00010aec:
    if (opts.device_name == (char *)0x0) {
LAB_00010ea8:
      (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2c50);
      if (opts.opt_new == false) {
        var_2 = 1;
        (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2490);
      }
      else {
        var_2 = 1;
        (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x1da4);
      }
      goto LAB_00010bbc;
    }
    if (-1 < opts.do_fl) {
      if (opts.do_start == false) {
        var_2 = 0x1f;
        (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2c6c);
        goto LAB_00010bbc;
      }
      if (0 < opts.do_pc) {
        var_2 = 0x1f;
        (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2ca8);
        goto LAB_00010bbc;
      }
    }
  }
  var_6 = (*(type_6 *)PTR_sg_cmds_open_device_00023178)
                    (opts.device_name,opts.do_readonly,opts.verbose);
  pcVar2 = opts.device_name;
  if (var_6 < 0) {
    if (opts.verbose != 0) {
      uVar6 = (*(type_6 *)PTR_safe_strerror_00023188)(-var_6);
      (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2ce8,pcVar2,uVar6);
    }
    var_2 = (*(type_6 *)PTR_sg_convert_errno_00023190)(-var_6);
  }
  else {
    if (opts.do_fl < 0) {
      local_b0 = (type_4)opts._4_4_ >> 0x18;
      if (opts.do_pc < 1) {
        local_a8 = (type_4)opts._4_4_ >> 8 & 0xff;
        local_ac = opts._0_4_ & 0xff;
        local_a0 = opts.verbose;
        local_a4 = 1;
        var_2 = (*(type_6 *)PTR_sg_ll_start_stop_unit_0002318c)(var_6,opts.do_immed,0,0);
      }
      else {
        local_a0 = opts.verbose;
        local_a8 = 0;
        local_a4 = 1;
        local_ac = 0;
        var_2 = (*(type_6 *)PTR_sg_ll_start_stop_unit_0002318c)(var_6,opts.do_immed,opts.do_mod);
      }
    }
    else {
      local_a0 = opts.verbose;
      local_a4 = 1;
      local_a8 = 1;
      local_ac = 1;
      local_b0 = 1;
      var_2 = (*(type_6 *)PTR_sg_ll_start_stop_unit_0002318c)(var_6,opts.do_immed,opts.do_fl,0);
    }
    if (var_2 == 0) {
      var_6 = (*(type_6 *)PTR_sg_cmds_close_device_000231bc)(var_6);
      if (var_6 < 0) {
        var_2 = (*(type_6 *)PTR_sg_convert_errno_00023190)(-var_6);
      }
    }
    else {
      if (opts.verbose < 2) {
        (*(type_6 *)PTR_sg_get_category_sense_str_00023184)(var_2,0x50,b);
        (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2bec,b);
      }
      (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2d08);
      (*(type_6 *)PTR_sg_cmds_close_device_000231bc)(var_6);
    }
  }
  if ((opts.verbose == 0) &&
     (var_6 = (*(type_6 *)PTR_sg_if_can2stderr_00023198)(var_1 + 0x2d28,var_2), var_6 == 0)) {
    (*(type_6 *)PTR_pr2serr_000231b0)(var_1 + 0x2d3c);
  }
  if (var_2 < 0) {
    var_2 = 99;
  }
LAB_00010bbc:
  if (var_7 != *(int *)puVar1) {
    uStack_cc = (*(type_6 *)PTR___stack_chk_fail_000231b4)();
    puStack_c8 = auStack_e0;
    puStack_d0 = PTR___libc_csu_fini_00023140;
    (*(type_6 *)PTR___libc_start_main_0002319c)
              (PTR_main_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);
    do {
                    /* WARNING: Do nothing block with infinite loop */
    } while( true );
  }
  return var_2;
}


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

int MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined1 auStack_e0 [16];
  undefined *puStack_d0;
  undefined4 uStack_cc;
  undefined1 *puStack_c8;
  undefined4 uStack_c0;
  undefined1 auStack_bc [12];
  uint local_b0;
  uint local_ac;
  uint local_a8;
  undefined4 local_a4;
  int local_a0;
  undefined4 local_90;
  undefined4 local_8c;
  undefined4 local_88;
  int local_84;
  int local_80;
  undefined4 local_7c;
  int local_78;
  int local_74;
  int local_70;
  undefined1 auStack_6c [80];
  int local_1c;
  
  puVar1 = PTR___stack_chk_guard_000231c0;
  local_90 = 0;
  local_8c = 0;
  local_88 = 0;
  local_84 = -1;
  local_80 = 0;
  local_7c = 0;
  local_78 = 0;
  local_74 = 0;
  local_70 = 0;
  local_1c = *(int *)PTR___stack_chk_guard_000231c0;
  iVar2 = (*(code *)PTR_getenv_000231ac)(PTR_00023154 + 0x2b84);
  if (iVar2 == 0) {
    local_88 = CONCAT13(1,local_88._1_3_);
    iVar2 = FUN_00011150(&local_90,param_1,param_2);
    if (iVar2 != 0) goto LAB_00010bbc;
    if (local_88._0_1_ == '\0') {
      iVar2 = FUN_00011504(&local_90,param_1,param_2);
      goto LAB_00010cc4;
    }
    if (local_80 == 0) goto LAB_00010a88;
LAB_00010c24:
    iVar2 = 0;
    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);
    goto LAB_00010bbc;
  }
  local_88 = local_88 & 0xffffff;
  iVar2 = FUN_00011504(&local_90);
  if (iVar2 != 0) goto LAB_00010bbc;
  if (local_88._0_1_ == '\0') {
    if (local_80 != 0) {
LAB_00010ce4:
      iVar2 = 0;
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);
      goto LAB_00010bbc;
    }
  }
  else {
    iVar2 = FUN_00011150(&local_90,param_1,param_2);
LAB_00010cc4:
    if (iVar2 != 0) goto LAB_00010bbc;
    if (local_80 != 0) {
      if (local_88._0_1_ != '\0') goto LAB_00010c24;
      goto LAB_00010ce4;
    }
  }
LAB_00010a88:
  if (local_88._1_1_ == '\0') {
LAB_00010c54:
    if (local_88._2_1_ != '\0') {
      iVar2 = 0;
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bdc,PTR_00023154 + 0x2bcc);
      goto LAB_00010bbc;
    }
  }
  else {
    if (local_88._2_1_ != '\0') {
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2b98);
      goto LAB_00010c54;
    }
  }
  if ((local_8c._2_1_ != '\0') && ((byte)local_8c != 0)) {
    iVar2 = 0x1f;
    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bf0);
    goto LAB_00010bbc;
  }
  if (local_90._2_1_ == '\0') {
    if ((local_90._0_1_ != '\0') || ((byte)local_8c != 0)) {
      local_8c._2_2_ = (ushort)(byte)local_8c;
      goto LAB_00010ae8;
    }
    if (local_88._0_1_ == '\0') {
      if ((local_90 & 0xff) == 0) goto LAB_00010e7c;
      goto LAB_00010aec;
    }
    if ((local_90 & 0xff) != 0) {
      if (local_8c._2_1_ == '\0') goto LAB_00010ae4;
      goto LAB_00010aec;
    }
LAB_00010e7c:
    if (local_84 != -1) goto LAB_00010aec;
    if (local_78 == 0) {
      local_8c = CONCAT22(local_8c._0_2_,0x100);
    }
    if (local_70 == 0) goto LAB_00010ea8;
  }
  else {
    if (local_90._0_1_ != '\0') {
      iVar2 = 0x1f;
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c20);
      goto LAB_00010bbc;
    }
LAB_00010ae4:
    local_8c._2_2_ = CONCAT11(1,(byte)local_8c);
LAB_00010ae8:
LAB_00010aec:
    if (local_70 == 0) {
LAB_00010ea8:
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c50);
      if (local_88._0_1_ == '\0') {
        iVar2 = 1;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2490);
      }
      else {
        iVar2 = 1;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x1da4);
      }
      goto LAB_00010bbc;
    }
    if (-1 < local_84) {
      if (local_8c._2_1_ == '\0') {
        iVar2 = 0x1f;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2c6c);
        goto LAB_00010bbc;
      }
      if (0 < local_78) {
        iVar2 = 0x1f;
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ca8);
        goto LAB_00010bbc;
      }
    }
  }
  iVar3 = (*(code *)PTR_sg_cmds_open_device_00023178)(local_70,local_8c._1_1_,local_74);
  iVar2 = local_70;
  if (iVar3 < 0) {
    if (local_74 != 0) {
      uVar4 = (*(code *)PTR_safe_strerror_00023188)(-iVar3);
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2ce8,iVar2,uVar4);
    }
    iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);
  }
  else {
    if (local_84 < 0) {
      local_b0 = local_8c >> 0x18;
      if (local_78 < 1) {
        local_a8 = local_8c >> 8 & 0xff;
        local_ac = local_90 & 0xff;
        local_a0 = local_74;
        local_a4 = 1;
        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,0,0);
      }
      else {
        local_a0 = local_74;
        local_a8 = 0;
        local_a4 = 1;
        local_ac = 0;
        iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_7c);
      }
    }
    else {
      local_a0 = local_74;
      local_a4 = 1;
      local_a8 = 1;
      local_ac = 1;
      local_b0 = 1;
      iVar2 = (*(code *)PTR_sg_ll_start_stop_unit_0002318c)(iVar3,local_90._1_1_,local_84,0);
    }
    if (iVar2 == 0) {
      iVar3 = (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);
      if (iVar3 < 0) {
        iVar2 = (*(code *)PTR_sg_convert_errno_00023190)(-iVar3);
      }
    }
    else {
      if (local_74 < 2) {
        (*(code *)PTR_sg_get_category_sense_str_00023184)(iVar2,0x50,auStack_6c);
        (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2bec,auStack_6c);
      }
      (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d08);
      (*(code *)PTR_sg_cmds_close_device_000231bc)(iVar3);
    }
  }
  if ((local_74 == 0) &&
     (iVar3 = (*(code *)PTR_sg_if_can2stderr_00023198)(PTR_00023154 + 0x2d28,iVar2), iVar3 == 0)) {
    (*(code *)PTR_pr2serr_000231b0)(PTR_00023154 + 0x2d3c);
  }
  if (iVar2 < 0) {
    iVar2 = 99;
  }
LAB_00010bbc:
  if (local_1c != *(int *)puVar1) {
    uStack_cc = (*(code *)PTR___stack_chk_fail_000231b4)();
    puStack_c8 = auStack_e0;
    puStack_d0 = PTR___libc_csu_fini_00023140;
    (*(code *)PTR___libc_start_MASKED_0002319c)
              (PTR_MASKED_00023138,uStack_c0,auStack_bc,PTR___libc_csu_init_0002313c);
    do {
                    /* WARNING: Do nothing block with infinite loop */
    } while( true );
  }
  return iVar2;
}

